Browse Source

[DOCUMENTATION] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15712 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 years ago
parent
commit
ab4426c072

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

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

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

@@ -13,7 +13,7 @@
     </para>
     </para>
 
 
     <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>
         property of the bootstrap to the <classname>Zend_Controller_Front</classname>
         instance.
         instance.
     </para>
     </para>
@@ -25,57 +25,57 @@
 
 
     <itemizedlist>
     <itemizedlist>
         <listitem><para>
         <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
             specifying a single controller directory, or an array of
-            module/controller directory pairs.
+            module to controller directory pairs.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>moduleControllerDirectoryName</code>: a string value
+            <emphasis>moduleControllerDirectoryName</emphasis>: a string value
             indicating the subdirectory under a module that contains
             indicating the subdirectory under a module that contains
             controllers.
             controllers.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>moduleDirectory</code>: directory under which modules may be
+            <emphasis>moduleDirectory</emphasis>: directory under which modules may be
             found.
             found.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>defaultControllerName</code>: base name of the default
+            <emphasis>defaultControllerName</emphasis>: base name of the default
             controller (normally "index").
             controller (normally "index").
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>defaultAction</code>: base name of the default action
+            <emphasis>defaultAction</emphasis>: base name of the default action
             (normally "index").
             (normally "index").
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>defaultModule</code>: base name of the default module
+            <emphasis>defaultModule</emphasis>: base name of the default module
             (normally "default").
             (normally "default").
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <listitem><para>
-            <code>baseUrl</code>: explicit base URL to the application (normally
+            <emphasis>baseUrl</emphasis>: explicit base URL to the application (normally
             auto-detected).
             auto-detected).
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <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
             The resource will instantiate each class (with no constructor
             arguments) and then register the instance with the front controller.
             arguments) and then register the instance with the front controller.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <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.
             front controller.
         </para></listitem>
         </para></listitem>
     </itemizedlist>
     </itemizedlist>
 
 
     <para>
     <para>
         If an unrecognized key is provided, it is registered as a front
         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>
     </para>
 
 
     <example id="zend.application.available-resources.frontcontroller.configExample">
     <example id="zend.application.available-resources.frontcontroller.configExample">
@@ -107,7 +107,7 @@ resources.frontController.env = APPLICATION_ENV
         <para>
         <para>
             Once your Front Controller resource has been initialized, you can
             Once your Front Controller resource has been initialized, you can
             fetch the Front Controller instance via the
             fetch the Front Controller instance via the
-            <code>frontController</code> property of your bootstrap.
+            <varname>$frontController</varname> property of your bootstrap.
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <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
         <classname>Zend_Application_Resource_Modules</classname> is used to initialize
         your application modules. If your module has a
         your application modules. If your module has a
         <filename>Bootstrap.php</filename> file in its root, and it contains a class
         <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.
         then it will use that class to bootstrap the module.
     </para>
     </para>
 
 
@@ -35,7 +35,7 @@
         <title>Configuring Modules</title>
         <title>Configuring Modules</title>
         <para>
         <para>
             You can specify module-specific configuration using the module name
             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>
 
 
         <para>
         <para>
@@ -84,7 +84,7 @@ news.resources.layout.layout = "news"
             On occasion, you may need to retrieve the bootstrap object for a
             On occasion, you may need to retrieve the bootstrap object for a
             specific module -- perhaps to run discrete bootstrap methods, or to
             specific module -- perhaps to run discrete bootstrap methods, or to
             fetch the autoloader in order to configure it. This can be done
             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.
             method.
         </para>
         </para>
 
 

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

@@ -10,20 +10,20 @@
     </para>
     </para>
 
 
     <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
         (case insensitive) option key to the resource. The value of this option
         may be one of the following:
         may be one of the following:
     </para>
     </para>
 
 
     <itemizedlist>
     <itemizedlist>
         <listitem><para>
         <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
             <classname>Zend_Session_SaveHandler_Interface</classname> that should be
             instantiated.
             instantiated.
         </para></listitem>
         </para></listitem>
 
 
         <listitem><para>
         <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
             "options", indicating a class implementing
             <classname>Zend_Session_SaveHandler_Interface</classname> that should be
             <classname>Zend_Session_SaveHandler_Interface</classname> that should be
             instantiated and an array of options to provide to its constructor.
             instantiated and an array of options to provide to its constructor.