public function actionIndex()
 {
     $articleModel = new ArticleModel();
     $articles = $articleModel->getAll();
     $templateEngine = new TemplateEngine();
     return $templateEngine->render('articles/index.html', array('articles' => $articles));
 }
 public function actionIndex($out = '')
 {
     $articleModel = new ArticleModel();
     $articles = $articleModel->getAll();
     $templateEngine = new TemplateEngine();
     return $templateEngine->render('cli/cli.html', array('articles' => $articles, 'out' => $out));
 }