HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
DefaultController.php
Go to the documentation of this file.
1 <?php
2 
3 class DefaultController extends Controller
4 {
8  public function actionIndex()
9  {
10  $dataProvider = new CActiveDataProvider('User', array(
11  'criteria' => array(
12  'condition' => 'status>'.User::STATUS_BANNED,
13  ),
14  'pagination' => array(
15  'pageSize' => Yii::app()->controller->module->user_page_size,
16  ),
17  ));
18 
19  $this->render('/user/index', array(
20  'dataProvider' => $dataProvider,
21  ));
22  }
23 }