/** * Constructor * * @param string $configFile An alternative config file name * * @access public */ function __construct($configFile = 'HorizonXMLAPI.ini') { // Call the parent's constructor... parent::__construct($configFile); // Process Config $this->wsProfile = $this->config['Webservices']['profile']; $this->wsURL = $this->config['Webservices']['HIPurl']; $this->wsPickUpLocations = isset($this->config['pickUpLocations']) ? $this->config['pickUpLocations'] : false; $this->wsDefaultPickUpLocation = isset($this->config['Holds']['defaultPickUpLocation']) ? $this->config['Holds']['defaultPickUpLocation'] : false; }
/** * Constructor * * @param string $configFile An alternative config file name * * @access public */ function __construct($configFile = 'HorizonXMLAPI.ini') { // Call the parent's constructor... parent::__construct($configFile); // Process Config $this->wsProfile = $this->config['Webservices']['profile']; $this->wsURL = $this->config['Webservices']['HIPurl']; $this->wsPickUpLocations = isset($this->config['pickUpLocations']) ? $this->config['pickUpLocations'] : false; $this->wsDefaultPickUpLocation = isset($this->config['Holds']['defaultPickUpLocation']) ? $this->config['Holds']['defaultPickUpLocation'] : false; // Set up object for formatting dates and times: $this->dateFormat = new VuFindDate(); }
function __construct() { parent::__construct(); }