| Author | Title |
|---|---|
| escape($val['author']) ?> | escape($val['title']) ?> |
There are no books to display.
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:
setBasePath(),
addBasePath(), or the basePath
option to the constructor.
encoding: indicate the character encoding to use
with htmlentities(),
htmlspecialchars(), and other operations. Defaults
to ISO-8859-1 (latin1). May be set via
setEncoding() or the encoding option
to the constructor.
escape: indicate a callback to be used by
escape(). May be set via setEscape()
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_View to emit
notices and warnings when uninitialized view variables are
accessed. This may be set by calling
strictVars(true) or passing the
strictVars option to the constructor.
assign(),
render(), or one of the methods for setting/adding
filter, helper, and script paths. However, if you wish to extend
Zend_View yourself, or need access to some of its
internals, a number of accessors exist:
getVars() will return all assigned variables.
clearVars() will clear all assigned variables;
useful when you wish to re-use a view object, but want to
control what variables are available..
getScriptPath($script) will retrieve the
resolved path to a given view script.
getScriptPaths() will retrieve all registered
script paths.
getHelperPath($helper) will retrieve the
resolved path to the named helper class.
getHelperPaths() will retrieve all registered
helper paths.
getFilterPath($filter) will retrieve the
resolved path to the named filter class.
getFilterPaths() will retrieve all registered
filter paths.