コード例 #1
0
ファイル: Article.php プロジェクト: AlexPanich/php2-dz1
 protected function actionIndex()
 {
     $this->view->news = \App\Models\Article::findLastN(3);
     $this->view->display(__DIR__ . '/../../templates/index.php');
 }