public function create() { if ($this->_isAllowed()) { try { $u = new Assistance_Persist_Dao_Activity(); $this->_activity->setAppaccount_id(Zend_Auth::getInstance()->getIdentity()->appaccount_id); return $u->save($this->_activity); } catch (Exception $e) { throw $e; } } }