initLayout() публичный Метод

Layout is region in shared template which may be replaced by object.
public initLayout ( )
Пример #1
0
 /**
  * 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');
 }