コード例 #1
0
ファイル: News.php プロジェクト: paShaman/Scala
 /**
  * добавление новости
  */
 public function action_news_edit()
 {
     $params = $this->request->post('params');
     $result = Model_News::editNews($params);
     if (empty($result)) {
         $this->jsonResult(false);
     }
     $this->jsonResult(true);
 }