コード例 #1
0
ファイル: Zbase.php プロジェクト: claremontdesign/zbase
 /**
  * Return the JSON View Model
  * @return type
  */
 public function json()
 {
     if (!$this->json instanceof Models\Json) {
         $className = zbase_model_name('view', null, '\\Zbase\\Models\\Json');
         $this->json = new $className();
         $this->json->start();
     }
     return $this->json;
 }