public function init() { parent::init(); if (true === $this->_tryAuth()) { $session = $this->_getSession(); $this->view->userName = '******'; if (false !== $session) { $this->view->userName = $session->memberObject['realname']; } } $this->view->headTitle('Blog', 'PREPEND'); $this->_initNavigation(); }
public function init() { parent::init(); }