示例#1
0
文件: User.php 项目: knatorski/SMS
 public function deleteRoleFilterResource($id_role)
 {
     $model = new RoleFilterResource();
     $data = $model->fetchToDelete($id_role);
     foreach ($data as $roleFilterResource) {
         $dataRoleFilterResource = $model->findOne($roleFilterResource['id']);
         $dataRoleFilterResource->delete();
     }
 }