public function actionDeleteAll() { $ids = $_REQUEST['ids']; $crit = new CDbCriteria(); $crit->condition = "id IN ({$ids})"; SystemUser::model()->deleteAll($crit); Yii::app()->user->setFlash('success', "Ðã xóa thành công"); $this->redirect(Yii::app()->request->urlReferrer); }