public function actionMytest() { $data = WCourseLecture::getMyTest(); $this->render('mytest', array('data' => $data)); }