示例#1
0
文件: Proxy.php 项目: psagi/sdo
 /**
  * Invoke the method name in the target.
  *
  * @param string $method_name Method name
  * @param array  $arguments   Arguments
  *
  * @return mixed
  */
 public function __call($method_name, $arguments)
 {
     SCA::$logger->log("Call to invalid method {$method_name}.");
     throw SCA_MethodNotAllowedException("Call to invalid method {$method_name}.");
 }
示例#2
0
文件: Proxy.php 项目: psagi/sdo
 /**
  * Rss has fixed methods to retrieve a channel or items __call
  * is implemented to catch any problem cases.
  *
  * @param string $method_name Method name
  * @param array  $arguments   Arguments
  *
  * @return mixed
  */
 public function __call($method_name, $arguments)
 {
     SCA::$logger->log("Call to invalid method {$method_name}.  RSS only supports retrieve() or enumerate()");
     throw SCA_MethodNotAllowedException("Call to invalid method {$method_name}.  RSS only supports retrieve() or enumerate()");
 }