__construct()
dispatch()
getController()
getListenersToDetach()
setController()
setListenersToDetach()
setMaxNestedForwards()
detachProblemListeners()
getEvent()
reattachProblemListeners()
$controller
$controllers
$event
$listenersToDetach
$maxNestedForwards
$numNestedForwards
__construct(\Zend\Mvc\Controller\ControllerManager $controllers)
\Zend\Mvc\Controller\ControllerManager
dispatch(string $name, array $params) : mixed
stringController name; either a class name or an alias used in the controller manager
nullarrayParameters with which to seed a custom RouteMatch object for the new controller
\Zend\Mvc\Exception\DomainException |
if composed controller does not define InjectApplicationEventInterface or Locator aware; or if the discovered controller is not dispatchable |
|---|
mixedgetController() : null | \Zend\Stdlib\DispatchableInterface
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::getController() |
|---|
getListenersToDetach() : array
Each entry in the array contains three keys:
id (identifier for event-emitting component), event (the hooked event) and class (the class of listener that should be detached).
arraysetController(\Zend\Stdlib\DispatchableInterface $controller) : void
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::setController() |
|---|
\Zend\Stdlib\DispatchableInterface
setListenersToDetach(array $listeners) : \Zend\Mvc\Controller\Plugin\self
arrayListener information; see getListenersToDetach() for details on format.
\Zend\Mvc\Controller\Plugin\selfsetMaxNestedForwards(int $maxNestedForwards) : \Zend\Mvc\Controller\Plugin\self
int
\Zend\Mvc\Controller\Plugin\selfdetachProblemListeners(\Zend\EventManager\SharedEventManagerInterface $sharedEvents) : array
arrayreattachProblemListeners(\Zend\EventManager\SharedEventManagerInterface $sharedEvents, array $listeners) : void
arrayOutput of detachProblemListeners()
$controller : null | \Zend\Stdlib\DispatchableInterface
| inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::$$controller |
|---|
$listenersToDetach : array[] | null
$maxNestedForwards : int
$numNestedForwards : int