public function actionAll() { $this->view->items = NewsArticle::findAll(); echo $this->view->render('all'); }