Method | Description | |
---|---|---|
attach ( Zend\EventManager\EventManagerInterface $events ) : void | Attach events | |
onRoute ( Zend\EventManager\EventInterface $event ) : void | Check for document from route |
Method | Description | |
---|---|---|
explodePath ( string $path ) : void | Explode path | |
findDocument ( string $path, boolean $isPreview ) : |
Find document from request uri | |
getLocale ( |
Get locale according to the locale specified in the document or its parent. | |
logVisitor ( boolean $isPreview, boolean $isAdmin ) : void | Log visitor informations |
protected explodePath ( string $path ) : void | ||
$path | string | Url path |
return | void |
protected findDocument ( string $path, boolean $isPreview ) : |
||
$path | string | Path from request uri |
$isPreview | boolean | Is the current page is a preview |
return |