function removeFilter($name) { $config =& HessianConfig::globalConfig(); $config->removeFilter($name); }
function HessianProtocolHandler($stream = null) { if ($stream) { $this->setStream($stream); } // Recover default configuration data $config =& HessianConfig::globalConfig(); $this->setTypeMap($config->typeMap); $this->setDateProvider($config->dateProvider); }
/** * Returns the exact case sesitive name of a registered remote method * * @param string method case insensitive name of the method * @return string case sensitive name of the method * @access public **/ function resolveMethod($method) { $checkMethod = strtolower($method); // ugly $config =& HessianConfig::globalConfig(); if (isset($config->remoteMethods[$this->url][$checkMethod])) { return $config->remoteMethods[$this->url][$checkMethod]; } if (isset($this->remoteMethods[$checkMethod])) { return $this->remoteMethods[$checkMethod]; } return $method; }