category Zend
package Zend_Mvc

 Methods

Attach to an event manager

attach(\Zend\EventManager\EventManagerInterface $events, integer $priority) 

Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters

$priority

integer

Detach all our listeners from the event manager

detach(\Zend\EventManager\EventManagerInterface $events) : void

Listen to the "route" event and determine if the module namespace should be prepended to the controller name.

onRoute(\Zend\Mvc\MvcEvent $e) : null

If the route match contains a parameter key matching the MODULE_NAMESPACE constant, that value will be prepended, with a namespace separator, to the matched controller parameter.

Parameters

Returns

null

 Properties

 

$listeners

$listeners : \Zend\Stdlib\CallbackHandler[]

 Constants

 

MODULE_NAMESPACE

MODULE_NAMESPACE 

 

ORIGINAL_CONTROLLER

ORIGINAL_CONTROLLER