Zend_Application-AvailableResources-Dojo.xml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect2 id="zend.application.available-resources.dojo">
  4. <title>Zend_Application_Resource_Dojo</title>
  5. <para>
  6. <classname>Zend_Application_Resource_Dojo</classname> can be used
  7. to configure the <classname>Zend_Dojo</classname> viewhelpers.
  8. </para>
  9. <example id="zend.application.available-resources.dojo.configExample">
  10. <title>Sample Dojo resource configuration</title>
  11. <para>
  12. Below is a sample <acronym>INI</acronym> file showing how
  13. <classname>Zend_Dojo</classname> can be enabled.
  14. </para>
  15. <programlisting language="ini"><![CDATA[
  16. resources.dojo.enable = true ; Always load the Dojo javascript files
  17. ]]></programlisting>
  18. <para>
  19. The <classname>Zend_Dojo</classname> resource plugin utilises the options for the
  20. <methodname>Zend_Dojo_View_Helper_Dojo_Container::setOptions()</methodname> to
  21. configure the viewhelpers. Please see the <link linkend="zend.dojo">Zend_Dojo</link>
  22. chapter for full descriptions and available options.
  23. </para>
  24. </example>
  25. </sect2>