/** * Lists all models. */ public function actionIndex() { $dataProvider = new CActiveDataProvider('Area'); $this->render('index', array('dataProvider' => $dataProvider, 'users' => User::getAllCollectors())); }