public function init() { parent::init(); // init user session + navigation $this->_initCatalogueNav(); $this->_dataModel = new eVias_Service_Catalogue(); }
public function init() { parent::init(); $this->_initMemberNav(); if (false === $this->_tryAuth()) { $this->_forward('login', 'index', 'member'); } else { $session = $this->_getSession(); $this->view->userName = '******'; if (false !== $session) { $this->view->userName = $session->memberObject['realname']; } } $this->view->headTitle('Membre', 'PREPEND'); }
public function init() { parent::init(); $this->_initBlogNav(); }