Forráskód Böngészése

[DOCUMENTATION] English:

-  manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@16164 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 éve
szülő
commit
c40607cfa9

+ 6 - 5
documentation/manual/en/module_specs/Zend_Controller-Dispatcher.xml

@@ -17,9 +17,9 @@
             <code>index</code> for each of the controller and action defaults
             <code>index</code> for each of the controller and action defaults
             and <code>default</code> for the module default value, but allows
             and <code>default</code> for the module default value, but allows
             the developer to change the default values for each using the
             the developer to change the default values for each using the
-            <code>setDefaultController()</code>,
-            <code>setDefaultAction()</code>, and <code>setDefaultModule()</code>
-            methods, respectively.
+            <methodname>setDefaultController()</methodname>,
+            <methodname>setDefaultAction()</methodname>, and
+            <methodname>setDefaultModule()</methodname> methods, respectively.
         </para>
         </para>
 
 
         <note>
         <note>
@@ -66,8 +66,9 @@ $dispatcher->setParam('prefixDefaultModule', true);
 
 
         <para>
         <para>
             The action controller method that controls such dispatching is
             The action controller method that controls such dispatching is
-            <code>_forward()</code>; call this method from any of the
-            pre/postDispatch() or action methods, providing an action, controller,
+            <methodname>_forward()</methodname>; call this method from any of the
+            <methodname>preDispatch()</methodname>, <methodname>postDispatch()</methodname> or
+            action methods, providing an action, controller,
             module, and optionally any additional parameters you may wish to
             module, and optionally any additional parameters you may wish to
             send to the new action:
             send to the new action:
         </para>
         </para>

+ 9 - 8
documentation/manual/en/module_specs/Zend_Controller-Exceptions.xml

@@ -48,7 +48,7 @@
                 </itemizedlist>
                 </itemizedlist>
 
 
                 <para>
                 <para>
-                    It operates as a <code>postDispatch()</code> plugin, and
+                    It operates as a <methodname>postDispatch()</methodname> plugin, and
                     checks to see if a dispatcher, action controller, or
                     checks to see if a dispatcher, action controller, or
                     other exception has occurred. If so, it forwards to an error
                     other exception has occurred. If so, it forwards to an error
                     handler controller.
                     handler controller.
