Ejemplo n.º 1
0
 public function indexAction()
 {
     $auth = Zend_Auth::getInstance();
     $identity = $auth->getIdentity();
     $goalMapper = new Application_Model_GoalMapper();
     $rows = $goalMapper->fetchAllByUserId($identity->id);
     $this->view->rows = $rows->toArray();
 }