コード例 #1
0
ファイル: RoleController.php プロジェクト: sandeep1027/zurmo_
 public function actionUsersInRoleModalList($id)
 {
     $model = Role::getById((int) $id);
     ControllerSecurityUtil::resolveAccessCanCurrentUserReadModel($model);
     $searchAttributeData = UsersByRoleModalListControllerUtil::makeModalSearchAttributeDataByRoleModel($model);
     $dataProvider = UsersByRoleModalListControllerUtil::makeDataProviderBySearchAttributeData($searchAttributeData);
     Yii::app()->getClientScript()->setToAjaxMode();
     echo UsersByRoleModalListControllerUtil::renderList($this, $dataProvider);
 }