@@ -112,8 +112,9 @@ try {
                     <classname>Zend_Controller_Front::dispatch()</classname> will not render the
                     <classname>Zend_Controller_Front::dispatch()</classname> will not render the
                     response, but instead return it. Once you have the response,
                     response, but instead return it. Once you have the response,
                     you may then test to see if any exceptions were trapped using
                     you may then test to see if any exceptions were trapped using
-                    its <code>isException()</code> method, and retrieving the exceptions via
-                    the <code>getException()</code> method. As an example:
+                    its <methodname>isException()</methodname> method, and retrieving the
+                    exceptions via the <methodname>getException()</methodname> method. As an
+                    example:
                 </para>
                 </para>
 
 
                 <programlisting language="php"><![CDATA[
                 <programlisting language="php"><![CDATA[
@@ -190,7 +191,7 @@ $dispatcher->setParam('useDefaultControllerAlways', true);
 
 
                     <listitem>
                     <listitem>
                         <para>
                         <para>
-                            The exception thrown by <code>dispatch()</code> is
+                            The exception thrown by <methodname>dispatch()</methodname> is
                             a <classname>Zend_Controller_Dispatcher_Exception</classname>
                             a <classname>Zend_Controller_Dispatcher_Exception</classname>
                             containing the text 'Invalid controller specified'.
                             containing the text 'Invalid controller specified'.
                             Use one of the methods outlined in <link
                             Use one of the methods outlined in <link
@@ -216,7 +217,7 @@ $dispatcher->setParam('useDefaultControllerAlways', true);
                     <listitem>
                     <listitem>
                         <para>
                         <para>
                             Subclass <classname>Zend_Controller_Action</classname> and
                             Subclass <classname>Zend_Controller_Action</classname> and
-                            override the <code>__call()</code> method. As an
+                            override the <methodname>__call()</methodname> method. As an
                             example:
                             example:
                         </para>
                         </para>
 
 
@@ -245,7 +246,7 @@ class My_Controller_Action extends Zend_Controller_Action
                     <listitem>
                     <listitem>
                         <para>
                         <para>
                             Subclass <classname>Zend_Controller_Dispatcher</classname>
                             Subclass <classname>Zend_Controller_Dispatcher</classname>
-                            and override the <code>getAction()</code> method to
+                            and override the <methodname>getAction()</methodname> method to
                             verify the action exists. As an example:
                             verify the action exists. As an example:
                         </para>
                         </para>
 
 
@@ -300,12 +301,12 @@ class My_Controller_Dispatcher extends Zend_Controller_Dispatcher
 
 
                         <para>
                         <para>
                             By subclassing <classname>Zend_Controller_Action</classname>
                             By subclassing <classname>Zend_Controller_Action</classname>
-                            and modifying <code>preDispatch()</code>, you can
+                            and modifying <methodname>preDispatch()</methodname>, you can
                             modify all of your controllers to forward to
                             modify all of your controllers to forward to
                             another action or redirect prior to actually
                             another action or redirect prior to actually
                             dispatching the action. The code for this will look
                             dispatching the action. The code for this will look
                             similar to the code for overriding
                             similar to the code for overriding
-                            <code>__call()</code>, above.
+                            <methodname>__call()</methodname>, above.
                         </para>
                         </para>
 
 
                         <para>
                         <para>

+ 43 - 43
documentation/manual/en/module_specs/Zend_Controller-FrontController.xml

@@ -54,8 +54,8 @@
             </para>
             </para>
 
 
             <para>
             <para>
-                To disable the <code>ErrorHandler</code>, perform the following
-                at any point prior to calling <code>dispatch()</code>:
+                To disable the <emphasis>ErrorHandler</emphasis>, perform the following
+                at any point prior to calling <methodname>dispatch()</methodname>:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -64,8 +64,8 @@ $front->setParam('noErrorHandler', true);
 ]]></programlisting>
 ]]></programlisting>
 
 
             <para>
             <para>
-                To disable the <code>ViewRenderer</code>, do the following prior
-                to calling <code>dispatch()</code>:
+                To disable the <emphasis>ViewRenderer</emphasis>, do the following prior
+                to calling <methodname>dispatch()</methodname>:
             </para>
             </para>
 
 
             <programlisting language="php"><![CDATA[
             <programlisting language="php"><![CDATA[
@@ -88,7 +88,7 @@ $front->setParam('noViewRenderer', true);
             <title>getInstance()</title>
             <title>getInstance()</title>
 
 
             <para>
             <para>
-                <code>getInstance()</code> is used to retrieve a front
+                <methodname>getInstance()</methodname> is used to retrieve a front
                 controller instance. As the front controller implements a
                 controller instance. As the front controller implements a
                 Singleton pattern, this is also the only means possible for
                 Singleton pattern, this is also the only means possible for
                 instantiating a front controller object.
                 instantiating a front controller object.
@@ -103,7 +103,7 @@ $front = Zend_Controller_Front::getInstance();
             <title>setControllerDirectory() and addControllerDirectory</title>
             <title>setControllerDirectory() and addControllerDirectory</title>
 
 
             <para>
             <para>
-                <code>setControllerDirectory()</code> is used to tell <link
+                <methodname>setControllerDirectory()</methodname> is used to tell <link
                     linkend="zend.controller.dispatcher">the dispatcher</link>
                     linkend="zend.controller.dispatcher">the dispatcher</link>
                 where to look for <link
                 where to look for <link
                     linkend="zend.controller.action">action controller</link>
                     linkend="zend.controller.action">action controller</link>
@@ -132,7 +132,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
 
 
             <note>
             <note>
                 <para>
                 <para>
-                    If you use <code>addControllerDirectory()</code> without a
+                    If you use <methodname>addControllerDirectory()</methodname> without a
                     module name, it will set the directory for the
                     module name, it will set the directory for the
                     <code>default</code> module -- overwriting it if it already
                     <code>default</code> module -- overwriting it if it already
                     exists.
                     exists.
@@ -141,7 +141,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
 
 
             <para>
             <para>
                 You can get the current settings for the controller directory
                 You can get the current settings for the controller directory
-                using <code>getControllerDirectory()</code>; this will return an
+                using <methodname>getControllerDirectory()</methodname>; this will return an
                 array of module/directory pairs.
                 array of module/directory pairs.
             </para>
             </para>
         </sect3>
         </sect3>
@@ -164,7 +164,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
             </para>
             </para>
 
 
             <para>
             <para>
-                <code>addModuleDirectory()</code> allows you to pass the name of
+                <methodname>addModuleDirectory()</methodname> allows you to pass the name of
                 a directory containing one or more module directories. It then
                 a directory containing one or more module directories. It then
                 scans it and adds them as controller directories to the front
                 scans it and adds them as controller directories to the front
                 controller.
                 controller.
@@ -173,7 +173,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
             <para>
             <para>
                 Later, if you want to determine the path to a particular module
                 Later, if you want to determine the path to a particular module
                 or the current module, you can call
                 or the current module, you can call
-                <code>getModuleDirectory()</code>, optionally passing a module
+                <methodname>getModuleDirectory()</methodname>, optionally passing a module
                 name to get that specific module directory.
                 name to get that specific module directory.
             </para>
             </para>
         </sect3>
         </sect3>
@@ -182,8 +182,8 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
             <title>dispatch()</title>
             <title>dispatch()</title>
 
 
             <para>
             <para>
-                <code>dispatch(Zend_Controller_Request_Abstract $request = null,
-                    Zend_Controller_Response_Abstract $response = null)</code>
+                <methodname>dispatch(Zend_Controller_Request_Abstract $request = null,
+                    Zend_Controller_Response_Abstract $response = null)</methodname>
                 does the heavy work of the front controller. It may optionally
                 does the heavy work of the front controller. It may optionally
                 take a <link linkend="zend.controller.request">request
                 take a <link linkend="zend.controller.request">request
                     object</link> and/or a <link
                     object</link> and/or a <link
@@ -193,14 +193,14 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
 
 
             <para>
             <para>
                 If no request or response object are passed in,
                 If no request or response object are passed in,
-                <code>dispatch()</code> will check for previously registered
+                <methodname>dispatch()</methodname> will check for previously registered
                 objects and use those or instantiate default versions to use in
                 objects and use those or instantiate default versions to use in
                 its process (in both cases, the HTTP flavor will be used as the
                 its process (in both cases, the HTTP flavor will be used as the
                 default).
                 default).
             </para>
             </para>
 
 
             <para>
             <para>
-                Similarly, <code>dispatch()</code> checks for registered <link
+                Similarly, <methodname>dispatch()</methodname> checks for registered <link
                     linkend="zend.controller.router">router</link> and <link
                     linkend="zend.controller.router">router</link> and <link
                     linkend="zend.controller.dispatcher">dispatcher</link>
                     linkend="zend.controller.dispatcher">dispatcher</link>
                 objects, instantiating the default versions of each if none is
                 objects, instantiating the default versions of each if none is
@@ -219,7 +219,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
 
 
             <para>
             <para>
                 Routing takes place exactly once, using the values in the
                 Routing takes place exactly once, using the values in the
-                request object when <code>dispatch()</code> is called.
+                request object when <methodname>dispatch()</methodname> is called.
                 Dispatching takes place in a loop; a request may either indicate
                 Dispatching takes place in a loop; a request may either indicate
                 multiple actions to dispatch, or the controller or a plugin may
                 multiple actions to dispatch, or the controller or a plugin may
                 reset the request object to force additional actions to
                 reset the request object to force additional actions to
@@ -244,7 +244,7 @@ $front->addControllerDirectory('../modules/foo/controllers', 'foo');
             </para>
             </para>
 
 
             <para>
             <para>
-                Basically, <code>run()</code> is a convenience method that can
+                Basically, <methodname>run()</methodname> is a convenience method that can
                 be used for site setups that do not require customization of the
                 be used for site setups that do not require customization of the
                 front controller environment.
                 front controller environment.
             </para>
             </para>
@@ -270,7 +270,7 @@ Zend_Controller_Front::run('../application/controllers');
         <itemizedlist>
         <itemizedlist>
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>resetInstance()</code> can be used to clear all
+                    <methodname>resetInstance()</methodname> can be used to clear all
                     current settings. Its primary purpose is for testing, but it
                     current settings. Its primary purpose is for testing, but it
                     can also be used for instances where you wish to chain
                     can also be used for instances where you wish to chain
                     together multiple front controllers.
                     together multiple front controllers.
@@ -279,7 +279,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)DefaultControllerName()</code> let you
+                    <methodname>(set|get)DefaultControllerName()</methodname> let you
                     specify a different name to use for the default controller
                     specify a different name to use for the default controller
                     ('index' is used otherwise) and retrieve the current value.
                     ('index' is used otherwise) and retrieve the current value.
                     They proxy to <link
                     They proxy to <link
@@ -290,7 +290,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)DefaultAction()</code> let you specify a
+                    <methodname>(set|get)DefaultAction()</methodname> let you specify a
                     different name to use for the default action ('index' is
                     different name to use for the default action ('index' is
                     used otherwise) and retrieve the current value. They proxy
                     used otherwise) and retrieve the current value. They proxy
                     to <link linkend="zend.controller.dispatcher">the
                     to <link linkend="zend.controller.dispatcher">the
@@ -300,7 +300,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)Request()</code> let you specify <link
+                    <methodname>(set|get)Request()</methodname> let you specify <link
                         linkend="zend.controller.request">the request</link>
                         linkend="zend.controller.request">the request</link>
                     class or object to use during the dispatch process and to
                     class or object to use during the dispatch process and to
                     retrieve the current object. When setting the request
                     retrieve the current object. When setting the request
@@ -311,7 +311,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)Router()</code> let you specify <link
+                    <methodname>(set|get)Router()</methodname> let you specify <link
                         linkend="zend.controller.router">the router</link>
                         linkend="zend.controller.router">the router</link>
                     class or object to use during the dispatch process and to
                     class or object to use during the dispatch process and to
                     retrieve the current object. When setting the router
                     retrieve the current object. When setting the router
@@ -328,7 +328,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)BaseUrl()</code> let you specify <link
+                    <methodname>(set|get)BaseUrl()</methodname> let you specify <link
                         linkend="zend.controller.request.http.baseurl">the base
                         linkend="zend.controller.request.http.baseurl">the base
                         URL</link> to strip when routing requests and to
                         URL</link> to strip when routing requests and to
                     retrieve the current value. The value is provided to the
                     retrieve the current value. The value is provided to the
@@ -338,7 +338,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)Dispatcher()</code> let you specify <link
+                    <methodname>(set|get)Dispatcher()</methodname> let you specify <link
                         linkend="zend.controller.dispatcher">the
                         linkend="zend.controller.dispatcher">the
                         dispatcher</link> class or object to use during the
                         dispatcher</link> class or object to use during the
                     dispatch process and retrieve the current object. When
                     dispatch process and retrieve the current object. When
@@ -356,7 +356,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>(set|get)Response()</code> let you specify <link
+                    <methodname>(set|get)Response()</methodname> let you specify <link
                         linkend="zend.controller.response">the response</link>
                         linkend="zend.controller.response">the response</link>
                     class or object to use during the dispatch process and to
                     class or object to use during the dispatch process and to
                     retrieve the current object. When setting the response
                     retrieve the current object. When setting the response
@@ -367,8 +367,8 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>registerPlugin(Zend_Controller_Plugin_Abstract $plugin, $stackIndex =
-                        null)</code> allows you to register <link
+                    <methodname>registerPlugin(Zend_Controller_Plugin_Abstract $plugin, $stackIndex =
+                        null)</methodname> allows you to register <link
                         linkend="zend.controller.plugins">plugin objects</link>.
                         linkend="zend.controller.plugins">plugin objects</link>.
                     By setting the optional <varname>$stackIndex</varname>, you can
                     By setting the optional <varname>$stackIndex</varname>, you can
                     control the order in which plugins will execute.
                     control the order in which plugins will execute.
@@ -377,7 +377,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>unregisterPlugin($plugin)</code> let you
+                    <methodname>unregisterPlugin($plugin)</methodname> let you
                     unregister <link
                     unregister <link
                         linkend="zend.controller.plugins">plugin objects</link>.
                         linkend="zend.controller.plugins">plugin objects</link>.
                     <varname>$plugin</varname> may be either a plugin object or a
                     <varname>$plugin</varname> may be either a plugin object or a
@@ -387,11 +387,11 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>throwExceptions($flag)</code> is used to turn on/off
+                    <methodname>throwExceptions($flag)</methodname> is used to turn on/off
                     the ability to throw exceptions during the dispatch process.
                     the ability to throw exceptions during the dispatch process.
                     By default, exceptions are caught and placed in the <link
                     By default, exceptions are caught and placed in the <link
                         linkend="zend.controller.response">response
                         linkend="zend.controller.response">response
-                        object</link>; turning on <code>throwExceptions()</code>
+                        object</link>; turning on <methodname>throwExceptions()</methodname>
                     will override this behaviour.
                     will override this behaviour.
                 </para>
                 </para>
 
 
@@ -403,14 +403,14 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>returnResponse($flag)</code> is used to tell the front
+                    <methodname>returnResponse($flag)</methodname> is used to tell the front
                     controller whether to return the response
                     controller whether to return the response
-                    (<constant>TRUE</constant>) from <code>dispatch()</code>, or if the
+                    (<constant>TRUE</constant>) from <methodname>dispatch()</methodname>, or if the
                     response should be automatically emitted
                     response should be automatically emitted
                     (<constant>FALSE</constant>). By default, the response is
                     (<constant>FALSE</constant>). By default, the response is
                     automatically emitted (by calling
                     automatically emitted (by calling
                     <classname>Zend_Controller_Response_Abstract::sendResponse()</classname>);
                     <classname>Zend_Controller_Response_Abstract::sendResponse()</classname>);
-                    turning on <code>returnResponse()</code> will override this
+                    turning on <methodname>returnResponse()</methodname> will override this
                     behaviour.
                     behaviour.
                 </para>
                 </para>
 
 
@@ -439,7 +439,7 @@ Zend_Controller_Front::run('../application/controllers');
         <itemizedlist>
         <itemizedlist>
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>setParam($name, $value)</code> allows you to set a
+                    <methodname>setParam($name, $value)</methodname> allows you to set a
                     single parameter of <varname>$name</varname> with value
                     single parameter of <varname>$name</varname> with value
                     <varname>$value</varname>.
                     <varname>$value</varname>.
                 </para>
                 </para>
@@ -447,14 +447,14 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>setParams(array $params)</code> allows you to set
+                    <methodname>setParams(array $params)</methodname> allows you to set
                     multiple parameters at once using an associative array.
                     multiple parameters at once using an associative array.
                 </para>
                 </para>
             </listitem>
             </listitem>
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>getParam($name)</code> allows you to retrieve a single
+                    <methodname>getParam($name)</methodname> allows you to retrieve a single
                     parameter at a time, using <varname>$name</varname> as the
                     parameter at a time, using <varname>$name</varname> as the
                     identifier.
                     identifier.
                 </para>
                 </para>
@@ -462,14 +462,14 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>getParams()</code> allows you to retrieve the entire
+                    <methodname>getParams()</methodname> allows you to retrieve the entire
                     list of parameters at once.
                     list of parameters at once.
                 </para>
                 </para>
             </listitem>
             </listitem>
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>clearParams()</code> allows you to clear a single
+                    <methodname>clearParams()</methodname> allows you to clear a single
                     parameter (by passing a string identifier), multiple named
                     parameter (by passing a string identifier), multiple named
                     parameters (by passing an array of string identifiers), or the
                     parameters (by passing an array of string identifiers), or the
                     entire parameter stack (by passing nothing).
                     entire parameter stack (by passing nothing).
@@ -485,7 +485,7 @@ Zend_Controller_Front::run('../application/controllers');
         <itemizedlist>
         <itemizedlist>
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>useDefaultControllerAlways</code> is used to hint to
+                    <emphasis>useDefaultControllerAlways</emphasis> is used to hint to
                     <link linkend="zend.controller.dispatcher">the
                     <link linkend="zend.controller.dispatcher">the
                         dispatcher</link> to use the default controller in the
                         dispatcher</link> to use the default controller in the
                     default module for any request that is not dispatchable
                     default module for any request that is not dispatchable
@@ -501,7 +501,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>disableOutputBuffering</code> is used to hint to <link
+                    <emphasis>disableOutputBuffering</emphasis> is used to hint to <link
                         linkend="zend.controller.dispatcher">the
                         linkend="zend.controller.dispatcher">the
                         dispatcher</link> that it should not use output
                         dispatcher</link> that it should not use output
                     buffering to capture output generated by action controllers.
                     buffering to capture output generated by action controllers.
@@ -512,7 +512,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>noViewRenderer</code> is used to disable the <link
+                    <emphasis>noViewRenderer</emphasis> is used to disable the <link
                         linkend="zend.controller.actionhelpers.viewrenderer">ViewRenderer</link>.
                         linkend="zend.controller.actionhelpers.viewrenderer">ViewRenderer</link>.
                     Set this parameter to true to disable it.
                     Set this parameter to true to disable it.
                 </para>
                 </para>
@@ -520,7 +520,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <code>noErrorHandler</code> is used to disable the <link
+                    <emphasis>noErrorHandler</emphasis> is used to disable the <link
                         linkend="zend.controller.plugins.standard.errorhandler">Error
                         linkend="zend.controller.plugins.standard.errorhandler">Error
                         Handler plugin</link>. Set this parameter to true to
                         Handler plugin</link>. Set this parameter to true to
                     disable it.
                     disable it.
@@ -534,7 +534,7 @@ Zend_Controller_Front::run('../application/controllers');
 
 
         <para>
         <para>
             To extend the Front Controller, at the very minimum you will need
             To extend the Front Controller, at the very minimum you will need
-            to override the <code>getInstance()</code> method:
+            to override the <methodname>getInstance()</methodname> method:
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
@@ -552,7 +552,7 @@ class My_Controller_Front extends Zend_Controller_Front
 ]]></programlisting>
 ]]></programlisting>
 
 
         <para>
         <para>
-            Overriding the <code>getInstance()</code> method ensures that
+            Overriding the <methodname>getInstance()</methodname> method ensures that
             subsequent calls to
             subsequent calls to
             <classname>Zend_Controller_Front::getInstance()</classname> will return an
             <classname>Zend_Controller_Front::getInstance()</classname> will return an
             instance of your new subclass instead of a
             instance of your new subclass instead of a