Controller: Action
| author | Barry O'Donovan |
|---|---|
| author | The Skilled Team of PHP Developers at Open Solutions |
| category | OSS |
| package | OSS_Controller |
| copyright | Copyright (c) 2007 - 2012, Open Source Solutions Limited, Dublin, Ireland |
| license | New BSD License |
__construct(\Zend_Controller_Request_Abstract $request, \Zend_Controller_Response_Abstract $response, array $invokeArgs)
objectSee Parent class constructor
objectSee Parent class constructor
objectSee Parent class constructor
getOptions() : array
| inherited_from | \OSS_Controller_Action::getOptions() |
|---|
arrayThe options arraygetResource(string $resource) : \Zend_Application_Resource_ResourceAbstract
| inherited_from | \OSS_Controller_Action::getResource() |
|---|
string
\Zend_Application_Resource_ResourceAbstractredirectAndEnsureDie(string $where, string $from) : void
| inherited_from | \OSS_Controller_Action::redirectAndEnsureDie() |
|---|
stringDefaults to '' - where to redirect to (e.g. controller/action/p1/v1/...)
stringWhere you redirected from for logging purposes. Defaults to requested controller/action.
getBootstrap() : \Zend_Application_Bootstrap_Bootstrap
| inherited_from | \OSS_Controller_Action::getBootstrap() |
|---|
\Zend_Application_Bootstrap_BootstrapsetBootstrap(\Zend_Application_Bootstrap_Bootstrap $bs)
| inherited_from | \OSS_Controller_Action::setBootstrap() |
|---|
\Zend_Application_Bootstrap_Bootstrap
traitIsInitialised(string $trait) : bool
| inherited_from | \OSS_Controller_Action::traitIsInitialised() |
|---|
stringThe name of the trait to check for
boolWhether the trait has been initialised or nottraitSetInitialised(string $trait)
| inherited_from | \OSS_Controller_Action::traitSetInitialised() |
|---|
stringThe name of the trait to check for
initialiseTraits(object $request, object $response, object $invokeArgs)
This function iterates over the declared traits and initialises them if necessary.
NB - order of initialisation is order of declaration
This function should be called from the contructor and it passes those same variables used for construction to the traits' init methods.
| inherited_from | \OSS_Controller_Action::initialiseTraits() |
|---|
objectSee Parent class constructor
objectSee Parent class constructor
objectSee Parent class constructor
$_bootstrap : \Zend_Application_Bootstrap_Bootstrap
| inherited_from | \OSS_Controller_Action::$$_bootstrap |
|---|
$_initialisedTraits : array
This can be used by other traits to check for dependancies.
| inherited_from | \OSS_Controller_Action::$$_initialisedTraits |
|---|