Sfoglia il codice sorgente

[MANUAL] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19434 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas 16 anni fa
parent
commit
1992cc702a

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

@@ -4,9 +4,9 @@
     <title>InlineScript Helper</title>
     <title>InlineScript Helper</title>
 
 
     <para>
     <para>
-        The HTML <code>&lt;script&gt;</code> element is used to either provide
+        The HTML <emphasis>&lt;script&gt;</emphasis> element is used to either provide
         inline client-side scripting elements or link to a remote resource
         inline client-side scripting elements or link to a remote resource
-        containing client-side scripting code. The <code>InlineScript</code>
+        containing client-side scripting code. The <classname>InlineScript</classname>
         helper allows you to manage both. It is derived from <link
         helper allows you to manage both. It is derived from <link
             linkend="zend.view.helpers.initial.headscript">HeadScript</link>,
             linkend="zend.view.helpers.initial.headscript">HeadScript</link>,
         and any method of that helper is available; however, use the
         and any method of that helper is available; however, use the
@@ -18,14 +18,14 @@
         <title>Use InlineScript for HTML Body Scripts</title>
         <title>Use InlineScript for HTML Body Scripts</title>
 
 
         <para>
         <para>
-            <code>InlineScript</code>, should be used when you wish to include
-            scripts inline in the HTML <code>body</code>. Placing scripts at the
+            <classname>InlineScript</classname>, should be used when you wish to include
+            scripts inline in the HTML <emphasis>body</emphasis>. Placing scripts at the
             end of your document is a good practice for speeding up delivery of
             end of your document is a good practice for speeding up delivery of
             your page, particularly when using 3rd party analytics scripts.
             your page, particularly when using 3rd party analytics scripts.
         </para>
         </para>
 
 
         <para>
         <para>
-            Some JS libraries need to be included in the HTML <code>head</code>;
+            Some JS libraries need to be included in the HTML <emphasis>head</emphasis>;
             use <link linkend="zend.view.helpers.initial.headscript">HeadScript</link>
             use <link linkend="zend.view.helpers.initial.headscript">HeadScript</link>
             for those scripts.
             for those scripts.
         </para>
         </para>

+ 2 - 2
documentation/manual/en/module_specs/Zend_View-Helpers-Json.xml

@@ -44,7 +44,7 @@ Content-Type: application/json
         <para>
         <para>
             To keep layouts, the second parameter needs to be boolean
             To keep layouts, the second parameter needs to be boolean
             <constant>TRUE</constant>. When the second parameter is an array, keeping
             <constant>TRUE</constant>. When the second parameter is an array, keeping
-            layouts can be achieved by including a <code>keepLayouts</code> key
+            layouts can be achieved by including a <property>keepLayouts</property> key
             with a value of a boolean <constant>TRUE</constant>.
             with a value of a boolean <constant>TRUE</constant>.
         </para>
         </para>
 
 
@@ -60,7 +60,7 @@ echo $this->json($this->data, array('keepLayouts' => true));
             <classname>Zend_Json::encode</classname> allows the encoding of native
             <classname>Zend_Json::encode</classname> allows the encoding of native
             <acronym>JSON</acronym> expressions using <classname>Zend_Json_Expr</classname> objects.
             <acronym>JSON</acronym> expressions using <classname>Zend_Json_Expr</classname> objects.
             This option is disabled by default. To enable this option, pass a boolean
             This option is disabled by default. To enable this option, pass a boolean
-            <constant>TRUE</constant> to the <code>enableJsonExprFinder</code> key of
+            <constant>TRUE</constant> to the <property>enableJsonExprFinder</property> key of
             the options array:
             the options array:
         </para>
         </para>
 
 

+ 11 - 10
documentation/manual/en/module_specs/Zend_View-Helpers-Partial.xml

@@ -4,7 +4,7 @@
     <title>Partial Helper</title>
     <title>Partial Helper</title>
 
 
     <para>
     <para>
-        The <code>Partial</code> view helper is used to render a specified
+        The <classname>Partial</classname> view helper is used to render a specified
         template within its own variable scope. The primary use is for reusable
         template within its own variable scope. The primary use is for reusable
         template fragments with which you do not need to worry about variable
         template fragments with which you do not need to worry about variable
         name clashes. Additionally, they allow you to specify partial view
         name clashes. Additionally, they allow you to specify partial view
@@ -12,7 +12,7 @@
     </para>
     </para>
 
 
     <para>
     <para>
-        A sibling to the <code>Partial</code>, the <code>PartialLoop</code> view
+        A sibling to the <classname>Partial</classname>, the <classname>PartialLoop</classname> view
         helper allows you to pass iterable data, and render a partial for each
         helper allows you to pass iterable data, and render a partial for each
         item.
         item.
     </para>
     </para>
@@ -20,9 +20,10 @@
     <note>
     <note>
         <title>PartialLoop Counter</title>
         <title>PartialLoop Counter</title>
         <para>
         <para>
-            The <code>PartialLoop</code> view helper assigns a variable to the view named
-            <code>partialCounter</code> which passes the current position of the array to the view
-            script. This provides an easy way to have alternating colors on table rows for example.
+            The <classname>PartialLoop</classname> view helper assigns a variable to the view named
+            <emphasis>partialCounter</emphasis> which passes the current position of the array to
+            the view script. This provides an easy way to have alternating colors on table rows for
+            example.
         </para>
         </para>
 
 
     </note>
     </note>
@@ -69,7 +70,7 @@
             <title>What is a model?</title>
             <title>What is a model?</title>
 
 
             <para>
             <para>
-                A model used with the <code>Partial</code> view helper can be
+                A model used with the <classname>Partial</classname> view helper can be
                 one of the following:
                 one of the following:
             </para>
             </para>
 
 
@@ -134,11 +135,11 @@ $view->partialLoop()->setObjectKey('model');
         </para>
         </para>
 
 
         <para>
         <para>
-            The <code>PartialLoop</code> view helper helps solve this issue. It
+            The <classname>PartialLoop</classname> view helper helps solve this issue. It
             allows you to pass an iterable item (array or object implementing
             allows you to pass an iterable item (array or object implementing
-            <code>Iterator</code>) as the model. It then iterates over this,
+            <emphasis>Iterator</emphasis>) as the model. It then iterates over this,
             passing, the items to the partial script as the model. Items in the
             passing, the items to the partial script as the model. Items in the
-            iterator may be any model the <code>Partial</code> view helper
+            iterator may be any model the <classname>Partial</classname> view helper
             allows.
             allows.
         </para>
         </para>
 
 
@@ -167,7 +168,7 @@ $model = array(
 
 
         <para>
         <para>
             In your view script, you could then invoke the
             In your view script, you could then invoke the
-            <code>PartialLoop</code> helper:
+            <classname>PartialLoop</classname> helper:
         </para>
         </para>
 
 
         <programlisting language="php"><![CDATA[
         <programlisting language="php"><![CDATA[