Exemplo n.º 1
0
 /**
  * Switch layout if an infobox is used
  */
 protected function populateInfobox()
 {
     if (!isset($this->infobox)) {
         $this->set_layout($GLOBALS['template_factory']->open('layouts/base'));
     }
     parent::populateInfobox();
 }