예제 #1
0
파일: JSON.php 프로젝트: joestump/framework
 /**
  * start
  *
  * @access      public
  * @return      mixed
  */
 public function start()
 {
     try {
         return parent::start();
     } catch (Exception $e) {
         $this->output($result);
     }
 }
예제 #2
0
파일: JSON.php 프로젝트: shupp/Framework
 /**
  * start
  *
  * @access      public
  * @return      mixed
  */
 public function start()
 {
     $result = @parent::start();
     if (PEAR::isError($result)) {
         $this->output($result);
         exit;
     }
     return $result;
 }