Exemplo n.º 1
0
 /**
  * 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;
 }
Exemplo n.º 2
0
 /**
  * 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();
 }
Exemplo n.º 3
0
 function __construct()
 {
     parent::__construct();
 }