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

Fixed typo in docs for Zend_App_Resource_Nav & Added docs for Zend_App_Resource_Layout ( resolves #ZF-6488 )

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

+ 26 - 0
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Layout.xml

@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Reviewed: no -->
+<sect2 id="zend.application.available-resources.layout">
+    <title>Zend_Application_Resource_Layout</title>
+
+    <para>
+        <classname>Zend_Application_Resource_Layout</classname> can be used to
+        configure <classname>Zend_Layout</classname>. Configuration options are
+        per <link linkend="zend.layout.options">the <classname>Zend_Layout
+        </classname> options</link>.
+    </para>
+
+    <example id="zend.application.available-resources.layout.configExample">
+        <title>Sample Layout configuration</title>
+
+        <para>
+            Below is a sample <acronym>INI</acronym> snippet showing how to
+            configure the navigation resource.
+        </para>
+
+        <programlisting language="ini"><![CDATA[
+resources.layout.layout = "NameOfDefaultLayout"
+resources.layout.Path = "/path/to/layouts"
+]]></programlisting>
+    </example>
+</sect2>

+ 1 - 1
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Navigation.xml

@@ -11,7 +11,7 @@
     </para>
 
     <para>
-        Once done configuring the navigation instance, it by assigns the instance to
+        Once done configuring the navigation instance, it assigns the instance to
         <classname>Zend_View_Helper_Navigation</classname> by default
         -- from which you may retrieve it later.
     </para>