diff --git a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php index 53c1e50e27813644e465647d9c1dd61adc9c3f26..b224d9bf14b2a440c8adfba7f4623eed3ddc58f7 100644 --- a/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php +++ b/module/VuFind/src/VuFind/ILS/Driver/Unicorn.php @@ -44,12 +44,33 @@ use File_MARC, VuFind\Exception\ILS as ILSException; **/ class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterface { + /** + * Host + * + * @var string + */ protected $host; + + /** + * Port + * + * @var string + */ protected $port; + + /** + * Name of API program + * + * @var string + */ protected $search_prog; - protected $url; - protected $db; + /** + * Full URL to API (alternative to host/port/search_prog) + * + * @var string + */ + protected $url; /** * HTTP service @@ -114,8 +135,6 @@ class Unicorn extends AbstractBase implements \VuFindHttp\HttpServiceAwareInterf $this->port = $this->config['Catalog']['port']; $this->search_prog = $this->config['Catalog']['search_prog']; } - - $this->db = \VuFind\Connection\Manager::connectToIndex(); } /**