Expose and retrieve specific Backends via BackendManager
* ../themes/root/theme.config.php: Retrieve WorldCat backend via BackendManager. * VuFind/Bootstrapper.php (initSearch): Retrieve BackendManager via ServiceManager. * ../config/module.config.php: Defined factory function for BackendManager. * VuFind/Search/BackendManager.php (get): New method. Return named backend. (has): New method. Check for named backend. * VuFindSearch/Service.php (getBackend): Removed.
Showing
- module/VuFind/config/module.config.php 11 additions, 0 deletionsmodule/VuFind/config/module.config.php
- module/VuFind/src/VuFind/Bootstrapper.php 2 additions, 11 deletionsmodule/VuFind/src/VuFind/Bootstrapper.php
- module/VuFind/src/VuFind/Search/BackendManager.php 37 additions, 10 deletionsmodule/VuFind/src/VuFind/Search/BackendManager.php
- module/VuFindSearch/src/VuFindSearch/Service.php 0 additions, 15 deletionsmodule/VuFindSearch/src/VuFindSearch/Service.php
- themes/root/theme.config.php 1 addition, 1 deletionthemes/root/theme.config.php
Please register or sign in to comment