Zend_View_AbstractImplements interfaces:
Abstract class for Zend_View to help enforce private constructs.
Located in /View/Abstract.php (line 39)
| Class | Description |
|---|---|
Zend_View
|
Concrete class for handling view scripts. |
Constructor __construct (line 129)
Constructor.
addBasePath (line 349)
Given a base path, add script, helper, and filter paths relative to it
Assumes a directory structure of:
addFilter (line 633)
Add one or more filters to the stack in FIFO order.
addFilterPath (line 526)
Adds to the stack of filter paths in LIFO order.
addHelperPath (line 427)
Adds to the stack of helper paths in LIFO order.
addScriptPath (line 367)
Adds to the stack of view script paths in LIFO order.
assign (line 685)
Assigns variables to the view script via differing strategies.
Zend_View::assign('name', $value) assigns a variable called 'name' with the corresponding $value.
Zend_View::assign($array) assigns the array keys as variable names (with the corresponding array values).
clearVars (line 745)
Clear all assigned variables
Clears all variables assigned to Zend_View either via assign() or property overloading (__set()).
escape (line 782)
Escapes a value for output in a view script.
If escaping mechanism is one of htmlspecialchars or htmlentities, uses $_encoding setting.
getAllPaths (line 622)
Return associative array of path types => paths
getEncoding (line 808)
Return current escape encoding
getEngine (line 198)
Return the template engine object
Returns the object instance, as it is its own template engine
getFilter (line 582)
Get a filter object by name
getFilterPath (line 562)
Get full path to a filter class file specified by $name
getFilterPaths (line 612)
Returns an array of all currently set filter paths
getFilters (line 602)
Return array of all currently active filters
Only returns those that have already been instantiated.
getHelper (line 493)
Get a helper by name
getHelperPath (line 463)
Get full path to a helper class file specified by $name
getHelperPaths (line 482)
Returns an array of all currently set helper paths
getHelpers (line 513)
Get array of all active helpers
Only returns those that have already been instantiated.
getScriptPath (line 395)
Return full path to a view script specified by $name
getScriptPaths (line 414)
Returns an array of all currently set script paths
getVars (line 725)
Return list of all assigned variables
Returns all public properties of the object. Reflection is not used here as testing reflection properties for visibility is buggy.
init (line 211)
Allow custom object initialization when extending Zend_View_Abstract or Zend_View
Triggered by the constructor as its final action.
render (line 761)
Processes a view script and returns the output.
setBasePath (line 322)
Given a base path, sets the script, helper, and filter paths relative to it
Assumes a directory structure of:
setEncoding (line 797)
Set encoding to use with htmlentities() and htmlspecialchars()
setEscape (line 662)
Sets the _escape() callback.
setFilter (line 649)
Resets the filter stack.
To clear all filters, use Zend_View::setFilter(null).
setFilterPath (line 546)
Resets the stack of filter paths.
To clear all paths, use Zend_View::setFilterPath(null).
setHelperPath (line 447)
Resets the stack of helper paths.
To clear all paths, use Zend_View::setHelperPath(null).
setScriptPath (line 381)
Resets the stack of view script paths.
To clear all paths, use Zend_View::setScriptPath(null).
strictVars (line 825)
Enable or disable strict vars
If strict variables are enabled, __get() will raise a notice when a variable is not defined.
Use in conjunction with the declareVars() helper to enforce strict variable handling in your view scripts.
_run (line 1037)
Use to include the view script in a scope that only allows public members.
_script (line 838)
Finds a view script from the available directories.
__call (line 295)
Accesses a helper object from within a script.
If the helper class has a 'view' property, sets it with the current view object.
__get (line 223)
Prevent E_NOTICE for nonexistent values
If strictVars() is on, raises a notice.
__isset (line 239)
Allows testing with empty() and isset() to work inside templates.
__set (line 261)
Directly assigns a variable to the view script.
Checks first to ensure that the caller is not attempting to set a protected or private member (by checking for a prefixed underscore); if not, the public member is set; otherwise, an exception is raised.
__unset (line 278)
Allows unset() on object properties to work
Documentation generated on Sun, 27 May 2007 23:19:36 -0700 by phpDocumentor 1.3.2