public function preDispatch() { parent::preDispatch(); $this->addTitle('Produtos'); $this->addCrumb('Produtos', $this->getBaseUrl() . '/'); }
public function preDispatch() { parent::preDispatch(); $this->_helper->layout()->disableLayout(); }
/** * Before the page dispatch happens, check for a logged in user. * * @access public */ public function preDispatch() { parent::preDispatch(); // See if we have a logged in user. $this->checkLogin(); }