private function __construct() { parent::soap_server(); parent::__construct(); // instantiate wsdl cache manager $this->mUseWsdlCache = (bool) Configuration::Instance()->GetValue('application', 'wsdl_use_cache'); $this->mWsdlCachePath = file_exists(Configuration::Instance()->GetValue('application', 'wsdl_cache_path')) ? Configuration::Instance()->GetValue('application', 'wsdl_cache_path') : Configuration::Instance()->GetTempDir(); $this->mWsdlCacheLifetime = Configuration::Instance()->GetValue('application', 'wsdl_cache_lifetime') != '' ? (int) Configuration::Instance()->GetValue('application', 'wsdl_cache_lifetime') : 60 * 60 * 24; // defaults to 1 day $this->configureWsdl('WsdlPortal', FALSE, Configuration::Instance()->GetValue('application', 'baseaddress') . Configuration::Instance()->GetValue('application', 'basedir') . 'wsdl.php?getlist'); // always registering default service $this->RegisterDefaultService(); }
function __construct() { parent::__construct(); }