AAAAhome/academiac/www/plugins/vmcalculation/avalara/classes/ATConfig.class.php000060400000004257151373125420023053 0ustar00_ivars = ATConfig::$Configurations[$name]; } public function __get($n) { if($n == '_ivars') { return parent::__get($n); } if(isset($this->_ivars[$n])) { return $this->_ivars[$n]; } else if(isset(ATConfig::$Configurations['Default'][$n])) // read missing values from default { return ATConfig::$Configurations['Default'][$n]; } else { return null; } } } /* Specify configurations by name here. You can specify as many as you like */ $__wsdldir = dirname(__FILE__)."/wsdl"; /* This is the default configuration - it is used if no other configuration is specified */ new ATConfig('Default', array( 'url' => 'no url specified', 'addressService' => '/Address/AddressSvc.asmx', 'taxService' => '/Tax/TaxSvc.asmx', 'batchService'=> '/Batch/BatchSvc.asmx', 'avacertService'=> '/AvaCert/AvaCertSvc.asmx', 'addressWSDL' => 'file://'.$__wsdldir.'/Address.wsdl', 'taxWSDL' => 'file://'.$__wsdldir.'/Tax.wsdl', 'batchWSDL' => 'file://'.$__wsdldir.'/BatchSvc.wsdl', 'avacertWSDL' => 'file://'.$__wsdldir.'/AvaCertSvc.wsdl', 'account' => '', 'license' => '', 'adapter' => 'avatax4php,5.10.0.0', 'client' => 'VirtueMart2.0.16', 'name' => 'PHPAdapter', 'trace' => true) // change to false for production ); ?>