/** * Categories view display method * @return void */ function display($tpl = null) { Bt_portfolioLegacyHelper::getCSS(); $this->legacy = Bt_portfolioLegacyHelper::isLegacy(); // Set the toolbar $this->addToolBar(); $buttons = $this->getButtons(); $this->assign('buttons', $buttons); // Display the template parent::display($tpl); // Set the document $this->setDocument(); }