Explorar o código

Fixes #679 - Non-existing method getRequired() in Zend_Form-Elements docs

Frank Brückner %!s(int64=9) %!d(string=hai) anos
pai
achega
210190dab5

+ 2 - 2
documentation/manual/de/module_specs/Zend_Form-Elements.xml

@@ -1171,7 +1171,7 @@ echo $element->renderHtmlTag("Das ist der Inhalt des HTML Tags");
                     <emphasis>required</emphasis>: Ein Flag, das anzeigt ob ein Element benötigt
                     wird wenn eine Prüfung des Formulars durchgeführt wird, oder nicht. Verwendet
                     die Zugriffsmethoden <methodname>setRequired()</methodname> und
-                    <methodname>getRequired()</methodname>. Dieses Flag ist standardmäßig
+                    <methodname>isRequired()</methodname>. Dieses Flag ist standardmäßig
                     <constant>FALSE</constant>.
                 </para>
             </listitem>
@@ -1330,7 +1330,7 @@ $element->class = 'text;
                     <listitem><para><methodname>setOrder($order)</methodname></para></listitem>
                     <listitem><para><methodname>getOrder()</methodname></para></listitem>
                     <listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
-                    <listitem><para><methodname>getRequired()</methodname></para></listitem>
+                    <listitem><para><methodname>isRequired()</methodname></para></listitem>
                     <listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
                     <listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Form-Elements.xml

@@ -1194,7 +1194,7 @@ echo $element->renderHtmlTag("This is the html tag content");
                     <emphasis>required</emphasis>: flag indicating whether or not
                     the element is required when performing form validation. Uses
                     the <methodname>setRequired()</methodname> and
-                    <methodname>getRequired()</methodname> accessors. This flag is
+                    <methodname>isRequired()</methodname> accessors. This flag is
                     <constant>FALSE</constant> by default.
                 </para>
             </listitem>
@@ -1353,7 +1353,7 @@ $element->class = 'text;
                     <listitem><para><methodname>setOrder($order)</methodname></para></listitem>
                     <listitem><para><methodname>getOrder()</methodname></para></listitem>
                     <listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
-                    <listitem><para><methodname>getRequired()</methodname></para></listitem>
+                    <listitem><para><methodname>isRequired()</methodname></para></listitem>
                     <listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
                     <listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
 

+ 2 - 2
documentation/manual/es/module_specs/Zend_Form-Elements.xml

@@ -1088,7 +1088,7 @@ echo $element->renderHtmlTag("This is the html tag content");
                     elemento es requerido o no cuando se efectúa la validación
                     del formulario. Emplea los métodos de acceso
                         <methodname>setRequired()</methodname> y
-                        <methodname>getRequired()</methodname> . Esta bandera es
+                        <methodname>isRequired()</methodname> . Esta bandera es
                         <constant>FALSE</constant> por defecto. </para>
             </listitem>
 
@@ -1292,7 +1292,7 @@ $element->class = 'text;
                     </listitem>
                     <listitem>
                         <para>
-                            <methodname>getRequired()</methodname>
+                            <methodname>isRequired()</methodname>
                         </para>
                     </listitem>
                     <listitem>

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Form-Elements.xml

@@ -1101,7 +1101,7 @@ echo $element->renderHtmlTag("This is the html tag content");
             <listitem><para>
                 <emphasis>required</emphasis>:
                 バリデーション時にその要素を必須とみなすかどうか。
-                <code>setRequired()</code> および <code>getRequired()</code>
+                <code>setRequired()</code> および <code>isRequired()</code>
                 でアクセスします。このフラグはデフォルトでは <constant>FALSE</constant> です。
             </para></listitem>
 
@@ -1217,7 +1217,7 @@ $element->class = 'text;
                     <listitem><para><methodname>setOrder($order)</methodname></para></listitem>
                     <listitem><para><methodname>getOrder()</methodname></para></listitem>
                     <listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
-                    <listitem><para><methodname>getRequired()</methodname></para></listitem>
+                    <listitem><para><methodname>isRequired()</methodname></para></listitem>
                     <listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
                     <listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
                     <listitem><para><methodname>setAutoInsertNotEmptyValidator($flag)</methodname></para></listitem>

+ 2 - 2
documentation/manual/pl/module_specs/Zend_Form-Elements.xml

@@ -1047,7 +1047,7 @@ $fooBar  = $element->getDecorator('FooBar');
             <listitem><para>
                 <emphasis>required</emphasis>: flag indicating whether or not
                 the element is required when performing form validation. Uses
-                the <code>setRequired()</code> and <code>getRequired()</code>
+                the <code>setRequired()</code> and <code>isRequired()</code>
                 accessors. This flag is false by default.
             </para></listitem>
 
@@ -1166,7 +1166,7 @@ $element->class = 'text;
                     <listitem><para><code>setOrder($order)</code></para></listitem>
                     <listitem><para><code>getOrder()</code></para></listitem>
                     <listitem><para><code>setRequired($flag)</code></para></listitem>
-                    <listitem><para><code>getRequired()</code></para></listitem>
+                    <listitem><para><code>isRequired()</code></para></listitem>
                     <listitem><para><code>setAllowEmpty($flag)</code></para></listitem>
                     <listitem><para><code>getAllowEmpty()</code></para></listitem>
                     <listitem><para><code>setAutoInsertNotEmptyValidator($flag)</code></para></listitem>

+ 2 - 2
documentation/manual/zh/module_specs/Zend_Form-Elements.xml

@@ -784,7 +784,7 @@ $fooBar  = $element->getDecorator('FooBar');
             </para></listitem>
 
             <listitem><para>
-                <emphasis>required</emphasis>: 当执行表单校验时,指示元素是否必需的标志,使用 <code>setRequired()</code> 和 <code>getRequired()</code> 访问器,缺省为 false。
+                <emphasis>required</emphasis>: 当执行表单校验时,指示元素是否必需的标志,使用 <code>setRequired()</code> 和 <code>isRequired()</code> 访问器,缺省为 false。
             </para></listitem>
 
             <listitem><para>
@@ -878,7 +878,7 @@ $element->class = 'text;
                     <listitem><para><code>setOrder($order)</code></para></listitem>
                     <listitem><para><code>getOrder()</code></para></listitem>
                     <listitem><para><code>setRequired($flag)</code></para></listitem>
-                    <listitem><para><code>getRequired()</code></para></listitem>
+                    <listitem><para><code>isRequired()</code></para></listitem>
                     <listitem><para><code>setAllowEmpty($flag)</code></para></listitem>
                     <listitem><para><code>getAllowEmpty()</code></para></listitem>
                     <listitem><para><code>setAutoInsertNotEmptyValidator($flag)</code></para></listitem>