MINOR Provide addition tree hints for VirtualPage original page type (AIR-81)

This commit is contained in:
Ingo Schommer 2012-01-14 11:13:17 +01:00
parent 87c318d168
commit 062e3b6a0c

View File

@ -276,6 +276,10 @@ class VirtualPage extends Page {
// Update ImageTracking
$this->ImageTracking()->setByIdList($this->CopyContentFrom()->ImageTracking()->column('ID'));
}
function CMSTreeClasses($controller) {
return parent::CMSTreeClasses($controller) . ' VirtualPage-' . $this->CopyContentFrom()->ClassName;
}
/**
* Allow attributes on the master page to pass