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