예제 #1
0
파일: Role.php 프로젝트: pancke/yyaf
 /**
  * 删除角色
  * @return boolean
  */
 public function delAction()
 {
     $iRoleID = intval($this->getParam('id'));
     $iRet = Model_Role::delData($iRoleID);
     if ($iRet == 1) {
         return $this->showMsg('角色删除成功!', true);
     } else {
         return $this->showMsg('角色删除失败!', false);
     }
 }