Свойство | Тип | Описание | |
---|---|---|---|
$event | Zend\EventManager\EventInterface | ||
$eventIdentifier | null | string | string[] | ||
$events | Zend\EventManager\EventManagerInterface | ||
$plugins | |||
$request | Zend\Stdlib\RequestInterface | ||
$response | Zend\Stdlib\ResponseInterface |
Метод | Описание | |
---|---|---|
__call ( string $method, array $params ) : mixed | Method overloading: return/call plugins | |
dispatch ( Zend\Stdlib\RequestInterface $request, Zend\Stdlib\ResponseInterface $response = null ) : Zend\Stdlib\ResponseInterface | mixed | Dispatch a request | |
getEvent ( ) : |
Get the attached event | |
getEventManager ( ) : Zend\EventManager\EventManagerInterface | Retrieve the event manager | |
getMethodFromAction ( string $action ) : string | Transform an "action" token into a method name | |
getPluginManager ( ) : |
Get plugin manager | |
getRequest ( ) : Zend\Stdlib\RequestInterface | Get request object | |
getResponse ( ) : Zend\Stdlib\ResponseInterface | Get response object | |
onDispatch ( |
Execute the request | |
plugin ( string $name, array $options = null ) : mixed | Get plugin instance | |
setEvent ( Zend\EventManager\EventInterface $e ) : void | Set an event to use during dispatch | |
setEventManager ( Zend\EventManager\EventManagerInterface $events ) : |
Set the event manager instance used by this context | |
setPluginManager ( |
Set plugin manager |
Метод | Описание | |
---|---|---|
attachDefaultListeners ( ) : void | Register the default events for this controller |
protected attachDefaultListeners ( ) : void | ||
Результат | void |
public getEvent ( ) : |
||
Результат |
public getEventManager ( ) : Zend\EventManager\EventManagerInterface | ||
Результат | Zend\EventManager\EventManagerInterface |
public static getMethodFromAction ( string $action ) : string | ||
$action | string | |
Результат | string |
public getPluginManager ( ) : |
||
Результат |
public getRequest ( ) : Zend\Stdlib\RequestInterface | ||
Результат | Zend\Stdlib\RequestInterface |
public getResponse ( ) : Zend\Stdlib\ResponseInterface | ||
Результат | Zend\Stdlib\ResponseInterface |
abstract public onDispatch ( |
||
$e | ||
Результат | mixed |
public setEventManager ( Zend\EventManager\EventManagerInterface $events ) : |
||
$events | Zend\EventManager\EventManagerInterface | |
Результат |
public setPluginManager ( |
||
$plugins | ||
Результат |
protected EventInterface,Zend\EventManager $event | ||
Результат | Zend\EventManager\EventInterface |
protected EventManagerInterface,Zend\EventManager $events | ||
Результат | Zend\EventManager\EventManagerInterface |
protected PluginManager,Zend\Mvc\Controller $plugins | ||
Результат |
protected RequestInterface,Zend\Stdlib $request | ||
Результат | Zend\Stdlib\RequestInterface |