Quellcode durchsuchen

[MANUAL] English:

- manual fixes

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@19438 44c647ce-9c0f-0410-b52a-842ac1e357ba
thomas vor 16 Jahren
Ursprung
Commit
4ba01517f1

+ 54 - 23
documentation/manual/en/module_specs/Zend_View-Helpers-HeadLink.xml

@@ -4,27 +4,43 @@
     <title>HeadLink Helper</title>
 
     <para>
-        The HTML <code>&lt;link&gt;</code> element is increasingly used for
+        The HTML <emphasis>&lt;link&gt;</emphasis> element is increasingly used for
         linking a variety of resources for your site: stylesheets, feeds,
-        favicons, trackbacks, and more. The <code>HeadLink</code> helper
+        favicons, trackbacks, and more. The <classname>HeadLink</classname> helper
         provides a simple interface for creating and aggregating these elements
         for later retrieval and output in your layout script.
     </para>
 
     <para>
-        The <code>HeadLink</code> helper has special methods for adding
+        The <classname>HeadLink</classname> helper has special methods for adding
         stylesheet links to its stack:
     </para>
 
     <itemizedlist>
-        <listitem><para><code>appendStylesheet($href, $media,
-                    $conditionalStylesheet, $extras)</code></para></listitem>
-        <listitem><para><code>offsetSetStylesheet($index, $href, $media,
-                    $conditionalStylesheet, $extras)</code></para></listitem>
-        <listitem><para><code>prependStylesheet($href, $media,
-                    $conditionalStylesheet, $extras)</code></para></listitem>
-        <listitem><para><code>setStylesheet($href, $media,
-                    $conditionalStylesheet, $extras)</code></para></listitem>
+        <listitem>
+            <para>
+                <command>appendStylesheet($href, $media, $conditionalStylesheet, $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>offsetSetStylesheet($index, $href, $media, $conditionalStylesheet,
+                    $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>prependStylesheet($href, $media, $conditionalStylesheet, $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>setStylesheet($href, $media, $conditionalStylesheet, $extras)</command>
+            </para>
+        </listitem>
     </itemizedlist>
 
     <para>
@@ -37,30 +53,45 @@
     </para>
 
     <para>
-        Additionally, the <code>HeadLink</code> helper has special methods for
+        Additionally, the <classname>HeadLink</classname> helper has special methods for
         adding 'alternate' links to its stack:
     </para>
 
     <itemizedlist>
-        <listitem><para><code>appendAlternate($href, $type,
-                    $title, $extras)</code></para></listitem>
-        <listitem><para><code>offsetSetAlternate($index, $href, $type,
-                    $title, $extras)</code></para></listitem>
-        <listitem><para><code>prependAlternate($href, $type,
-                    $title, $extras)</code></para></listitem>
-        <listitem><para><code>setAlternate($href, $type,
-                    $title, $extras)</code></para></listitem>
+        <listitem>
+            <para>
+                <command>appendAlternate($href, $type, $title, $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>offsetSetAlternate($index, $href, $type, $title, $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>prependAlternate($href, $type, $title, $extras)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>setAlternate($href, $type, $title, $extras)</command>
+            </para>
+        </listitem>
     </itemizedlist>
 
     <para>
         The <methodname>headLink()</methodname> helper method allows specifying all
-        attributes necessary for a <code>&lt;link&gt;</code> element, and allows
+        attributes necessary for a <emphasis>&lt;link&gt;</emphasis> element, and allows
         you to also specify placement -- whether the new element replaces all
         others, prepends (top of stack), or appends (end of stack).
     </para>
 
     <para>
-        The <code>HeadLink</code> helper is a concrete implementation of the
+        The <classname>HeadLink</classname> helper is a concrete implementation of the
         <link linkend="zend.view.helpers.initial.placeholder">Placeholder
             helper</link>.
     </para>
@@ -69,7 +100,7 @@
         <title>HeadLink Helper Basic Usage</title>
 
         <para>
-            You may specify a <code>headLink</code> at any time. Typically, you
+            You may specify a <emphasis>headLink</emphasis> at any time. Typically, you
             will specify global links in your layout script, and application
             specific links in your application view scripts. In your layout
             script, in the &lt;head&gt; section, you will then echo the helper

+ 55 - 23
documentation/manual/en/module_specs/Zend_View-Helpers-HeadMeta.xml

@@ -4,7 +4,7 @@
     <title>HeadMeta Helper</title>
 
     <para>
-        The HTML <code>&lt;meta&gt;</code> element is used to provide meta
+        The HTML <emphasis>&lt;meta&gt;</emphasis> element is used to provide meta
         information about your HTML document -- typically keywords, document
         character set, caching pragmas, etc. Meta tags may be either of the
         'http-equiv' or 'name' types, must contain a 'content' attribute, and
@@ -12,27 +12,59 @@
     </para>
 
     <para>
-        The <code>HeadMeta</code> helper supports the following methods for
+        The <classname>HeadMeta</classname> helper supports the following methods for
         setting and adding meta tags:
     </para>
 
     <itemizedlist>
-        <listitem><para><code>appendName($keyValue, $content,
-                    $conditionalName)</code></para></listitem>
-        <listitem><para><code>offsetSetName($index, $keyValue, $content,
-                    $conditionalName)</code></para></listitem>
-        <listitem><para><code>prependName($keyValue, $content,
-                    $conditionalName)</code></para></listitem>
-        <listitem><para><code>setName($keyValue, $content,
-                    $modifiers)</code></para></listitem>
-        <listitem><para><code>appendHttpEquiv($keyValue, $content,
-                    $conditionalHttpEquiv)</code></para></listitem>
-        <listitem><para><code>offsetSetHttpEquiv($index, $keyValue, $content,
-                    $conditionalHttpEquiv)</code></para></listitem>
-        <listitem><para><code>prependHttpEquiv($keyValue, $content,
-                    $conditionalHttpEquiv)</code></para></listitem>
-        <listitem><para><code>setHttpEquiv($keyValue, $content,
-                    $modifiers)</code></para></listitem>
+        <listitem>
+            <para>
+                <command>appendName($keyValue, $content, $conditionalName)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>offsetSetName($index, $keyValue, $content, $conditionalName)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>prependName($keyValue, $content, $conditionalName)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>setName($keyValue, $content, $modifiers)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>appendHttpEquiv($keyValue, $content, $conditionalHttpEquiv)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>offsetSetHttpEquiv($index, $keyValue, $content,
+                    $conditionalHttpEquiv)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>prependHttpEquiv($keyValue, $content, $conditionalHttpEquiv)</command>
+            </para>
+        </listitem>
+
+        <listitem>
+            <para>
+                <command>setHttpEquiv($keyValue, $content, $modifiers)</command>
+            </para>
+        </listitem>
     </itemizedlist>
 
     <para>
@@ -44,9 +76,9 @@
 
     <para>
         You may also set meta tags using the <methodname>headMeta()</methodname> helper
-        method, which has the following signature: <code>headMeta($content,
+        method, which has the following signature: <command>headMeta($content,
             $keyValue, $keyType = 'name', $modifiers = array(), $placement =
-            'APPEND')</code>. <varname>$keyValue</varname> is the content for the key
+            'APPEND')</command>. <varname>$keyValue</varname> is the content for the key
         specified in <varname>$keyType</varname>, which should be either 'name' or
         'http-equiv'. <varname>$placement</varname> can be either 'SET' (overwrites
         all previously stored values), 'APPEND' (added to end of stack), or
@@ -54,17 +86,17 @@
     </para>
 
     <para>
-        <code>HeadMeta</code> overrides each of <methodname>append()</methodname>,
+        <classname>HeadMeta</classname> overrides each of <methodname>append()</methodname>,
         <methodname>offsetSet()</methodname>, <methodname>prepend()</methodname>, and
         <methodname>set()</methodname> to enforce usage of the special methods as listed above.
-        Internally, it stores each item as a <code>stdClass</code> token, which it later
+        Internally, it stores each item as a <property>stdClass</property> token, which it later
         serializes using the <methodname>itemToString()</methodname> method. This allows you
         to perform checks on the items in the stack, and optionally modify these
         items by simply modifying the object returned.
     </para>
 
     <para>
-        The <code>HeadMeta</code> helper is a concrete implementation of the
+        The <classname>HeadMeta</classname> helper is a concrete implementation of the
         <link linkend="zend.view.helpers.initial.placeholder">Placeholder
             helper</link>.
     </para>