Преглед на файлове

[DOCUMENTATION] English:

- manual fixes (<code>array</code> ==> <type>Array</type>)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15745 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas преди 16 години
родител
ревизия
d7d6ec06a5

+ 8 - 8
documentation/manual/en/module_specs/Zend_Cache-Frontends.xml

@@ -306,7 +306,7 @@ echo 'This is never cached ('.time().').';
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>cached_functions</code></entry>
                               <entry><code>cached_functions</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry></entry>
                               <entry></entry>
                               <entry>
                               <entry>
                                   function names which will always be cached
                                   function names which will always be cached
@@ -314,7 +314,7 @@ echo 'This is never cached ('.time().').';
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>non_cached_functions</code></entry>
                               <entry><code>non_cached_functions</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry></entry>
                               <entry></entry>
                               <entry>
                               <entry>
                                   function names which must never be cached
                                   function names which must never be cached
@@ -394,7 +394,7 @@ $cache->call('veryExpensiveFunc', $params);
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>cached_methods</code></entry>
                               <entry><code>cached_methods</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry></entry>
                               <entry></entry>
                               <entry>
                               <entry>
                                   method names which will always be cached
                                   method names which will always be cached
@@ -402,7 +402,7 @@ $cache->call('veryExpensiveFunc', $params);
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>non_cached_methods</code></entry>
                               <entry><code>non_cached_methods</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry></entry>
                               <entry></entry>
                               <entry>
                               <entry>
                                   method names which must never be cached
                                   method names which must never be cached
@@ -509,7 +509,7 @@ $result = $cache->foobar2('1', '2');
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>master_files</code></entry>
                               <entry><code>master_files</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry><code></code></entry>
                               <entry><code></code></entry>
                               <entry>
                               <entry>
                                   an array of complete path of master files
                                   an array of complete path of master files
@@ -601,7 +601,7 @@ $result = $cache->foobar2('1', '2');
                          </row>
                          </row>
                          <row>
                          <row>
                                <entry><code>default_options</code></entry>
                                <entry><code>default_options</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry><code>array(...see below...)</code></entry>
                               <entry><code>array(...see below...)</code></entry>
                               <entry>
                               <entry>
                                   an associative array of default options :
                                   an associative array of default options :
@@ -705,7 +705,7 @@ $result = $cache->foobar2('1', '2');
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>regexps</code></entry>
                               <entry><code>regexps</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry><code>array()</code></entry>
                               <entry><code>array()</code></entry>
                               <entry>
                               <entry>
                                     an associative array to set options only for some REQUEST_URI, keys are (PCRE) regexps, values are
                                     an associative array to set options only for some REQUEST_URI, keys are (PCRE) regexps, values are
@@ -716,7 +716,7 @@ $result = $cache->foobar2('1', '2');
                          </row>
                          </row>
                          <row>
                          <row>
                               <entry><code>memorize_headers</code></entry>
                               <entry><code>memorize_headers</code></entry>
-                              <entry><code>array</code></entry>
+                              <entry><type>Array</type></entry>
                               <entry><code>array()</code></entry>
                               <entry><code>array()</code></entry>
                               <entry>
                               <entry>
                                    an array of strings corresponding to some HTTP headers name. Listed headers
                                    an array of strings corresponding to some HTTP headers name. Listed headers

+ 4 - 4
documentation/manual/en/module_specs/Zend_Loader-Autoloader.xml

@@ -259,7 +259,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
 
 
                     <row>
                     <row>
                         <entry><code>getAutoloaders()</code></entry>
                         <entry><code>getAutoloaders()</code></entry>
-                        <entry><code>array</code></entry>
+                        <entry><type>Array</type></entry>
                         <entry>N/A</entry>
                         <entry>N/A</entry>
                         <entry><para>
                         <entry><para>
                             Retrieve the internal autoloader stack.
                             Retrieve the internal autoloader stack.
@@ -268,7 +268,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
 
 
                     <row>
                     <row>
                         <entry><code>getNamespaceAutoloaders($namespace)</code></entry>
                         <entry><code>getNamespaceAutoloaders($namespace)</code></entry>
-                        <entry><code>array</code></entry>
+                        <entry><type>Array</type></entry>
                         <entry><itemizedlist>
                         <entry><itemizedlist>
                             <listitem><para>
                             <listitem><para>
                                 <code>$namespace</code>, <emphasis>required</emphasis>
                                 <code>$namespace</code>, <emphasis>required</emphasis>
@@ -314,7 +314,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
 
 
                     <row>
                     <row>
                         <entry><code>getRegisteredNamespace()</code></entry>
                         <entry><code>getRegisteredNamespace()</code></entry>
-                        <entry><code>array</code></entry>
+                        <entry><type>Array</type></entry>
                         <entry>N/A</entry>
                         <entry>N/A</entry>
                         <entry><para>
                         <entry><para>
                             Returns an array of all namespaces registered with
                             Returns an array of all namespaces registered with
