Explorar el Código

[DOCUMENTATION] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15712 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas hace 16 años
padre
commit
ab4426c072

+ 4 - 4
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Db.xml

@@ -16,16 +16,16 @@
 
     <itemizedlist>
         <listitem><para>
-            <code>adapter</code>: <classname>Zend_Db</classname> adapter type.
+            <emphasis>adapter</emphasis>: <classname>Zend_Db</classname> adapter type.
         </para></listitem>
 
         <listitem><para>
-            <code>params</code>: associative array of configuration
+            <emphasis>params</emphasis>: associative array of configuration
             parameters to use when retrieving the adapter instance.
         </para></listitem>
 
         <listitem><para>
-            <code>isDefaultTableAdapter</code>: whether or not to establish this
+            <emphasis>isDefaultTableAdapter</emphasis>: whether or not to establish this
             adapter as the default table adapter.
         </para></listitem>
     </itemizedlist>
@@ -69,7 +69,7 @@ $resource = $bootstrap->getPluginResource('db');
 
         <para>
             Once you have the resource object, you can fetch the DB adapter
-            using the <code>getDbAdapter()</code> method:
+            using the <methodname>getDbAdapter()</methodname> method:
         </para>
 
         <programlisting language="php"><![CDATA[

+ 13 - 13
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml

@@ -13,7 +13,7 @@
     </para>
 
     <para>
-        Once initialized, the resource assigns the <code>frontController</code>
+        Once initialized, the resource assigns the <varname>$frontController</varname>
         property of the bootstrap to the <classname>Zend_Controller_Front</classname>
         instance.
     </para>
@@ -25,57 +25,57 @@
 
     <itemizedlist>
         <listitem><para>
-            <code>controllerDirectory</code>: either a string value
+            <emphasis>controllerDirectory</emphasis>: either a string value
             specifying a single controller directory, or an array of
-            module/controller directory pairs.
+            module to controller directory pairs.
         </para></listitem>
 
         <listitem><para>
-            <code>moduleControllerDirectoryName</code>: a string value
+            <emphasis>moduleControllerDirectoryName</emphasis>: a string value
             indicating the subdirectory under a module that contains
             controllers.
         </para></listitem>
 
         <listitem><para>
-            <code>moduleDirectory</code>: directory under which modules may be
+            <emphasis>moduleDirectory</emphasis>: directory under which modules may be
             found.
         </para></listitem>
 
         <listitem><para>
-            <code>defaultControllerName</code>: base name of the default
+            <emphasis>defaultControllerName</emphasis>: base name of the default
             controller (normally "index").
         </para></listitem>
 
         <listitem><para>
-            <code>defaultAction</code>: base name of the default action
+            <emphasis>defaultAction</emphasis>: base name of the default action
             (normally "index").
         </para></listitem>
 
         <listitem><para>
-            <code>defaultModule</code>: base name of the default module
+            <emphasis>defaultModule</emphasis>: base name of the default module
             (normally "default").
         </para></listitem>
 
         <listitem><para>
-            <code>baseUrl</code>: explicit base URL to the application (normally
+            <emphasis>baseUrl</emphasis>: explicit base URL to the application (normally
             auto-detected).
         </para></listitem>
 
         <listitem><para>
-            <code>plugins</code>: array of front controller plugin class names.
+            <emphasis>plugins</emphasis>: array of front controller plugin class names.
             The resource will instantiate each class (with no constructor
             arguments) and then register the instance with the front controller.
         </para></listitem>
 
         <listitem><para>
-            <code>params</code>: array of key/value pairs to register with the
+            <emphasis>params</emphasis>: array of key to value pairs to register with the
             front controller.
         </para></listitem>
     </itemizedlist>
 
     <para>
         If an unrecognized key is provided, it is registered as a front
-        controller parameter by passing it to <code>setParam()</code>.
+        controller parameter by passing it to <methodname>setParam()</methodname>.
     </para>
 
     <example id="zend.application.available-resources.frontcontroller.configExample">
@@ -107,7 +107,7 @@ resources.frontController.env = APPLICATION_ENV
         <para>
             Once your Front Controller resource has been initialized, you can
             fetch the Front Controller instance via the
-            <code>frontController</code> property of your bootstrap.
+            <varname>$frontController</varname> property of your bootstrap.
         </para>
 
         <programlisting language="php"><![CDATA[

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

@@ -7,7 +7,7 @@
         <classname>Zend_Application_Resource_Modules</classname> is used to initialize
         your application modules. If your module has a
         <filename>Bootstrap.php</filename> file in its root, and it contains a class
-        named <code>Module_Bootstrap</code> (where "Module" is the module name),
+        named <classname>Module_Bootstrap</classname> (where "Module" is the module name),
         then it will use that class to bootstrap the module.
     </para>
 
@@ -35,7 +35,7 @@
         <title>Configuring Modules</title>
         <para>
             You can specify module-specific configuration using the module name
-            as a prefix/sub-section in your configuration file.
+            as a prefix or sub-section in your configuration file.
         </para>
 
         <para>
@@ -84,7 +84,7 @@ news.resources.layout.layout = "news"
             On occasion, you may need to retrieve the bootstrap object for a
             specific module -- perhaps to run discrete bootstrap methods, or to
             fetch the autoloader in order to configure it. This can be done
-            using the Modules resource's <code>getExecutedBootstraps()</code>
+            using the Modules resource's <methodname>getExecutedBootstraps()</methodname>
             method.
         </para>
 

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

@@ -10,20 +10,20 @@
     </para>
 
     <para>
-        To set a session save handler, simply pass the <code>saveHandler</code>
+        To set a session save handler, simply pass the <emphasis>saveHandler</emphasis>
         (case insensitive) option key to the resource. The value of this option
         may be one of the following:
     </para>
 
     <itemizedlist>
         <listitem><para>
-            <code>string</code>: A string indicating a class implementing
+            <emphasis>string</emphasis>: A string indicating a class implementing
             <classname>Zend_Session_SaveHandler_Interface</classname> that should be
             instantiated.
         </para></listitem>
 
         <listitem><para>
-            <code>array</code>: An array with the keys "class" and, optionally,
+            <emphasis>array</emphasis>: An array with the keys "class" and, optionally,
             "options", indicating a class implementing
             <classname>Zend_Session_SaveHandler_Interface</classname> that should be
             instantiated and an array of options to provide to its constructor.