Przeglądaj źródła

ZF-10342: English and French documentation to configure the doctype for the view resource

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22964 44c647ce-9c0f-0410-b52a-842ac1e357ba
intiilapa 15 lat temu
rodzic
commit
c3aa2b5ab0

+ 22 - 0
documentation/manual/en/module_specs/Zend_Application-AvailableResources-View.xml

@@ -30,4 +30,26 @@ resources.view.encoding = "UTF-8"
 resources.view.basePath = APPLICATION_PATH "/views/"
 ]]></programlisting>
     </example>
+
+    <sect3 id="zend.application.available-resources.view.doctype">
+         <title>Defining doctype to use</title>
+
+         <para>
+             If you want to obtain more information about values, see <link 
+             linkend="zend.view.helpers.html#zend.view.helpers.initial.doctype">Doctype Helper 
+             </link>.
+         </para>
+ 
+         <example id="zend.application.available-resources.view.doctypeExample">
+             <title>Sample doctype configuration</title>
+
+             <para>
+                 The following snippet shows how to set a doctype.
+             </para>
+
+             <programlisting language="ini"><![CDATA[
+resources.view.doctype = "HTML5"
+]]></programlisting>
+         </example>
+     </sect3>
 </sect2>

+ 22 - 0
documentation/manual/fr/module_specs/Zend_Application-AvailableResources-View.xml

@@ -30,4 +30,26 @@ resources.view.encoding = "UTF-8"
 resources.view.basePath = APPLICATION_PATH "/views"
 ]]></programlisting>
     </example>
+
+    <sect3 id="zend.application.available-resources.view.doctype">
+        <title>Définir une doctype</title>
+
+        <para>
+            Pour obtenir plus d'informations à propos des valeurs de l'aide de vue Doctype, veuillez 
+            la <link linkend="zend.view.helpers.html#zend.view.helpers.initial.doctype">section 
+            dédiée</link>.
+        </para>
+
+        <example id="zend.application.available-resources.view.doctypeExample">
+            <title>Exemple de configuration d'une doctype</title>
+
+            <para>
+                L'extrait suivant montre comment spécifier la doctype de son choix.
+            </para>
+
+            <programlisting language="ini"><![CDATA[
+resources.view.doctype = "HTML5"
+]]></programlisting>
+        </example>
+    </sect3>
 </sect2>