forked from zendframework/zendframework
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#1] Ensured nested + sequential children render correctly
- Scenario was: - child "content" with children, followed by: - child "sidebar" with no children
- Loading branch information
1 parent
f55c9c1
commit 3d9aabe
Showing
3 changed files
with
33 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
tests/Zend/View/_templates/nested-view-model-complexlayout.phtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Content: | ||
<?php echo $this->renderChildModel('content') ?> | ||
|
||
Sidebar: | ||
<?php echo $this->renderChildModel('sidebar') ?> |