15 return CMap::mergeArray(parent::filters(), array(
29 'actions' => array(
'index',
'view'),
30 'users' => array(
'*'),
33 'users' => array(
'*'),
44 $this->render(
'view', array(
55 $dataProvider =
new CActiveDataProvider(
'User', array(
60 'pagination' => array(
61 'pageSize' => Yii::app()->controller->module->user_page_size,
65 $this->render(
'index', array(
66 'dataProvider' => $dataProvider,
76 if ($this->_model === null) {
77 if (isset($_GET[
'id'])) {
78 $this->_model =
User::model()->findbyPk($_GET[
'id']);
80 if ($this->_model === null) {
81 throw new CHttpException(404,
'The requested page does not exist.');
96 if ($this->_model === null) {
97 if ($id !== null || isset($_GET[
'id'])) {
98 $this->_model =
User::model()->findbyPk($id !== null ? $id : $_GET[
'id']);
100 if ($this->_model === null) {
101 throw new CHttpException(404,
'The requested page does not exist.');