15 return CMap::mergeArray(parent::filters(),array(
28 'actions'=>array(
'index',
'view'),
43 $this->render(
'view',array(
53 $dataProvider=
new CActiveDataProvider(
'User', array(
55 'condition'=>
'status>'.User::STATUS_BANED,
59 'pageSize'=>Yii::app()->controller->module->user_page_size,
63 $this->render(
'index',array(
64 'dataProvider'=>$dataProvider,
74 if($this->_model===null)
76 if(isset($_GET[
'id']))
78 if($this->_model===null)
79 throw new CHttpException(404,
'The requested page does not exist.');
92 if($this->_model===null)
94 if($id!==null || isset($_GET[
'id']))
95 $this->_model=
User::model()->findbyPk($id!==null ? $id : $_GET[
'id']);
96 if($this->_model===null)
97 throw new CHttpException(404,
'The requested page does not exist.');