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)
object
See Parent class constructor
object
See Parent class constructor
object
See Parent class constructor
getOptions() : array
inherited_from | \OSS_Controller_Action::getOptions() |
---|
array
The options arraygetResource(string $resource) : \Zend_Application_Resource_ResourceAbstract
inherited_from | \OSS_Controller_Action::getResource() |
---|
string
\Zend_Application_Resource_ResourceAbstract
redirectAndEnsureDie(string $where, string $from) : void
inherited_from | \OSS_Controller_Action::redirectAndEnsureDie() |
---|
string
Defaults to '' - where to redirect to (e.g. controller/action/p1/v1/...)
string
Where 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_Bootstrap
setBootstrap(\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() |
---|
string
The name of the trait to check for
bool
Whether the trait has been initialised or nottraitSetInitialised(string $trait)
inherited_from | \OSS_Controller_Action::traitSetInitialised() |
---|
string
The 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() |
---|
object
See Parent class constructor
object
See Parent class constructor
object
See 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 |
---|