Revision a3c61e215d8bc58df3e5630f3c353b72a60d84ce
Committed on 28/10/2015 1:14 pm by
Bertrand Dunogier <[email protected]> [GitHub Diff]
Added view parameters injection extension point
Parameters that are injected into Views are collected using the EventDispatcher.
The `View\Events::FILTER_VIEW_PARAMETERS` can be listened to,
and the listener can customize the view parameters.
Default listeners include:
- contents of the 'params' array (passed to `render(controller())`)
- the `noLayout` boolean, based on the `layout` attribute
- the ids of the value objects used by the view, for BC of controller actions