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.
addFilter (line 587)
Add one or more filters to the stack in FIFO order.
addFilterPath (line 480)
Adds to the stack of filter paths in LIFO order.
addHelperPath (line 381)
Adds to the stack of helper paths in LIFO order.
addScriptPath (line 321)
Adds to the stack of view script paths in LIFO order.
assign (line 639)
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 699)
Clear all assigned variables
Clears all variables assigned to Zend_View either via assign() or property overloading (__set()).
escape (line 736)
Escapes a value for output in a view script.
If escaping mechanism is one of htmlspecialchars or htmlentities, uses $_encoding setting.
getAllPaths (line 576)
Return associative array of path types => paths
getEncoding (line 762)
Return current escape encoding
getEngine (line 181)
Return the template engine object
Returns the object instance, as it is its own template engine
getFilter (line 536)
Get a filter object by name
getFilterPath (line 516)
Get full path to a filter class file specified by $name
getFilterPaths (line 566)
Returns an array of all currently set filter paths
getFilters (line 556)
Return array of all currently active filters
Only returns those that have already been instantiated.
getHelper (line 447)
Get a helper by name
getHelperPath (line 417)
Get full path to a helper class file specified by $name
getHelperPaths (line 436)
Returns an array of all currently set helper paths
getHelpers (line 467)
Get array of all active helpers
Only returns those that have already been instantiated.
getScriptPath (line 349)
Return full path to a view script specified by $name
getScriptPaths (line 368)
Returns an array of all currently set script paths
getVars (line 679)
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 194)
Allow custom object initialization when extending Zend_View_Abstract or Zend_View
Triggered by the constructor as its final action.
render (line 715)
Processes a view script and returns the output.
setBasePath (line 304)
Given a base path, sets the script, helper, and filter paths relative to it
Assumes a directory structure of:
setEncoding (line 751)
Set encoding to use with htmlentities() and htmlspecialchars()
setEscape (line 616)
Sets the _escape() callback.
setFilter (line 603)
Resets the filter stack.
To clear all filters, use Zend_View::setFilter(null).
setFilterPath (line 500)
Resets the stack of filter paths.
To clear all paths, use Zend_View::setFilterPath(null).
setHelperPath (line 401)
Resets the stack of helper paths.
To clear all paths, use Zend_View::setHelperPath(null).
setScriptPath (line 335)
Resets the stack of view script paths.
To clear all paths, use Zend_View::setScriptPath(null).
strictVars (line 779)
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 991)
Use to include the view script in a scope that only allows public members.
_script (line 792)
Finds a view script from the available directories.
__call (line 278)
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 206)
Prevent E_NOTICE for nonexistent values
If strictVars() is on, raises a notice.
__isset (line 222)
Allows testing with empty() and isset() to work inside templates.
__set (line 244)
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 261)
Allows unset() on object properties to work
Documentation generated on Sat, 05 May 2007 11:51:43 -0700 by phpDocumentor 1.3.2