Skip to content

Commit e5038a4

Browse files
committed
Merge branch 'hotfix/209'
Close zendframework#209
2 parents 6f3f9c8 + ff8cc8e commit e5038a4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/book/mvc-event.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,9 @@ The following listeners are only attached in an HTTP context:
254254

255255
Class | Priority | Method Called | Description
256256
------------------------------------------------|---------:|-----------------------------|------------
257-
`Zend\Mvc\View\Console\ExceptionStrategy` | 1 | `prepareExceptionViewModel` | Create an exception view model and set the status code to 404.
258-
`Zend\Mvc\View\Console\InjectViewModelListener` | | |
257+
`Zend\Mvc\View\Http\ExceptionStrategy` | 1 | `prepareExceptionViewModel` | Create an exception view model and set the status code to 404.
258+
`Zend\Mvc\View\Http\InjectViewModelListener` | -100 | `injectViewModel` | Inserts the `ViewModel` (in this case, a `ViewModel`) and adds it to the MvcEvent object. It either (a) adds it as a child to the default, composed view model, or (b) replaces it if the result is marked as terminable.
259+
`Zend\Mvc\View\Http\DefaultRenderingStrategy` | -10000 | `render` | Render the view
259260

260261
### Triggered By
261262

0 commit comments

Comments
 (0)