Bläddra i källkod

[DOCU] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17749 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 år sedan
förälder
incheckning
72be4842da

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

@@ -18,17 +18,17 @@
     </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>
 
     <programlisting language="ini"><![CDATA[
-resources.modules[] = 
+resources.modules[] =
 ]]></programlisting>
 
     <para>
-        In XML style configuration, this looks like:
+        In <acronym>XML</acronym> style configuration, this looks like:
     </para>
 
     <programlisting language="xml"><![CDATA[
@@ -39,9 +39,9 @@ resources.modules[] =
     </modules>
 </resources>
 ]]></programlisting>
-    
+
     <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>
 
     <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:
         </para>
         <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>
         <para>
             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,
                 <classname>Zend_Controller_Request_Http</classname> will attempt to use
                 the <varname>$_SERVER['HTTP_X_REWRITE_URL']</varname> value set by the
-                Isapi_Rewrite extension.
+                <classname>Isapi_Rewrite</classname> extension.
             </para>
         </note>
 
@@ -155,22 +155,22 @@ $router->addRoute('user',
 
         <itemizedlist mark="opencircle">
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.standard" /></para>
+                <para><link linkend="zend.controller.router.routes.standard" /></para>
             </listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.static" /></para>
+                <para><link linkend="zend.controller.router.routes.static" /></para>
             </listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.regex" /></para>
+                <para><link linkend="zend.controller.router.routes.regex" /></para>
             </listitem>
             <listitem>
-                 <para><xref linkend="zend.controller.router.routes.hostname" /></para>
+                 <para><link linkend="zend.controller.router.routes.hostname" /></para>
              </listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.routes.chain" /></para>
+                <para><link linkend="zend.controller.router.routes.chain" /></para>
             </listitem>
             <listitem>
-                <para><xref linkend="zend.controller.router.default-routes" /> *</para>
+                <para><link linkend="zend.controller.router.default-routes" /> *</para>
             </listitem>
         </itemizedlist>
 
@@ -253,8 +253,8 @@ $router->addRoute('user',
                 The names of these special variables may be different if you
                 choose to alter the defaults in
                 <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>
         </note>
 
@@ -359,7 +359,7 @@ $router->removeDefaultRoutes();
             Should the base <acronym>URL</acronym> be detected incorrectly you can override it with
             your own base path by using
             <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" />):
         </para>
 
@@ -374,8 +374,8 @@ $request->setBaseUrl('/~user/application-root/');
 
         <para>
             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
             overrides the global parameter. You can set a global parameter this
             way: