/** * Lists all models. */ public function actionListing() { $model = Event::getEventsList(); $this->render('listing', array('data' => $model)); }