Пример #1
0
 public function delete()
 {
     if ($this->_isAllowed()) {
         $role = $this->getRole();
         try {
             $u = new User_Persist_Dao_Role();
             return $u->delete($this->_role->getId());
         } catch (Exception $e) {
             throw $e;
         }
     }
 }