/** * 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}."); }
/** * 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()"); }