PHP Класс Zend\Mvc\ModuleRouteListener

Наследование: implements Zend\EventManager\ListenerAggregateInterface
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
attach ( Zend\EventManager\EventManagerInterface $events, integer $priority = 1 ) Attach to an event manager
onRoute ( MvcEvent $e ) : null Listen to the "route" event and determine if the module namespace should be prepended to the controller name.

Описание методов

attach() публичный Метод

Attach to an event manager
public attach ( Zend\EventManager\EventManagerInterface $events, integer $priority = 1 )
$events Zend\EventManager\EventManagerInterface
$priority integer

onRoute() публичный Метод

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.
public onRoute ( MvcEvent $e ) : null
$e MvcEvent
Результат null