/** * Lists all models. */ public function actionIndex() { $model = new Contato(); $this->render('index', array('dataProvider' => $model->search())); }