Преглед изворни кода

DOCUMENTATION Fixed typo (translation may be needed)

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21321 44c647ce-9c0f-0410-b52a-842ac1e357ba
freak пре 16 година
родитељ
комит
652a6c77d4

+ 31 - 0
documentation/manual/en/module_specs/Zend_Application-AvailableResources-Dojo.xml

@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Reviewed: no -->
+<sect2 id="zend.application.available-resources.dojo">
+    <title>Zend_Application_Resource_Dojo</title>
+
+    <para>
+        <classname>Zend_Application_Resource_Dojo</classname> can be used
+        to configure the <classname>Zend_Dojo</classname> viewhelpers.
+    </para>
+
+    <example id="zend.application.available-resources.dojo.configExample">
+        <title>Sample Dojo resource configuration</title>
+
+        <para>
+            Below is a sample <acronym>INI</acronym> file showing how
+            <classname>Zend_Dojo</classname> can be enabled.
+        </para>
+
+        <programlisting language="ini"><![CDATA[
+resources.dojo.enable = true ; Always load the Dojo javascript files
+]]></programlisting>
+
+
+        <para>
+            The <classname>Zend_Dojo</classname> resource plugin utilises the options for the
+            <command>Zend_Dojo_View_Helper_Dojo_Container::setOptions()</command> to configure the
+            viewhelpers. Please see the <classname><link linkend="zend.dojo">Zend_Dojo</link></classname>
+            chapter for full descriptions and available options.
+        </para>
+    </example>
+</sect2>

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

@@ -15,7 +15,7 @@
 
         <para>
             Below is a sample <acronym>INI</acronym> snippet showing how to
-            configure the navigation resource.
+            configure the layout resource.
         </para>
 
         <programlisting language="ini"><![CDATA[

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

@@ -10,6 +10,7 @@
 
     <xi:include href="Zend_Application-AvailableResources-CacheManager.xml" />
     <xi:include href="Zend_Application-AvailableResources-Db.xml" />
+    <xi:include href="Zend_Application-AvailableResources-Dojo.xml" />
     <xi:include href="Zend_Application-AvailableResources-Frontcontroller.xml" />
     <xi:include href="Zend_Application-AvailableResources-Layout.xml" />
     <xi:include href="Zend_Application-AvailableResources-Locale.xml" />