public function actionIndex() { $dataProvider = new CActiveDataProvider('Menu'); $this->render('index', array('dataProvider' => $dataProvider)); }