فهرست منبع

[GENERIC] Manual:

- added section for supported options

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21245 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 سال پیش
والد
کامیت
83a4efe8ef

+ 26 - 0
documentation/manual/en/module_specs/Zend_Validate-Isbn.xml

@@ -8,6 +8,32 @@
         <acronym>ISBN-10</acronym> or <acronym>ISBN-13</acronym> value.
         <acronym>ISBN-10</acronym> or <acronym>ISBN-13</acronym> value.
     </para>
     </para>
 
 
+    <sect3 id="zend.validate.set.isbn.options">
+        <title>Supported options for Zend_Validate_Isbn</title>
+
+        <para>
+            The following options are supported for <classname>Zend_Validate_Isbn</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>separator</property></emphasis>: Defines the allowed separator
+                    for the <acronym>ISBN</acronym> number. It defaults to an empty string.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>type</property></emphasis>: Defines the allowed type of
+                    <acronym>ISBN</acronym> numbers. It defaults to
+                    <constant>Zend_Validate_Isbn::AUTO</constant>. For details take a look at
+                    <link linkend="zend.validate.set.isbn.type-explicit">this section</link>.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
+
     <sect3 id="zend.validate.set.isbn.basic">
     <sect3 id="zend.validate.set.isbn.basic">
         <title>Basic usage</title>
         <title>Basic usage</title>
 
 

+ 18 - 0
documentation/manual/en/module_specs/Zend_Validate-NotEmpty.xml

@@ -9,6 +9,24 @@
         elements have values associated with them.
         elements have values associated with them.
     </para>
     </para>
 
 
+    <sect3 id="zend.validate.set.notempty.options">
+        <title>Supported options for Zend_Validate_NotEmpty</title>
+
+        <para>
+            The following options are supported for <classname>Zend_Validate_NotEmpty</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>type</property></emphasis>: Sets the type of validation
+                    which will be processed. For details take a look into <link
+                        linkend="zend.validate.set.notempty.types">this section</link>.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
+
     <sect3 id="zend.validate.set.notempty.default">
     <sect3 id="zend.validate.set.notempty.default">
         <title>Default behaviour for Zend_Validate_NotEmpty</title>
         <title>Default behaviour for Zend_Validate_NotEmpty</title>
 
 

+ 24 - 0
documentation/manual/en/module_specs/Zend_Validate-PostCode.xml

@@ -106,6 +106,30 @@ $validator = new Zend_Validate_PostCode(array(
 ));
 ));
 ]]></programlisting>
 ]]></programlisting>
     </sect3>
     </sect3>
+
+    <sect3 id="zend.validate.set.post_code.options">
+        <title>Supported options for Zend_Validate_PostCode</title>
+
+        <para>
+            The following options are supported for <classname>Zend_Validate_PostCode</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>format</property></emphasis>: Sets a postcode format which
+                    will be used for validation of the input.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>locale</property></emphasis>: Sets a locale from which the
+                    postcode will be taken from.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
 </sect2>
 </sect2>
 <!--
 <!--
 vim:se ts=4 sw=4 et:
 vim:se ts=4 sw=4 et: