Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 210190d

Browse files
committed
Fixes zendframework#679 - Non-existing method getRequired() in Zend_Form-Elements docs
1 parent ba3e6fa commit 210190d

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ echo $element->renderHtmlTag("Das ist der Inhalt des HTML Tags");
11711171
<emphasis>required</emphasis>: Ein Flag, das anzeigt ob ein Element benötigt
11721172
wird wenn eine Prüfung des Formulars durchgeführt wird, oder nicht. Verwendet
11731173
die Zugriffsmethoden <methodname>setRequired()</methodname> und
1174-
<methodname>getRequired()</methodname>. Dieses Flag ist standardmäßig
1174+
<methodname>isRequired()</methodname>. Dieses Flag ist standardmäßig
11751175
<constant>FALSE</constant>.
11761176
</para>
11771177
</listitem>
@@ -1330,7 +1330,7 @@ $element->class = 'text;
13301330
<listitem><para><methodname>setOrder($order)</methodname></para></listitem>
13311331
<listitem><para><methodname>getOrder()</methodname></para></listitem>
13321332
<listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
1333-
<listitem><para><methodname>getRequired()</methodname></para></listitem>
1333+
<listitem><para><methodname>isRequired()</methodname></para></listitem>
13341334
<listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
13351335
<listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
13361336

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ echo $element->renderHtmlTag("This is the html tag content");
11941194
<emphasis>required</emphasis>: flag indicating whether or not
11951195
the element is required when performing form validation. Uses
11961196
the <methodname>setRequired()</methodname> and
1197-
<methodname>getRequired()</methodname> accessors. This flag is
1197+
<methodname>isRequired()</methodname> accessors. This flag is
11981198
<constant>FALSE</constant> by default.
11991199
</para>
12001200
</listitem>
@@ -1353,7 +1353,7 @@ $element->class = 'text;
13531353
<listitem><para><methodname>setOrder($order)</methodname></para></listitem>
13541354
<listitem><para><methodname>getOrder()</methodname></para></listitem>
13551355
<listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
1356-
<listitem><para><methodname>getRequired()</methodname></para></listitem>
1356+
<listitem><para><methodname>isRequired()</methodname></para></listitem>
13571357
<listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
13581358
<listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
13591359

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ echo $element->renderHtmlTag("This is the html tag content");
10881088
elemento es requerido o no cuando se efectúa la validación
10891089
del formulario. Emplea los métodos de acceso
10901090
<methodname>setRequired()</methodname> y
1091-
<methodname>getRequired()</methodname> . Esta bandera es
1091+
<methodname>isRequired()</methodname> . Esta bandera es
10921092
<constant>FALSE</constant> por defecto. </para>
10931093
</listitem>
10941094

@@ -1292,7 +1292,7 @@ $element->class = 'text;
12921292
</listitem>
12931293
<listitem>
12941294
<para>
1295-
<methodname>getRequired()</methodname>
1295+
<methodname>isRequired()</methodname>
12961296
</para>
12971297
</listitem>
12981298
<listitem>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ echo $element->renderHtmlTag("This is the html tag content");
11011101
<listitem><para>
11021102
<emphasis>required</emphasis>:
11031103
バリデーション時にその要素を必須とみなすかどうか。
1104-
<code>setRequired()</code> および <code>getRequired()</code>
1104+
<code>setRequired()</code> および <code>isRequired()</code>
11051105
でアクセスします。このフラグはデフォルトでは <constant>FALSE</constant> です。
11061106
</para></listitem>
11071107

@@ -1217,7 +1217,7 @@ $element->class = 'text;
12171217
<listitem><para><methodname>setOrder($order)</methodname></para></listitem>
12181218
<listitem><para><methodname>getOrder()</methodname></para></listitem>
12191219
<listitem><para><methodname>setRequired($flag)</methodname></para></listitem>
1220-
<listitem><para><methodname>getRequired()</methodname></para></listitem>
1220+
<listitem><para><methodname>isRequired()</methodname></para></listitem>
12211221
<listitem><para><methodname>setAllowEmpty($flag)</methodname></para></listitem>
12221222
<listitem><para><methodname>getAllowEmpty()</methodname></para></listitem>
12231223
<listitem><para><methodname>setAutoInsertNotEmptyValidator($flag)</methodname></para></listitem>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,7 +1047,7 @@ $fooBar = $element->getDecorator('FooBar');
10471047
<listitem><para>
10481048
<emphasis>required</emphasis>: flag indicating whether or not
10491049
the element is required when performing form validation. Uses
1050-
the <code>setRequired()</code> and <code>getRequired()</code>
1050+
the <code>setRequired()</code> and <code>isRequired()</code>
10511051
accessors. This flag is false by default.
10521052
</para></listitem>
10531053

@@ -1166,7 +1166,7 @@ $element->class = 'text;
11661166
<listitem><para><code>setOrder($order)</code></para></listitem>
11671167
<listitem><para><code>getOrder()</code></para></listitem>
11681168
<listitem><para><code>setRequired($flag)</code></para></listitem>
1169-
<listitem><para><code>getRequired()</code></para></listitem>
1169+
<listitem><para><code>isRequired()</code></para></listitem>
11701170
<listitem><para><code>setAllowEmpty($flag)</code></para></listitem>
11711171
<listitem><para><code>getAllowEmpty()</code></para></listitem>
11721172
<listitem><para><code>setAutoInsertNotEmptyValidator($flag)</code></para></listitem>

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -784,7 +784,7 @@ $fooBar = $element->getDecorator('FooBar');
784784
</para></listitem>
785785

786786
<listitem><para>
787-
<emphasis>required</emphasis>: 当执行表单校验时,指示元素是否必需的标志,使用 <code>setRequired()</code> 和 <code>getRequired()</code> 访问器,缺省为 false。
787+
<emphasis>required</emphasis>: 当执行表单校验时,指示元素是否必需的标志,使用 <code>setRequired()</code> 和 <code>isRequired()</code> 访问器,缺省为 false。
788788
</para></listitem>
789789

790790
<listitem><para>
@@ -878,7 +878,7 @@ $element->class = 'text;
878878
<listitem><para><code>setOrder($order)</code></para></listitem>
879879
<listitem><para><code>getOrder()</code></para></listitem>
880880
<listitem><para><code>setRequired($flag)</code></para></listitem>
881-
<listitem><para><code>getRequired()</code></para></listitem>
881+
<listitem><para><code>isRequired()</code></para></listitem>
882882
<listitem><para><code>setAllowEmpty($flag)</code></para></listitem>
883883
<listitem><para><code>getAllowEmpty()</code></para></listitem>
884884
<listitem><para><code>setAutoInsertNotEmptyValidator($flag)</code></para></listitem>

0 commit comments

Comments
 (0)