__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
string
Controller name; either a class name or an alias used in the controller manager
nullarray
Parameters 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 |
---|
mixed
getController() : 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).
array
setController(\Zend\Stdlib\DispatchableInterface $controller) : void
inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::setController() |
---|
\Zend\Stdlib\DispatchableInterface
setListenersToDetach(array $listeners) : \Zend\Mvc\Controller\Plugin\self
array
Listener information; see getListenersToDetach() for details on format.
\Zend\Mvc\Controller\Plugin\self
setMaxNestedForwards(int $maxNestedForwards) : \Zend\Mvc\Controller\Plugin\self
int
\Zend\Mvc\Controller\Plugin\self
detachProblemListeners(\Zend\EventManager\SharedEventManagerInterface $sharedEvents) : array
array
reattachProblemListeners(\Zend\EventManager\SharedEventManagerInterface $sharedEvents, array $listeners) : void
array
Output of detachProblemListeners()
$controller : null | \Zend\Stdlib\DispatchableInterface
inherited_from | \Zend\Mvc\Controller\Plugin\AbstractPlugin::$$controller |
---|
$listenersToDetach : array[] | null
$maxNestedForwards : int
$numNestedForwards : int