Property | Type | Description | |
---|---|---|---|
$config | application configuration service | ||
$event | |||
$helperManager | |||
$mvcRenderingStrategy | |||
$renderer | |||
$rendererStrategy | |||
$resolver | |||
$services | Zend\ServiceManager\ServiceManager | ||
$view | |||
$viewModel |
Method | Description | |
---|---|---|
attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | {@inheritDoc} | |
getView ( ) : Zend\View\View | Retrieves the View instance | |
getViewModel ( ) : Zend\View\Model\ModelInterface | Configures the MvcEvent view model to ensure it has the template injected | |
onBootstrap ( $event ) : void | Prepares the view layer |
Method | Description | |
---|---|---|
registerMvcRenderingStrategies ( Zend\EventManager\EventManagerInterface $events ) : void | Register additional mvc rendering strategies | |
registerViewStrategies ( ) : void | Register additional view strategies |
Method | Description | |
---|---|---|
injectViewModelIntoPlugin ( ) | Injects the ViewModel view helper with the root view model. |
public attach ( Zend\EventManager\EventManagerInterface $events, $priority = 1 ) | ||
$events | Zend\EventManager\EventManagerInterface |
public getView ( ) : Zend\View\View | ||
return | Zend\View\View |
public getViewModel ( ) : Zend\View\Model\ModelInterface | ||
return | Zend\View\Model\ModelInterface |
public onBootstrap ( $event ) : void | ||
$event | ||
return | void |
protected registerMvcRenderingStrategies ( Zend\EventManager\EventManagerInterface $events ) : void | ||
$events | Zend\EventManager\EventManagerInterface | |
return | void |
protected registerViewStrategies ( ) : void | ||
return | void |
protected ServiceManager,Zend\ServiceManager $services | ||
return | Zend\ServiceManager\ServiceManager |