ZendX_JQuery-View.xml 789 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Reviewed: no -->
  3. <sect1 id="zendx.jquery.view" xmlns:xi="http://www.w3.org/2001/XInclude">
  4. <title>ZendX_JQuery View Helpers</title>
  5. <para>
  6. Zend Framework provides jQuery related View Helpers through its Extras Library.
  7. These can be enabled in two ways, adding jQuery to the view helper path:
  8. </para>
  9. <programlisting language="php"><![CDATA[
  10. $view->addHelperPath("ZendX/JQuery/View/Helper", "ZendX_JQuery_View_Helper");
  11. ]]></programlisting>
  12. <para>Or using the <methodname>ZendX_JQuery::enableView(Zend_View_Interface $view)</methodname> method
  13. that does the same for you.</para>
  14. <xi:include href="ZendX_JQuery-View-JQuery.xml" />
  15. <xi:include href="ZendX_JQuery-View-Helpers.xml" />
  16. </sect1>