Zend\Mvc\Controller\Plugin\Forward
Synopsis
class Forward
extends AbstractPlugin
{
- // members
- protected ControllerManager $controllers;
- protected MvcEvent $event;
- protected integer $maxNestedForwards;
- protected integer $numNestedForwards;
- protected array $listenersToDetach;
- // Inherited members from AbstractPlugin
- protected null|Dispatchable $controller;
- // methods
- public void __construct()
- public Forward setMaxNestedForwards()
- public array getListenersToDetach()
- public void setListenersToDetach()
- public mixed dispatch()
- protected array detachProblemListeners()
- protected void reattachProblemListeners()
- protected MvcEvent getEvent()
- // Inherited methods from AbstractPlugin
- public void setController()
- public null|Dispatchable getController()
Hierarchy
Members
protected
- $controller — Zend\Mvc\Controller\Plugin\null|Dispatchable
- $controllers — Zend\Mvc\Controller\ControllerManager
- $event — Zend\Mvc\MvcEvent
- $listenersToDetach — array
- $maxNestedForwards — int
- $numNestedForwards — int
Methods
protected
- detachProblemListeners() — Detach problem listeners specified by getListenersToDetach() and return an array of information that will allow them to be reattached.
- getEvent() — Get the event
- reattachProblemListeners() — Reattach all problem listeners detached by detachProblemListeners(), if any.
public
- __construct()
- dispatch() — Dispatch another controller
- getListenersToDetach() — Get information on listeners that need to be detached before dispatching.
- setListenersToDetach() — Set information on listeners that need to be detached before dispatching.
- setMaxNestedForwards() — Set maximum number of nested forwards allowed
Inherited from Zend\Mvc\Controller\Plugin\AbstractPlugin
public
- getController() — Get the current controller instance
- setController() — Set the current controller instance