Zend_View_AbstractImplements interfaces:
Abstract class for Zend_View to help enforce private constructs.
Located in /View/Abstract.php (line 38)
| Class | Description |
|---|---|
Zend_View
|
Concrete class for handling view scripts. |
Constructor __construct (line 142)
Constructor.
addBasePath (line 363)
Given a base path, add script, helper, and filter paths relative to it
Assumes a directory structure of:
addFilter (line 652)
Add one or more filters to the stack in FIFO order.
addFilterPath (line 568)
Adds to the stack of filter paths in LIFO order.
addHelperPath (line 495)
Adds to the stack of helper paths in LIFO order.
addScriptPath (line 381)
Adds to the stack of view script paths in LIFO order.
assign (line 704)
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 764)
Clear all assigned variables
Clears all variables assigned to Zend_View either via assign() or property overloading (__set()).
escape (line 801)
Escapes a value for output in a view script.
If escaping mechanism is one of htmlspecialchars or htmlentities, uses $_encoding setting.
getAllPaths (line 638)
Return associative array of path types => paths
getEncoding (line 827)
Return current escape encoding
getEngine (line 212)
Return the template engine object
Returns the object instance, as it is its own template engine
getFilter (line 606)
Get a filter object by name
getFilterPath (line 595)
Get full path to a filter class file specified by $name
getFilterPaths (line 628)
Returns an array of all currently set filter paths
getFilters (line 618)
Return array of all currently active filters
Only returns those that have already been instantiated.
getHelper (line 543)
Get a helper by name
getHelperPath (line 522)
Get full path to a helper class file specified by $name
getHelperPaths (line 532)
Returns an array of all currently set helper paths
getHelpers (line 555)
Get array of all active helpers
Only returns those that have already been instantiated.
getPluginLoader (line 458)
Retrieve plugin loader for a specific plugin type
getScriptPath (line 409)
Return full path to a view script specified by $name
getScriptPaths (line 428)
Returns an array of all currently set script paths
getVars (line 744)
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 225)
Allow custom object initialization when extending Zend_View_Abstract or Zend_View
Triggered by the constructor as its final action.
render (line 780)
Processes a view script and returns the output.
setBasePath (line 336)
Given a base path, sets the script, helper, and filter paths relative to it
Assumes a directory structure of:
setEncoding (line 816)
Set encoding to use with htmlentities() and htmlspecialchars()
setEscape (line 681)
Sets the _escape() callback.
setFilter (line 668)
Resets the filter stack.
To clear all filters, use Zend_View::setFilter(null).
setFilterPath (line 583)
Resets the stack of filter paths.
To clear all paths, use Zend_View::setFilterPath(null).
setHelperPath (line 510)
Resets the stack of helper paths.
To clear all paths, use Zend_View::setHelperPath(null).
setPluginLoader (line 440)
Set plugin loader for a particular plugin type
setScriptPath (line 395)
Resets the stack of view script paths.
To clear all paths, use Zend_View::setScriptPath(null).
strictVars (line 844)
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 1131)
Use to include the view script in a scope that only allows public members.
_script (line 857)
Finds a view script from the available directories.
__call (line 309)
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 237)
Prevent E_NOTICE for nonexistent values
If strictVars() is on, raises a notice.
__isset (line 253)
Allows testing with empty() and isset() to work inside templates.
__set (line 275)
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 292)
Allows unset() on object properties to work
Documentation generated on Mon, 25 Aug 2008 23:26:55 +0400 by phpDocumentor 1.4.1