999. Class

999.1. Zend\Mvc\View\Http\InjectViewModelListener

999.1.1. Methods

999.1.1.1. attach

attach()

Attach listeners

Parameters:Events
Return type:void

999.1.1.2. detach

detach()

Detach listeners

Parameters:Events
Return type:void

999.1.1.3. injectViewModel

injectViewModel()

Insert the view model into the event

Inspects the MVC result; if it’s a view model, it then either (a) adds it as a child to the default, composed view model, or (b) replaces it if the result is marked as terminable.

Parameters:MvcEvent
Return type:void

Project Versions

Table Of Contents

Previous topic

998. Class

Next topic

1000. Class

This Page