Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit 4b09c83

Browse files
committed
Documented zend-expressive-zendviewrenderer changes
1 parent d5f93ee commit 4b09c83

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

doc/book/features/template/zend-view.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,10 @@ for doing so:
9292
In each case, the zend-view implementation will do a depth-first, recursive
9393
render in order to provide content within the selected layout.
9494

95+
- Since 1.3: You may also pass a boolean `false` value to either
96+
`addDefaultParam()` or via the template variables for the `layout` key; doing
97+
so will disable the layout.
98+
9599
### Layout name passed to constructor
96100

97101
```php

doc/book/reference/migration/to-v2.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,3 +793,10 @@ on each argument.
793793

794794
For any users who were _extending_ the class, you will need to update your
795795
extension accordingly.
796+
797+
## zend-view renderer changes
798+
799+
Expressive 2.0 will use zend-expressive-zendviewrenderer 1.3+ if that renderer
800+
is chosen. Starting with 1.3.0 of that renderer, you may now pass a boolean
801+
`false` value for the `layout` variable when calling either `addDefaultParam()`
802+
or `render()` on the renderer instance in order to disable the layout.

0 commit comments

Comments
 (0)