@@ -371,7 +371,7 @@ $autoloader->pushAutoloader($foo, 'Foo_');
 
 
                     <row>
                     <row>
                         <entry><code>getClassAutoloaders($class)</code></entry>
                         <entry><code>getClassAutoloaders($class)</code></entry>
-                        <entry><code>array</code></entry>
+                        <entry><type>Array</type></entry>
                         <entry><itemizedlist>
                         <entry><itemizedlist>
                             <listitem><para>
                             <listitem><para>
                                 <code>$class</code>, <emphasis>required</emphasis>.
                                 <code>$class</code>, <emphasis>required</emphasis>.

+ 4 - 4
documentation/manual/en/module_specs/Zend_Navigation-Pages-Common.xml

@@ -81,7 +81,7 @@
                 </row>
                 </row>
                 <row>
                 <row>
                     <entry><code>rel</code></entry>
                     <entry><code>rel</code></entry>
-                    <entry><code>array</code></entry>
+                    <entry><type>Array</type></entry>
                     <entry><code>array()</code></entry>
                     <entry><code>array()</code></entry>
                     <entry>
                     <entry>
                         Specifies forward relations for the page.
                         Specifies forward relations for the page.
@@ -98,7 +98,7 @@
                 </row>
                 </row>
                 <row>
                 <row>
                     <entry><code>rev</code></entry>
                     <entry><code>rev</code></entry>
-                    <entry><code>array</code></entry>
+                    <entry><type>Array</type></entry>
                     <entry><code>array()</code></entry>
                     <entry><code>array()</code></entry>
                     <entry>
                     <entry>
                         Specifies reverse relations for the page. Works exactly
                         Specifies reverse relations for the page. Works exactly
@@ -165,10 +165,10 @@
                 </row>
                 </row>
                 <row>
                 <row>
                     <entry><code>pages</code></entry>
                     <entry><code>pages</code></entry>
-                    <entry><code>array</code> | <classname>Zend_Config</classname> | <constant>NULL</constant></entry>
+                    <entry><type>Array</type> | <classname>Zend_Config</classname> | <constant>NULL</constant></entry>
                     <entry><constant>NULL</constant></entry>
                     <entry><constant>NULL</constant></entry>
                     <entry>
                     <entry>
-                        Child pages of the page. This could be an <code>array</code>
+                        Child pages of the page. This could be an <type>Array</type>
                         or <classname>Zend_Config</classname> object containing either page
                         or <classname>Zend_Config</classname> object containing either page
                         options that can be passed to the <code>factory()</code>
                         options that can be passed to the <code>factory()</code>
                         method, or actual <classname>Zend_Navigation_Page</classname>
                         method, or actual <classname>Zend_Navigation_Page</classname>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Navigation-Pages-Custom.xml

@@ -7,7 +7,7 @@
         When extending <classname>Zend_Navigation_Page</classname>, there is
         When extending <classname>Zend_Navigation_Page</classname>, there is
         usually no need to override the constructor or the methods
         usually no need to override the constructor or the methods
         <code>setOptions()</code> or <code>setConfig()</code>. The page
         <code>setOptions()</code> or <code>setConfig()</code>. The page
-        constructor takes a single parameter, an <code>array</code> or a
+        constructor takes a single parameter, an <type>Array</type> or a
         <classname>Zend_Config</classname> object, which is passed to
         <classname>Zend_Config</classname> object, which is passed to
         <code>setOptions()</code> or <code>setConfig()</code> respectively.
         <code>setOptions()</code> or <code>setConfig()</code> respectively.
         Those methods will in turn call <code>set()</code> method, which
         Those methods will in turn call <code>set()</code> method, which

+ 1 - 1
documentation/manual/en/module_specs/Zend_Navigation-Pages-MVC.xml

@@ -54,7 +54,7 @@
                 </row>
                 </row>
                 <row>
                 <row>
                     <entry><code>params</code></entry>
                     <entry><code>params</code></entry>
-                    <entry><code>array</code></entry>
+                    <entry><type>Array</type></entry>
                     <entry><code>array()</code></entry>
                     <entry><code>array()</code></entry>
                     <entry>
                     <entry>
                         User params to use when generating href to the page.
                         User params to use when generating href to the page.

+ 5 - 5
documentation/manual/en/module_specs/Zend_View-Helpers-Navigation.xml

@@ -596,9 +596,9 @@ Zend_View_Helper_Navigation_HelperAbstract::setDefaultRole('member');
                    <code>renderPartial()</code> method. If no partial is
                    <code>renderPartial()</code> method. If no partial is
                    set, the <code>renderStraight()</code> method is used.
                    set, the <code>renderStraight()</code> method is used.
                    The helper expects the partial to be a <code>string</code>
                    The helper expects the partial to be a <code>string</code>
