/** * This is the default 'index' action that is invoked * when an action is not explicitly requested by users. */ public function actionIndex() { $data = Mark::getAllMarks(); $this->render('index', array('data' => $data)); }