Permalink
Browse files

MINOR Documentation (from r105005)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112426 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent a66c159 commit 352d3083395c5afb0523a69c087f55a3b2b57a69 @chillu chillu committed Oct 15, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/SSViewer.php
View
@@ -381,7 +381,8 @@ public function process($item, $cache = null) {
echo "</pre>";
}
-
+ // Makes the rendered sub-templates available on the parent item,
+ // through $Content and $Layout placeholders.
foreach(array('Content', 'Layout') as $subtemplate) {
if(isset($this->chosenTemplates[$subtemplate])) {
$subtemplateViewer = new SSViewer($this->chosenTemplates[$subtemplate]);

0 comments on commit 352d308

Please sign in to comment.