1 <?xml version="1.0" encoding="UTF-8"?>
3 <sect2 id="zend.application.available-resources.view">
4 <title>Zend_Application_Resource_View</title>
7 <classname>Zend_Application_Resource_View</classname> can be used to configure
8 a <classname>Zend_View</classname> instance. Configuration options are per <link
9 linkend="zend.view.introduction.options">the <classname>Zend_View</classname>
14 Once done configuring the view instance, it creates an instance of
15 <classname>Zend_Controller_Action_Helper_ViewRenderer</classname> and registers
16 the ViewRenderer with <classname>Zend_Controller_Action_HelperBroker</classname>
17 -- from which you may retrieve it later.
20 <example id="zend.application.available-resources.view.configExample">
21 <title>Sample View resource configuration</title>
24 Below is a sample <acronym>INI</acronym> snippet showing how to configure the view
28 <programlisting language="ini"><![CDATA[
29 resources.view.encoding = "UTF-8"
30 resources.view.basePath = APPLICATION_PATH "/views/scripts"