Zend_View has several options that may be set to
configure the behaviour of your view scripts.
-
basePath: indicate a base path from which to set the script, helper, and filter path. It assumes a directory structure of:
<?php
base/path/
helpers/
filters/
scripts/This may be set via
setBasePath(),addBasePath(), or the basePath option to the constructor. encoding: indicate the character encoding to use with
htmlentities(),htmlspecialchars(), and other operations. Defaults to UTF-8. May be set viasetEncoding()or the encoding option to the constructor.escape: indicate a callback to be used by
escape(). May be set viasetEscape()or the escape option to the constructor.filter: indicate a filter to use after rendering a view script. May be set via
setFilter(),addFilter(), or the filter option to the constructor.strictVars: force
Zend_Viewto emit notices and warnings when uninitialized view variables are accessed. This may be set by callingstrictVars(true)or passing the strictVars option to the constructor.




