There was an error fetching the commit references. Please try again later.
Changed ILS driver loading sequence for more flexibility. No hard work is...
Changed ILS driver loading sequence for more flexibility. No hard work is done in the constructor; instead there is an init() method that gets called by the VuFind\ILS\Connection class. Additionally, drivers no longer load their own configurations; instead, configs are pushed in by VuFind\ILS\Connection, making reuse easier in other contexts. Finally, ILS drivers all inherit from the same base class, easing future functionality. PICA configuration now includes copy of DAIA settings -- this avoids the need to load two separate configs when using PICA.ini Fixed a Symphony namespacing bug. Stub tests have been added for all existing drivers, though they do not cover much code yet.
Showing
- config/vufind/PICA.ini 3 additions, 0 deletionsconfig/vufind/PICA.ini
- module/VuFind/src/VuFind/ILS/Connection.php 21 additions, 1 deletionmodule/VuFind/src/VuFind/ILS/Connection.php
- module/VuFind/src/VuFind/ILS/Driver/AbstractBase.php 57 additions, 0 deletionsmodule/VuFind/src/VuFind/ILS/Driver/AbstractBase.php
- module/VuFind/src/VuFind/ILS/Driver/Aleph.php 45 additions, 34 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Aleph.php
- module/VuFind/src/VuFind/ILS/Driver/Amicus.php 10 additions, 16 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Amicus.php
- module/VuFind/src/VuFind/ILS/Driver/DAIA.php 11 additions, 15 deletionsmodule/VuFind/src/VuFind/ILS/Driver/DAIA.php
- module/VuFind/src/VuFind/ILS/Driver/Demo.php 10 additions, 16 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Demo.php
- module/VuFind/src/VuFind/ILS/Driver/DriverInterface.php 22 additions, 0 deletionsmodule/VuFind/src/VuFind/ILS/Driver/DriverInterface.php
- module/VuFind/src/VuFind/ILS/Driver/Evergreen.php 12 additions, 16 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Evergreen.php
- module/VuFind/src/VuFind/ILS/Driver/Horizon.php 9 additions, 15 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Horizon.php
- module/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php 8 additions, 5 deletionsmodule/VuFind/src/VuFind/ILS/Driver/HorizonXMLAPI.php
- module/VuFind/src/VuFind/ILS/Driver/Innovative.php 10 additions, 16 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Innovative.php
- module/VuFind/src/VuFind/ILS/Driver/Koha.php 17 additions, 21 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Koha.php
- module/VuFind/src/VuFind/ILS/Driver/NewGenLib.php 10 additions, 15 deletionsmodule/VuFind/src/VuFind/ILS/Driver/NewGenLib.php
- module/VuFind/src/VuFind/ILS/Driver/NoILS.php 9 additions, 14 deletionsmodule/VuFind/src/VuFind/ILS/Driver/NoILS.php
- module/VuFind/src/VuFind/ILS/Driver/PICA.php 12 additions, 20 deletionsmodule/VuFind/src/VuFind/ILS/Driver/PICA.php
- module/VuFind/src/VuFind/ILS/Driver/Sample.php 8 additions, 4 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Sample.php
- module/VuFind/src/VuFind/ILS/Driver/Symphony.php 9 additions, 15 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Symphony.php
- module/VuFind/src/VuFind/ILS/Driver/Unicorn.php 37 additions, 42 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Unicorn.php
- module/VuFind/src/VuFind/ILS/Driver/Virtua.php 10 additions, 15 deletionsmodule/VuFind/src/VuFind/ILS/Driver/Virtua.php
Please register or sign in to comment