コード例 #1
0
 public function index()
 {
     $articles = ArticleModel::getAllArticles();
     global $Smarty;
     return $this->renderPage(array('title' => $Smarty->_config[0]['vars']['pressSnowberryTitle'], 'content_title' => $Smarty->_config[0]['vars']['pressSnowberryContentTitle'], 'articles' => $articles), $this->_template);
 }
コード例 #2
0
 public function index()
 {
     $articles = ArticleModel::getAllArticles();
     return $this->renderPage(array('title' => 'GOBLIIINS + ScummVM = PERFECT COUPLE', 'content_title' => 'GOBLIIINS + ScummVM = PERFECT COUPLE', 'articles' => $articles), $this->_template);
 }
コード例 #3
0
ファイル: PressPage.php プロジェクト: bgK/scummvm-web
 public function index()
 {
     $articles = ArticleModel::getAllArticles();
     return $this->renderPage(array('title' => 'Press Coverage', 'content_title' => 'Press Coverage', 'articles' => $articles), $this->_template);
 }