コード例 #1
0
ファイル: IndexController.php プロジェクト: dyeshmuk/auto
 public function newsInfoAction()
 {
     $id = $this->_getParam('id', 0);
     $index = new Application_Model_DbTable_Index();
     $news = $index->getNewsById($id);
     if ($news['status']) {
         $this->view->car = $news['value'];
     }
 }