Zend Framework
1.12
|
Public Member Functions | |
__construct (Zend_Controller_Action $actionController) | |
Constructor. | |
notifyPreDispatch () | |
notifyPreDispatch() - called by action controller dispatch method | |
notifyPostDispatch () | |
notifyPostDispatch() - called by action controller dispatch method | |
getHelper ($name) | |
getHelper() - get helper by name | |
__call ($method, $args) | |
Method overloading. | |
__get ($name) | |
Retrieve helper by name as object property. | |
Static Public Member Functions | |
static | setPluginLoader ($loader) |
Set PluginLoader for use with broker. | |
static | getPluginLoader () |
Retrieve PluginLoader. | |
static | addPrefix ($prefix) |
addPrefix() - Add repository of helpers by prefix | |
static | addPath ($path, $prefix= 'Zend_Controller_Action_Helper') |
addPath() - Add path to repositories where Action_Helpers could be found. | |
static | addHelper (Zend_Controller_Action_Helper_Abstract $helper) |
addHelper() - Add helper objects | |
static | resetHelpers () |
resetHelpers() | |
static | getStaticHelper ($name) |
Retrieve or initialize a helper statically. | |
static | getExistingHelper ($name) |
getExistingHelper() - get helper by name | |
static | getExistingHelpers () |
Return all registered helpers as helper => object pairs. | |
static | hasHelper ($name) |
Is a particular helper loaded in the broker? | |
static | removeHelper ($name) |
Remove a particular helper from the broker. | |
static | getStack () |
Lazy load the priority stack and return it. | |
Static Protected Member Functions | |
static | _normalizeHelperName ($name) |
Normalize helper name for lookups. | |
static | _loadHelper ($name) |
Load a helper. | |
Protected Attributes | |
$_actionController | |
Static Protected Attributes | |
static | $_pluginLoader |
static | $_stack = null |
__construct | ( | Zend_Controller_Action | $actionController | ) |
__call | ( | $method, | |
$args | |||
) |
Method overloading.
string | $method | |
array | $args |
Zend_Controller_Action_Exception | if helper does not have a direct() method |
__get | ( | $name | ) |
Retrieve helper by name as object property.
string | $name |
|
staticprotected |
Load a helper.
string | $name |
|
staticprotected |
Normalize helper name for lookups.
string | $name |
|
static |
addHelper() - Add helper objects
Zend_Controller_Action_Helper_Abstract | $helper |
|
static |
addPath() - Add path to repositories where Action_Helpers could be found.
string | $path | |
string | $prefix | Optional; defaults to 'Zend_Controller_Action_Helper' |
|
static |
addPrefix() - Add repository of helpers by prefix
string | $prefix |
|
static |
getExistingHelper() - get helper by name
Static method to retrieve helper object. Only retrieves helpers already initialized with the broker (either via addHelper() or on-demand loading via getHelper()).
Throws an exception if the referenced helper does not exist in the stack; use hasHelper() to check if the helper is registered prior to retrieving it.
string | $name |
Zend_Controller_Action_Exception |
|
static |
Return all registered helpers as helper => object pairs.
getHelper | ( | $name | ) |
getHelper() - get helper by name
string | $name |
|
static |
Retrieve PluginLoader.
|
static |
Lazy load the priority stack and return it.
|
static |
Retrieve or initialize a helper statically.
Retrieves a helper object statically, loading on-demand if the helper does not already exist in the stack. Always returns a helper, unless the helper class cannot be found.
string | $name |
|
static |
Is a particular helper loaded in the broker?
string | $name |
notifyPostDispatch | ( | ) |
notifyPostDispatch() - called by action controller dispatch method
notifyPreDispatch | ( | ) |
notifyPreDispatch() - called by action controller dispatch method
|
static |
Remove a particular helper from the broker.
string | $name |
|
static |
|
static |
Set PluginLoader for use with broker.
Zend_Loader_PluginLoader_Interface | $loader |
|
protected |
|
staticprotected |
|
staticprotected |