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 147)
Constructor.
addBasePath (line 387)
Given a base path, add script, helper, and filter paths relative to it
Assumes a directory structure of:
addFilter (line 717)
Add one or more filters to the stack in FIFO order.
addFilterPath (line 633)
Adds to the stack of filter paths in LIFO order.
addHelperPath (line 523)
Adds to the stack of helper paths in LIFO order.
addScriptPath (line 405)
Adds to the stack of view script paths in LIFO order.
assign (line 791)
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 857)
Clear all assigned variables
Clears all variables assigned to Zend_View either via assign() or property overloading (__set()).
escape (line 894)
Escapes a value for output in a view script.
If escaping mechanism is one of htmlspecialchars or htmlentities, uses $_encoding setting.
getAllPaths (line 703)
Return associative array of path types => paths
getEncoding (line 924)
Return current escape encoding
getEngine (line 234)
Return the template engine object
Returns the object instance, as it is its own template engine
getFilter (line 671)
Get a filter object by name
getFilterPath (line 660)
Get full path to a filter class file specified by $name
getFilterPaths (line 693)
Returns an array of all currently set filter paths
getFilters (line 683)
Return array of all currently active filters
Only returns those that have already been instantiated.
getHelper (line 608)
Get a helper by name
getHelperPath (line 550)
Get full path to a helper class file specified by $name
getHelperPaths (line 560)
Returns an array of all currently set helper paths
getHelpers (line 620)
Get array of all active helpers
Only returns those that have already been instantiated.
getPluginLoader (line 484)
Retrieve plugin loader for a specific plugin type
getScriptPath (line 433)
Return full path to a view script specified by $name
getScriptPaths (line 452)
Returns an array of all currently set script paths
getVars (line 837)
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 247)
Allow custom object initialization when extending Zend_View_Abstract or Zend_View
Triggered by the constructor as its final action.
isLfiProtectionOn (line 769)
Return status of LFI protection flag
registerHelper (line 573)
Registers a helper object, bypassing plugin loader
render (line 873)
Processes a view script and returns the output.
setBasePath (line 360)
Given a base path, sets the script, helper, and filter paths relative to it
Assumes a directory structure of:
setEncoding (line 913)
Set encoding to use with htmlentities() and htmlspecialchars()
setEscape (line 746)
Sets the _escape() callback.
setFilter (line 733)
Resets the filter stack.
To clear all filters, use Zend_View::setFilter(null).
setFilterPath (line 648)
Resets the stack of filter paths.
To clear all paths, use Zend_View::setFilterPath(null).
setHelperPath (line 538)
Resets the stack of helper paths.
To clear all paths, use Zend_View::setHelperPath(null).
setLfiProtection (line 758)
Set LFI protection flag
setPluginLoader (line 464)
Set plugin loader for a particular plugin type
setScriptPath (line 419)
Resets the stack of view script paths.
To clear all paths, use Zend_View::setScriptPath(null).
strictVars (line 941)
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 1191)
Use to include the view script in a scope that only allows public members.
_script (line 954)
Finds a view script from the available directories.
__call (line 333)
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 259)
Prevent E_NOTICE for nonexistent values
If strictVars() is on, raises a notice.
__isset (line 275)
Allows testing with empty() and isset() to work inside templates.
__set (line 297)
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 316)
Allows unset() on object properties to work
Documentation generated on Mon, 21 Jun 2010 15:04:38 -0400 by phpDocumentor 1.4.3