public function interestAction() { try { $sessionNamespace = new Zend_Session_Namespace(); if ($sessionNamespace->loginAuth == true) { $mapper = new Gyuser_Model_InterestsDataMapper(); $opeObj = $mapper->fetchAll(); $this->view->pArr = $opeObj; } else { $this->_helper->redirector('login', 'index', 'gyuser'); } } catch (Exception $e) { echo $e; } }