Просмотр исходного кода

[DOCUMENTATION] English:

- some manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17136 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
45b6f394c9

+ 1 - 1
documentation/manual/en/module_specs/Zend_Amf-Server.xml

@@ -73,7 +73,7 @@ $server->addDirectory(dirname(__FILE__) .'/../package/');
             When calling remote services your source name can have underscore ("_") and dot (".")
             directory delimiters. When an underscore is used <acronym>PEAR</acronym> and Zend
             Framework class naming conventions will be respected. This means that if you call the
-            service <classname>com_Foo_Bar</classname> the server will look for the file
+            service com_Foo_Bar the server will look for the file
             <filename>Bar.php</filename> in the each of the included paths at
             <filename>com/Foo/Bar.php</filename>. If the dot notation is used for your remote
             service such as <filename>com.Foo.Bar</filename> each included path will have

+ 2 - 2
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Session.xml

@@ -77,8 +77,8 @@ resources.session.saveHandler.options.lifetimeColumn = "lifetime"
             handler, you must first configure your database connection for it to
             work. Do this by either using the <link
                 linkend="zend.application.available-resources.db">Db</link>
-            resource -- and make sure the "<emphasis>resources.db</emphasis>" key comes prior to
-            the "<emphasis>resources.session</emphasis>" key -- or by writing your own resource
+            resource -- and make sure the "<property>resources.db</property>" key comes prior to
+            the "<property>resources.session</property>" key -- or by writing your own resource
             that initializes the database, and specifically sets the default
             <classname>Zend_Db_Table</classname> adapter.
         </para>

+ 38 - 33
documentation/manual/en/module_specs/Zend_Cache-Frontends.xml

@@ -624,7 +624,7 @@ $result = $cache->foobar2('1', '2');
                               </entry>
                          </row>
                          <row>
-                               <entry><emphasis>default_options</emphasis></entry>
+                              <entry><emphasis>default_options</emphasis></entry>
                               <entry><type>Array</type></entry>
                               <entry><methodname>array(...see below...)</methodname></entry>
                               <entry>
@@ -632,14 +632,15 @@ $result = $cache->foobar2('1', '2');
                                   <itemizedlist>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default) cache</emphasis>:
-                                              cache is on if <constant>TRUE</constant>
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default) cache</emphasis>: cache is on if
+                                              <constant>TRUE</constant>
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, false by default)
-                                                  cache_with_get_variables</emphasis>: if
+                                              <emphasis>(boolean, <constant>FALSE</constant> by
+                                                  default) cache_with_get_variables</emphasis>: if
                                               <constant>TRUE</constant>,
                                               cache is still on even if there are some variables in
                                               <varname>$_GET</varname> array
@@ -647,8 +648,8 @@ $result = $cache->foobar2('1', '2');
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, false by default)
-                                                  cache_with_post_variables</emphasis>: if
+                                              <emphasis>(boolean, <constant>FALSE</constant> by
+                                                  default) cache_with_post_variables</emphasis>: if
                                               <constant>TRUE</constant>,
                                               cache is still on even if there are some variables in
                                               <varname>$_POST</varname> array
@@ -656,52 +657,53 @@ $result = $cache->foobar2('1', '2');
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, false by default)
-                                                  cache_with_session_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>FALSE</constant> by
+                                                  default) cache_with_session_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               cache is still on even if there are some variables in
                                               <varname>$_SESSION</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, false by default)
-                                                  cache_with_files_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>FALSE</constant> by
+                                                  default) cache_with_files_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               cache is still on even if there are some variables in
                                               <varname>$_FILES</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, false by default)
-                                                  cache_with_cookie_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>FALSE</constant> by
+                                                  default) cache_with_cookie_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               cache is still on even if there are some variables in
                                               <varname>$_COOKIE</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default)
-                                                   make_id_with_get_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default) make_id_with_get_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               the cache id will be dependent of the content of the
                                               <varname>$_GET</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default)
-                                                  make_id_with_post_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default) make_id_with_post_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               the cache id will be dependent of the content of the
                                               <varname>$_POST</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default)
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default)
                                                   make_id_with_session_variables</emphasis>: if
                                               <constant>TRUE</constant>,
                                               the cache id will be dependent of the content of
@@ -710,16 +712,17 @@ $result = $cache->foobar2('1', '2');
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default)
-                                                  make_id_with_files_variables</emphasis>: if
-                                              <constant>TRUE</constant>,
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default) make_id_with_files_variables</emphasis>:
+                                              if <constant>TRUE</constant>,
                                               the cache id will be dependent of the content of the
                                               <varname>$_FILES</varname> array
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(boolean, true by default)
+                                              <emphasis>(boolean, <constant>TRUE</constant> by
+                                                  default)
                                                   make_id_with_cookie_variables</emphasis>: if
                                               <constant>TRUE</constant>,
                                               the cache id will be dependent of the content of
@@ -728,22 +731,24 @@ $result = $cache->foobar2('1', '2');
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(int, false by default)
-                                                  specific_lifetime</emphasis>: if not
+                                              <emphasis>(int, <constant>FALSE</constant> by
+                                                  default) specific_lifetime</emphasis>: if not
                                               <constant>FALSE</constant>, the
                                               given lifetime will be used for the choosen regexp
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(array, array() by default) tags</emphasis>:
-                                              tags for the cache record
+                                              <emphasis>(array, <methodname>array()</methodname> by
+                                                  default) tags</emphasis>: tags for the cache
+                                              record
                                           </para>
                                       </listitem>
                                       <listitem>
                                           <para>
-                                              <emphasis>(int, null by default) priority</emphasis>:
-                                              priority (if the backend supports it)
+                                              <emphasis>(int, <constant>NULL</constant> by default)
+                                                  priority</emphasis>: priority (if the backend
+                                              supports it)
                                           </para>
                                       </listitem>
                                   </itemizedlist>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Controller-ActionHelpers-ContextSwitch.xml

@@ -124,7 +124,7 @@ class NewsController extends Zend_Controller_Action
         </para></listitem>
 
         <listitem><para>
-                Via <acronym>GET</acronym> parameter: <command>/news/list?format=xml</command>
+                Via <constant>GET</constant> parameter: <command>/news/list?format=xml</command>
         </para></listitem>
     </itemizedlist>
 

+ 2 - 2
documentation/manual/en/module_specs/Zend_Controller-Basics.xml

@@ -81,8 +81,8 @@
                     <classname>Zend_Controller_Router_Rewrite</classname>, takes a
                     <acronym>URI</acronym> endpoint as specified in
                     <classname>Zend_Controller_Request_Http</classname> and decomposes it
-                    into a controller, action, and parameters based on the path
-                    information in the <acronym>URL</acronym>. As an example, the <acronym>URL</acronym>
+                    into a controller, action, and parameters based on the path information
+                    in the <acronym>URL</acronym>. As an example, the <acronym>URL</acronym>
                     <filename>http://localhost/foo/bar/key/value</filename> would be
                     decoded to use the <emphasis>foo</emphasis> controller,
                     <emphasis>bar</emphasis> action, and specify a parameter