public function coursesAction() { if (Zend_Auth::getInstance()->hasIdentity()) { $user = Zend_Auth::getInstance()->getIdentity(); $eventsList = new Model_Course(); $this->view->list = $eventsList->getList($user->iUserId); } }