mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Documentation (from r105005)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112426 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a66c1590ba
commit
352d308339
@ -381,7 +381,8 @@ class SSViewer {
|
|||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Makes the rendered sub-templates available on the parent item,
|
||||||
|
// through $Content and $Layout placeholders.
|
||||||
foreach(array('Content', 'Layout') as $subtemplate) {
|
foreach(array('Content', 'Layout') as $subtemplate) {
|
||||||
if(isset($this->chosenTemplates[$subtemplate])) {
|
if(isset($this->chosenTemplates[$subtemplate])) {
|
||||||
$subtemplateViewer = new SSViewer($this->chosenTemplates[$subtemplate]);
|
$subtemplateViewer = new SSViewer($this->chosenTemplates[$subtemplate]);
|
||||||
|
Loading…
Reference in New Issue
Block a user