/** * Content in the global (shared.html) template is rendered by page object. * This method loads either class or static file. */ public function initLayout() { parent::initLayout(); $this->addLayout('Content'); }