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