Просмотр исходного кода

[MANUAL] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19436 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 лет назад
Родитель
Сommit
a6a7e92714

+ 5 - 5
documentation/manual/en/module_specs/Zend_View-Helpers-Action.xml

@@ -4,7 +4,7 @@
     <title>Action View Helper</title>
 
     <para>
-        The <code>Action</code> view helper enables view scripts to dispatch a
+        The <classname>Action</classname> view helper enables view scripts to dispatch a
         given controller action; the result of the response object following the
         dispatch is then returned. These can be used when a particular action
         could generate re-usable content or "widget-ized" content.
@@ -16,9 +16,9 @@
     </para>
 
     <para>
-        The <acronym>API</acronym> for the <code>Action</code> view helper follows that of most
-        <acronym>MVC</acronym> components that invoke controller actions: <code>action($action,
-            $controller, $module = null, array $params = array())</code>.
+        The <acronym>API</acronym> for the <classname>Action</classname> view helper follows that of
+        most <acronym>MVC</acronym> components that invoke controller actions:
+        <command>action($action, $controller, $module = null, array $params = array())</command>.
         <varname>$action</varname> and <varname>$controller</varname> are required; if no
         module is specified, the default module is assumed.
     </para>
@@ -27,7 +27,7 @@
         <title>Basic Usage of Action View Helper</title>
 
         <para>
-            As an example, you may have a <code>CommentController</code> with a
+            As an example, you may have a <classname>CommentController</classname> with a
             <methodname>listAction()</methodname> method you wish to invoke in order to pull
             a list of comments for the current request:
         </para>

+ 3 - 3
documentation/manual/en/module_specs/Zend_View-Helpers-Cycle.xml

@@ -5,7 +5,7 @@
     <title>Cycle Helper</title>
 
     <para>
-      The <code>Cycle</code> helper is used to alternate a set of values.
+      The <classname>Cycle</classname> helper is used to alternate a set of values.
     </para>
 
     <example id="zend.view.helpers.initial.cycle.basicusage">
@@ -53,8 +53,8 @@ $this->cycle()->prev();
 
        <para>
            To use two cycles you have to specify the names of cycles. Just set second parameter in
-           cycle method. <code>$this->cycle(array("#F0F0F0","#FFFFFF"),'cycle2')</code>. You can
-           also use setName($name) function.
+           cycle method. <command>$this->cycle(array("#F0F0F0","#FFFFFF"),'cycle2')</command>. You
+           can also use setName($name) function.
         </para>
 
     </example>

+ 4 - 4
documentation/manual/en/module_specs/Zend_View-Helpers-Doctype.xml

@@ -7,12 +7,12 @@
         Valid HTML and <acronym>XHTML</acronym> documents should include a
         <constant>DOCTYPE</constant> declaration. Besides being difficult to remember, these can
         also affect how certain elements in your document should be rendered (for instance,
-        CDATA escaping in <code>&lt;script&gt;</code> and
-        <code>&lt;style&gt;</code> elements.
+        CDATA escaping in <emphasis>&lt;script&gt;</emphasis> and
+        <emphasis>&lt;style&gt;</emphasis> elements.
     </para>
 
     <para>
-        The <code>Doctype</code> helper allows you to specify one of the
+        The <classname>Doctype</classname> helper allows you to specify one of the
         following types:
     </para>
 
@@ -33,7 +33,7 @@
     </para>
 
     <para>
-        The <code>Doctype</code> helper is a concrete implementation of the
+        The <classname>Doctype</classname> helper is a concrete implementation of the
         <link linkend="zend.view.helpers.initial.placeholder">Placeholder
             helper</link>.
     </para>

+ 4 - 4
documentation/manual/en/module_specs/Zend_View-Helpers-HeadTitle.xml

@@ -4,17 +4,17 @@
     <title>HeadTitle Helper</title>
 
     <para>
-        The HTML <code>&lt;title&gt;</code> element is used to provide a title
-        for an HTML document. The <code>HeadTitle</code> helper allows you to
+        The HTML <emphasis>&lt;title&gt;</emphasis> element is used to provide a title
+        for an HTML document. The <classname>HeadTitle</classname> helper allows you to
         programmatically create and store the title for later retrieval and
         output.
     </para>
 
     <para>
-        The <code>HeadTitle</code> helper is a concrete implementation of the
+        The <classname>HeadTitle</classname> helper is a concrete implementation of the
         <link linkend="zend.view.helpers.initial.placeholder">Placeholder
             helper</link>. It overrides the <methodname>toString()</methodname> method to
-        enforce generating a <code>&lt;title&gt;</code> element, and adds a
+        enforce generating a <emphasis>&lt;title&gt;</emphasis> element, and adds a
         <methodname>headTitle()</methodname> method for quick and easy setting and
         aggregation of title elements. The signature for that method is
         <methodname>headTitle($title, $setType = 'APPEND')</methodname>; by default, the