- Registro, activación y entrada de usuarios git-svn-id: https://192.168.0.254/svn/Rodax.factuges_web/trunk@2 e455b18d-f7fe-5245-9c43-e2c35af70a32
23 lines
580 B
PHP
23 lines
580 B
PHP
<?php
|
|
|
|
class DefaultController extends Controller {
|
|
|
|
/**
|
|
* Lists all models.
|
|
*/
|
|
public function actionIndex() {
|
|
$dataProvider = new CActiveDataProvider('Usuario', array(
|
|
'criteria' => array(
|
|
'condition' => 'estado>' . Usuario::ESTADO_BLOQUEADO,
|
|
),
|
|
'pagination' => array(
|
|
'pageSize' => Yii::app()->controller->module->user_page_size,
|
|
),
|
|
));
|
|
|
|
$this->render('index', array(
|
|
'dataProvider' => $dataProvider,
|
|
));
|
|
}
|
|
|
|
} |