瀏覽代碼

[DOCU] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17749 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 年之前
父節點
當前提交
72be4842da

+ 7 - 7
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Modules.xml

@@ -18,17 +18,17 @@
     </para>
     </para>
 
 
     <para>
     <para>
-        Since the Modules resource does not take any arguments by default, in order to enable it 
-        via configuration, you need to create it as an empty array. In INI style configuration, 
-        this looks like:
+        Since the Modules resource does not take any arguments by default, in order to enable it
+        via configuration, you need to create it as an empty array. In <acronym>INI</acronym> style
+        configuration, this looks like:
     </para>
     </para>
 
 
     <programlisting language="ini"><![CDATA[
     <programlisting language="ini"><![CDATA[
-resources.modules[] = 
+resources.modules[] =
 ]]></programlisting>
 ]]></programlisting>
 
 
     <para>
     <para>
-        In XML style configuration, this looks like:
+        In <acronym>XML</acronym> style configuration, this looks like:
     </para>
     </para>
 
 
     <programlisting language="xml"><![CDATA[
     <programlisting language="xml"><![CDATA[
@@ -39,9 +39,9 @@ resources.modules[] =
     </modules>
     </modules>
 </resources>
 </resources>
 ]]></programlisting>
 ]]></programlisting>
-    
+
     <para>
     <para>
-        Using a standard PHP array, simply create it as an empty array:
+        Using a standard <acronym>PHP</acronym> array, simply create it as an empty array:
     </para>
     </para>
 
 
     <programlisting language="php"><![CDATA[
     <programlisting language="php"><![CDATA[

+ 2 - 2
documentation/manual/en/module_specs/Zend_Cache-Backends.xml

@@ -475,8 +475,8 @@ $cache = Zend_Cache::factory('Core', 'Two Levels');
             method:
             method:
         </para>
         </para>
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
-$cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_Disk', $frontendOptions,
-$backendOptions, false, true);
+$cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_Disk',
+                             $frontendOptions, $backendOptions, false, true);
 ]]></programlisting>
 ]]></programlisting>
         <para>
         <para>
             There is no option for this backend.
             There is no option for this backend.

+ 12 - 12
documentation/manual/en/module_specs/Zend_Controller-Router.xml

@@ -61,7 +61,7 @@ RewriteRule ^[\w/\%]*(?:\.(?!(?:js|ico|gif|jpg|png|css|html)$)[\w\%]*$)? /index.
                 either not exist, or be set as an empty string. In this case,
                 either not exist, or be set as an empty string. In this case,
                 <classname>Zend_Controller_Request_Http</classname> will attempt to use
                 <classname>Zend_Controller_Request_Http</classname> will attempt to use
                 the <varname>$_SERVER['HTTP_X_REWRITE_URL']</varname> value set by the
                 the <varname>$_SERVER['HTTP_X_REWRITE_URL']</varname> value set by the
-                Isapi_Rewrite extension.
+                <classname>Isapi_Rewrite</classname> extension.
             </para>
             </para>
         </note>
         </note>
 
 
@@ -155,22 +155,22 @@ $router->addRoute('user',
 
 
         <itemizedlist mark="opencircle">
         <itemizedlist mark="opencircle">
             <listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.standard" /></para>
+                <para><link linkend="zend.controller.router.routes.standard" /></para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.static" /></para>
+                <para><link linkend="zend.controller.router.routes.static" /></para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.regex" /></para>
+                <para><link linkend="zend.controller.router.routes.regex" /></para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>
-                 <para><xref linkend="zend.controller.router.routes.hostname" /></para>
+                 <para><link linkend="zend.controller.router.routes.hostname" /></para>
              </listitem>
              </listitem>
             <listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.chain" /></para>
+                <para><link linkend="zend.controller.router.routes.chain" /></para>
             </listitem>
             </listitem>
             <listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.default-routes" /> *</para>
+                <para><link linkend="zend.controller.router.default-routes" /> *</para>
             </listitem>
             </listitem>
         </itemizedlist>
         </itemizedlist>
 
 
@@ -253,8 +253,8 @@ $router->addRoute('user',
                 The names of these special variables may be different if you
                 The names of these special variables may be different if you
                 choose to alter the defaults in
                 choose to alter the defaults in
                 <classname>Zend_Controller_Request_Http</classname> by means of the
                 <classname>Zend_Controller_Request_Http</classname> by means of the
-                <code>setControllerKey</code> and <code>setActionKey</code>
-                methods.
+                <methodname>setControllerKey()</methodname> and
+                <methodname>setActionKey()</methodname> methods.
             </para>
             </para>
         </note>
         </note>
 
 
@@ -359,7 +359,7 @@ $router->removeDefaultRoutes();
             Should the base <acronym>URL</acronym> be detected incorrectly you can override it with
             Should the base <acronym>URL</acronym> be detected incorrectly you can override it with
             your own base path by using
             your own base path by using
             <classname>Zend_Controller_Request_Http</classname> and calling the
             <classname>Zend_Controller_Request_Http</classname> and calling the
-            <methodname>setBaseUrl()</methodname> method (see <xref
+            <methodname>setBaseUrl()</methodname> method (see <link
                 linkend="zend.controller.request.http.baseurl" />):
                 linkend="zend.controller.request.http.baseurl" />):
         </para>
         </para>
 
 
@@ -374,8 +374,8 @@ $request->setBaseUrl('/~user/application-root/');
 
 
         <para>
         <para>
             You can set global parameters in a router which are automatically
             You can set global parameters in a router which are automatically
-            supplied to a route when assembling through the
-            <code>setGlobalParam</code>. If a global parameter is set
+            supplied to a route when assembling through
+            <methodname>setGlobalParam()</methodname>. If a global parameter is set
             but also given to the assemble method directly, the user parameter
             but also given to the assemble method directly, the user parameter
             overrides the global parameter. You can set a global parameter this
             overrides the global parameter. You can set a global parameter this
             way:
             way: