@@ -30,11 +30,11 @@ The methods it defines are:
3030
3131The following events are triggered, in the following order:
3232
33- Name | Constant | Description
34- --------------- | -------------------------------- | -----------
35- ` renderer ` | ` ViewEvent::EVENT_RENDERER ` | Render the view, with the help of renderers.
36- ` renderer.post ` | ` ViewEvent::EVENT_RENDERER_POST ` | Triggers after the view is rendered.
37- ` response ` | ` ViewEvent::EVENT_RESPONSE ` | Populate the response from the view.
33+ | Name | Constant | Description |
34+ | ----------------- | ---------------------------------- | ---------------------------------------------- |
35+ | ` renderer ` | ` ViewEvent::EVENT_RENDERER ` | Render the view, with the help of renderers. |
36+ | ` renderer.post ` | ` ViewEvent::EVENT_RENDERER_POST ` | Triggers after the view is rendered. |
37+ | ` response ` | ` ViewEvent::EVENT_RESPONSE ` | Populate the response from the view. |
3838
3939Each is described in the following sections.
4040
@@ -49,33 +49,33 @@ priority):
4949
5050This listener is added when the strategy used for rendering is ` PhpStrategy ` :
5151
52- Class | Priority | Method called | Description
53- -------------------------------- | -------- | ---------------- | -----------
54- ` Laminas\View\Strategy\PhpStrategy ` | 1 | ` selectRenderer ` | Return a ` PhpRenderer `
52+ | Class | Priority | Method called | Description |
53+ | ------------------------------------- | ---------- | ------------------ | ------------------------ |
54+ | ` Laminas\View\Strategy\PhpStrategy ` | 1 | ` selectRenderer ` | Return a ` PhpRenderer ` |
5555
5656#### For JsonStrategy
5757
5858This listener is added when the strategy used for rendering is ` JsonStrategy ` :
5959
60- Class | Priority | Method called | Description
61- --------------------------------- | -------- | ---------------- | -----------
62- ` Laminas\View\Strategy\JsonStrategy ` | 1 | ` selectRenderer ` | Return a ` JsonRenderer `
60+ | Class | Priority | Method called | Description |
61+ | -------------------------------------- | ---------- | ------------------ | ------------------------- |
62+ | ` Laminas\View\Strategy\JsonStrategy ` | 1 | ` selectRenderer ` | Return a ` JsonRenderer ` |
6363
6464#### For FeedStrategy
6565
6666This listener is added when the strategy used for rendering is ` FeedStrategy ` :
6767
68- Class | Priority | Method called | Description
69- --------------------------------- | -------- | ---------------- | -----------
70- ` Laminas\View\Strategy\FeedStrategy ` | 1 | ` selectRenderer ` | Return a ` FeedRenderer `
68+ | Class | Priority | Method called | Description |
69+ | -------------------------------------- | ---------- | ------------------ | ------------------------- |
70+ | ` Laminas\View\Strategy\FeedStrategy ` | 1 | ` selectRenderer ` | Return a ` FeedRenderer ` |
7171
7272### Triggerers
7373
7474This event is triggered by the following classes:
7575
76- Class | In method | Description
77- ---------------- | --------- | -----------
78- ` Laminas\View\View ` | ` render ` | It has a short circuit callback that stops propagation once one result return an instance of a Renderer.
76+ | Class | In method | Description |
77+ | --------------------- | ----------- | ---------------------------------------------------------------------------------------------------------- |
78+ | ` Laminas\View\View ` | ` render ` | It has a short circuit callback that stops propagation once one result return an instance of a Renderer. |
7979
8080## ViewEvent::EVENT\_ RENDERER\_ POST
8181
@@ -87,9 +87,9 @@ There are currently no built-in listeners for this event.
8787
8888This event is triggered by the following classes:
8989
90- Class | In method | Description
91- ---------------- | --------- | -----------
92- ` Laminas\View\View ` | ` render ` | This event is triggered after ` ViewEvent::EVENT_RENDERER ` and before ` ViewEvent::EVENT_RESPONSE ` .
90+ | Class | In method | Description |
91+ | --------------------- | ----------- | --------------------------------------------------------------------------------------------------- |
92+ | ` Laminas\View\View ` | ` render ` | This event is triggered after ` ViewEvent::EVENT_RENDERER ` and before ` ViewEvent::EVENT_RESPONSE ` . |
9393
9494## ViewEvent::EVENT\_ RESPONSE
9595
@@ -102,30 +102,30 @@ priority):
102102
103103This listener is added when the strategy used for rendering is ` PhpStrategy ` :
104104
105- Class | Priority | Method called | Description
106- -------------------------------- | -------- | ---------------- | -----------
107- ` Laminas\View\Strategy\PhpStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object from the rendered view.
105+ | Class | Priority | Method called | Description |
106+ | ------------------------------------- | ---------- | ------------------ | -------------------------------------------------------- |
107+ | ` Laminas\View\Strategy\PhpStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object from the rendered view. |
108108
109109#### For JsonStrategy
110110
111111This listener is added when the strategy used for rendering is ` JsonStrategy ` :
112112
113- Class | Priority | Method called | Description
114- --------------------------------- | -------- | ---------------- | -----------
115- ` Laminas\View\Strategy\JsonStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object with the serialized JSON content.
113+ | Class | Priority | Method called | Description |
114+ | -------------------------------------- | ---------- | ------------------ | ------------------------------------------------------------------ |
115+ | ` Laminas\View\Strategy\JsonStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object with the serialized JSON content. |
116116
117117#### For FeedStrategy
118118
119119This listener is added when the strategy used for rendering is ` FeedStrategy ` :
120120
121- Class | Priority | Method called | Description
122- --------------------------------- | -------- | ---------------- | -----------
123- ` Laminas\View\Strategy\FeedStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object with the rendered feed.
121+ | Class | Priority | Method called | Description |
122+ | -------------------------------------- | ---------- | ------------------ | -------------------------------------------------------- |
123+ | ` Laminas\View\Strategy\FeedStrategy ` | 1 | ` injectResponse ` | Populate the ` Response ` object with the rendered feed. |
124124
125125### Triggerers
126126
127127This event is triggered by the following classes:
128128
129- Class | In method | Description
130- ---------------- | --------- | -----------
131- ` Laminas\View\View ` | ` render ` | This event is triggered after ` ViewEvent::EVENT_RENDERER ` and ` ViewEvent::EVENT_RENDERER_POST ` .
129+ | Class | In method | Description |
130+ | --------------------- | ----------- | ------------------------------------------------------------------------------------------------- |
131+ | ` Laminas\View\View ` | ` render ` | This event is triggered after ` ViewEvent::EVENT_RENDERER ` and ` ViewEvent::EVENT_RENDERER_POST ` . |
0 commit comments