Zend_Application_Resource_ViewZend_Application_Resource_View can be used to configure
a Zend_View instance. Configuration options are per the Zend_View
options.
Once done configuring the view instance, it creates an instance of
Zend_Controller_Action_Helper_ViewRenderer and registers
the ViewRenderer with Zend_Controller_Action_HelperBroker
-- from which you may retrieve it later.
Sample View resource configuration
Below is a sample INI snippet showing how to configure the view
resource.
Defining doctype to use
If you want to obtain more information about values, see Doctype Helper
.
Sample doctype configuration
The following snippet shows how to set a doctype.
Defining content type and encoding to use
If you want to obtain more information about values, see HeadMeta Helper
.
Sample content type and encoding configuration
The following snippet shows how to set a meta Content-Type.
Sample encoding configuration for a HTML5 document
The following snippet shows how to set a meta charset in HTML5-style.