Пример #1
0
 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();
 }
Пример #2
0
 public function init()
 {
     parent::init();
 }