PHP 클래스 Zend\Mvc\ModuleRouteListener

상속: implements Zend\EventManager\ListenerAggregateInterface
파일 보기 프로젝트 열기: zendframework/zend-mvc 1 사용 예제들

공개 메소드들

메소드 설명
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