-                   or an <code>array</code> with two elements. If the partial
+                   or an <type>Array</type> with two elements. If the partial
                    is a <code>string</code>, it denotes the name of the partial
                    is a <code>string</code>, it denotes the name of the partial
-                   script to use. If it is an <code>array</code>, the first
+                   script to use. If it is an <type>Array</type>, the first
                    element will be used as the name of the partial view
                    element will be used as the name of the partial view
                    script, and the second element is the module where the
                    script, and the second element is the module where the
                    script is found.
                    script is found.
@@ -848,7 +848,7 @@ Products, Foo Server, FAQ
                 When looking for relations in the the page instance
                 When looking for relations in the the page instance
                 (<code>$page->getRel($type)</code> or
                 (<code>$page->getRel($type)</code> or
                 <code>$page->getRev($type)</code>), the helper accepts the
                 <code>$page->getRev($type)</code>), the helper accepts the
-                values of type <code>string</code>, <code>array</code>,
+                values of type <code>string</code>, <type>Array</type>,
                 <classname>Zend_Config</classname>, or
                 <classname>Zend_Config</classname>, or
                 <classname>Zend_Navigation_Page</classname>. If a string
                 <classname>Zend_Navigation_Page</classname>. If a string
                 is found, it will be converted to a
                 is found, it will be converted to a
@@ -1207,9 +1207,9 @@ Output:
                     <code>renderPartial()</code> method. If no partial is
                     <code>renderPartial()</code> method. If no partial is
                     set, the <code>renderMenu()</code> method is used.
                     set, the <code>renderMenu()</code> method is used.
                     The helper expects the partial to be a <code>string</code>
                     The helper expects the partial to be a <code>string</code>
-                    or an <code>array</code> with two elements. If the partial
+                    or an <type>Array</type> with two elements. If the partial
                     is a <code>string</code>, it denotes the name of the partial
                     is a <code>string</code>, it denotes the name of the partial
-                    script to use. If it is an <code>array</code>, the first
+                    script to use. If it is an <type>Array</type>, the first
                     element will be used as the name of the partial view
                     element will be used as the name of the partial view
                     script, and the second element is the module where the
                     script, and the second element is the module where the
                     script is found.
                     script is found.

+ 2 - 2
documentation/manual/en/module_specs/Zend_XmlRpc_Client.xml

@@ -56,7 +56,7 @@ echo $client->call('test.sayHello');
             The first parameter of the <code>call()</code> method receives the
             The first parameter of the <code>call()</code> method receives the
             name of the remote method to call. If the remote method requires
             name of the remote method to call. If the remote method requires
             any parameters, these can be sent by supplying a second, optional
             any parameters, these can be sent by supplying a second, optional
-            parameter to <code>call()</code> with an <code>array</code> of
+            parameter to <code>call()</code> with an <type>Array</type> of
             values to pass to the remote method:
             values to pass to the remote method:
         </para>
         </para>
 
 
@@ -108,7 +108,7 @@ $result = $client->call('test.sayHello', array($arg1, $arg2));
                 Parameters may be passed to <code>call()</code> as native PHP
                 Parameters may be passed to <code>call()</code> as native PHP
                 variables, meaning as a <code>string</code>,
                 variables, meaning as a <code>string</code>,
                 <code>integer</code>, <code>float</code>,
                 <code>integer</code>, <code>float</code>,
-                <type>Boolean</type>, <code>array</code>, or an
+                <type>Boolean</type>, <type>Array</type>, or an
                 <code>object</code>. In this case, each PHP native type will
                 <code>object</code>. In this case, each PHP native type will
                 be auto-detected and converted into one of the XML-RPC types
                 be auto-detected and converted into one of the XML-RPC types
                 according to this table:
                 according to this table:

+ 2 - 2
documentation/manual/en/ref/coding_standard.xml

@@ -404,7 +404,7 @@ $sql = "SELECT `id`, `name` FROM `people` "
                 </para>
                 </para>
 
 
                 <para>
                 <para>
-                    When declaring indexed arrays with the <code>array</code> function, a trailing
+                    When declaring indexed arrays with the <type>Array</type> function, a trailing
                     space must be added after each comma delimiter to improve readability:
                     space must be added after each comma delimiter to improve readability:
 
 
                     <programlisting language="php"><![CDATA[
                     <programlisting language="php"><![CDATA[
@@ -429,7 +429,7 @@ $sampleArray = array(1, 2, 3, 'Zend', 'Studio',
                 <title>Associative Arrays</title>
                 <title>Associative Arrays</title>
 
 
                 <para>
                 <para>
-                    When declaring associative arrays with the <code>array</code> construct,
+                    When declaring associative arrays with the <type>Array</type> construct,
                     breaking the statement into multiple lines is encouraged. In this case, each
                     breaking the statement into multiple lines is encouraged. In this case, each
                     successive line must be padded with white space such that both the keys and the
                     successive line must be padded with white space such that both the keys and the
                     values are aligned:
                     values are aligned: