Explorar el Código

[DOCUMENTATION] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@17583 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas hace 16 años
padre
commit
75b4765a0d
Se han modificado 1 ficheros con 21 adiciones y 19 borrados
  1. 21 19
      documentation/manual/en/module_specs/Zend_Controller-Response.xml

+ 21 - 19
documentation/manual/en/module_specs/Zend_Controller-Response.xml

@@ -36,7 +36,7 @@ $response->sendResponse();
                 when it has finished dispatching the request; typically you will
                 when it has finished dispatching the request; typically you will
                 never need to call it. However, if you wish to manipulate the
                 never need to call it. However, if you wish to manipulate the
                 response or use it in testing, you can override this
                 response or use it in testing, you can override this
-                behaviour by setting the <code>returnResponse</code> flag with
+                behaviour by setting the <property>returnResponse</property> flag with
                 <methodname>Zend_Controller_Front::returnResponse(true)</methodname>:
                 <methodname>Zend_Controller_Front::returnResponse(true)</methodname>:
             </para>
             </para>
 
 
@@ -90,8 +90,8 @@ $this->getResponse()
 
 
         <para>
         <para>
             You may retrieve the response object following the front controller
             You may retrieve the response object following the front controller
-            dispatch(), or request the front controller to return the response
-            object instead of rendering output.
+            <methodname>dispatch()</methodname>, or request the front controller to return the
+            response object instead of rendering output.
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[
@@ -150,7 +150,7 @@ $front->dispatch();
                     headers have already been sent. It takes an optional flag
                     headers have already been sent. It takes an optional flag
                     indicating whether or not to throw an exception if headers
                     indicating whether or not to throw an exception if headers
                     have already been sent. This can be overridden by setting
                     have already been sent. This can be overridden by setting
-                    the property <code>headersSentThrowsException</code> to
+                    the property <property>headersSentThrowsException</property> to
                     <constant>FALSE</constant>.
                     <constant>FALSE</constant>.
                 </para>
                 </para>
             </listitem>
             </listitem>
@@ -160,8 +160,8 @@ $front->dispatch();
                     <methodname>setHeader($name, $value, $replace = false)</methodname> is
                     <methodname>setHeader($name, $value, $replace = false)</methodname> is
                     used to set an individual header. By default, it does not
                     used to set an individual header. By default, it does not
                     replace existing headers of the same name in the object;
                     replace existing headers of the same name in the object;
-                    however, setting <varname>$replace</varname> to <constant>TRUE</constant> will force it
-                    to do so.
+                    however, setting <varname>$replace</varname> to <constant>TRUE</constant> will
+                    force it to do so.
                 </para>
                 </para>
 
 
                 <para>
                 <para>
@@ -174,9 +174,10 @@ $front->dispatch();
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <methodname>setRedirect($url, $code = 302)</methodname> sets an <acronym>HTTP</acronym>
-                    Location header for a redirect. If an <acronym>HTTP</acronym> status code has
-                    been provided, it will use that status code.
+                    <methodname>setRedirect($url, $code = 302)</methodname> sets an
+                    <acronym>HTTP</acronym> Location header for a redirect. If an
+                    <acronym>HTTP</acronym> status code has been provided, it will use that status
+                    code.
                 </para>
                 </para>
 
 
                 <para>
                 <para>
@@ -203,7 +204,7 @@ $front->dispatch();
             <listitem>
             <listitem>
                 <para>
                 <para>
                     <methodname>setRawHeader()</methodname> can be used to set headers that
                     <methodname>setRawHeader()</methodname> can be used to set headers that
-                    are not key/value pairs, such as an <acronym>HTTP</acronym> status header.
+                    are not key and value pairs, such as an <acronym>HTTP</acronym> status header.
                 </para>
                 </para>
             </listitem>
             </listitem>
 
 
@@ -223,7 +224,7 @@ $front->dispatch();
 
 
             <listitem>
             <listitem>
                 <para>
                 <para>
-                    <methodname>clearAllHeaders()</methodname> clears both regular key/value
+                    <methodname>clearAllHeaders()</methodname> clears both regular key and value
                     headers as well as raw headers.
                     headers as well as raw headers.
                 </para>
                 </para>
             </listitem>
             </listitem>
@@ -322,8 +323,8 @@ array(
                     create it if it does not exist (appending to the array by
                     create it if it does not exist (appending to the array by
                     default). If no named segment is passed to
                     default). If no named segment is passed to
                     <methodname>setBody()</methodname>, it resets the entire body content
                     <methodname>setBody()</methodname>, it resets the entire body content
-                    array. If no named segment is passed to appendBody(), the
-                    content is appended to the value in the 'default' name
+                    array. If no named segment is passed to <methodname>appendBody()</methodname>,
+                    the content is appended to the value in the 'default' name
                     segment.
                     segment.
                 </para>
                 </para>
             </listitem>
             </listitem>
@@ -371,10 +372,10 @@ array(
                 <para>
                 <para>
                     <methodname>getBody($spec = false)</methodname> can be used to retrieve a
                     <methodname>getBody($spec = false)</methodname> can be used to retrieve a
                     single array segment if <varname>$spec</varname> is the name of a named
                     single array segment if <varname>$spec</varname> is the name of a named
-                    segment. If <varname>$spec</varname> is <constant>FALSE</constant>, it returns a string
-                    formed by concatenating all named segments in order. If
-                    <varname>$spec</varname> is <constant>TRUE</constant>, it returns the body content
-                    array.
+                    segment. If <varname>$spec</varname> is <constant>FALSE</constant>, it returns
+                    a string formed by concatenating all named segments in order. If
+                    <varname>$spec</varname> is <constant>TRUE</constant>, it returns the body
+                    content array.
                 </para>
                 </para>
             </listitem>
             </listitem>
         </itemizedlist>
         </itemizedlist>
@@ -495,8 +496,9 @@ array(
         <para>
         <para>
             Reasons to subclass the response object include modifying how output
             Reasons to subclass the response object include modifying how output
             is returned based on the request environment (e.g., not sending
             is returned based on the request environment (e.g., not sending
-            headers for CLI or <acronym>PHP</acronym>-GTK requests), adding functionality to return
-            a final view based on content stored in named segments, etc.
+            headers for <acronym>CLI</acronym> or <acronym>PHP</acronym>-<acronym>GTK</acronym>
+            requests), adding functionality to return a final view based on content stored in named
+            segments, etc.
         </para>
         </para>
     </sect2>
     </sect2>
 </sect1>
 </sect1>