dispatch()
getController()
getListenersToDetach()
setController()
setListenersToDetach()
setMaxNestedForwards()
detachProblemListeners()
getEvent()
getLocator()
reattachProblemListeners()
$controller
$event
$listenersToDetach
$locator
$maxNestedForwards
$numNestedForwards
dispatch(string $name, array $params) : mixed
stringController name; either a class name or an alias used in the DI container or service locator
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) : void
arrayListener information; see getListenersToDetach() for details on format.
setMaxNestedForwards(int $maxNestedForwards) : \Zend\Mvc\Controller\Plugin\Forward
detachProblemListeners(\Zend\EventManager\SharedEventManagerInterface $sharedEvents) : array
arraygetLocator() : \Zend\ServiceManager\ServiceLocatorInterface
reattachProblemListeners(\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
$maxNestedForwards : int
$numNestedForwards : int