Exemplo n.º 1
0
 public function actionIndex()
 {
     $model = new Article();
     $this->view->model = $model->getAll();
     echo $this->view->render('index');
 }