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