diff --git a/module/VuFind/config/module.config.php b/module/VuFind/config/module.config.php index 55d55886d3fca65cb36eb26e9282843f71900f14..c555ad3c36b4d98036d90c8aa81cf9097f97902a 100644 --- a/module/VuFind/config/module.config.php +++ b/module/VuFind/config/module.config.php @@ -323,7 +323,7 @@ $config = array( 'VuFind\SessionManager' => 'Zend\Session\SessionManager', 'VuFind\SMS' => 'VuFind\Mailer\SMS', 'VuFind\WorldCatConnection' => 'VuFind\Connection\WorldCat', - 'worldcatutils' => 'VuFind\Connection\WorldCatUtils', + 'VuFind\WorldCatUtils' => 'VuFind\Connection\WorldCatUtils', ), 'initializers' => array( array('VuFind\ServiceManager\Initializer', 'initInstance'), diff --git a/module/VuFind/src/VuFind/Recommend/WorldCatIdentities.php b/module/VuFind/src/VuFind/Recommend/WorldCatIdentities.php index 86369a457c72d0eab0e317ee8d39946af69c575c..3bf0c5d7f48fd98c3586e374ab006653acd7d430 100644 --- a/module/VuFind/src/VuFind/Recommend/WorldCatIdentities.php +++ b/module/VuFind/src/VuFind/Recommend/WorldCatIdentities.php @@ -105,7 +105,8 @@ class WorldCatIdentities extends AbstractSearchManagerAwareModule $lookfor = isset($search[0]['lookfor']) ? $search[0]['lookfor'] : ''; // Get terminology information: - return $this->getServiceLocator()->getServiceLocator()->get('WorldCatUtils') + return $this->getServiceLocator()->getServiceLocator() + ->get('VuFind\WorldCatUtils') ->getRelatedIdentities($lookfor); } } \ No newline at end of file diff --git a/module/VuFind/src/VuFind/Recommend/WorldCatTerms.php b/module/VuFind/src/VuFind/Recommend/WorldCatTerms.php index 16ddd8da4ac7f2c1fd463285d38048aefe1ded67..decab0b9fead0a6fedcb6460cd21e2c9417f5986 100644 --- a/module/VuFind/src/VuFind/Recommend/WorldCatTerms.php +++ b/module/VuFind/src/VuFind/Recommend/WorldCatTerms.php @@ -106,7 +106,8 @@ class WorldCatTerms extends AbstractSearchManagerAwareModule $lookfor = isset($search[0]['lookfor']) ? $search[0]['lookfor'] : ''; // Get terminology information: - $wc = $this->getServiceLocator()->getServiceLocator()->get('WorldCatUtils'); + $wc = $this->getServiceLocator()->getServiceLocator() + ->get('VuFind\WorldCatUtils'); $terms = $wc->getRelatedTerms($lookfor, $this->vocab); // Wipe out any empty or unexpected sections of the related terms array; diff --git a/module/VuFind/src/VuFind/Related/Editions.php b/module/VuFind/src/VuFind/Related/Editions.php index 136706857e21c1c002c09f5f29324b6f60324eb9..a1eed7414ff3964b46e2fdf0d81bcc72374f3630 100644 --- a/module/VuFind/src/VuFind/Related/Editions.php +++ b/module/VuFind/src/VuFind/Related/Editions.php @@ -102,7 +102,7 @@ class Editions extends AbstractServiceLocator */ protected function getQueryParts($driver) { - $wc = $this->getServiceLocator()->get('WorldCatUtils'); + $wc = $this->getServiceLocator()->get('VuFind\WorldCatUtils'); $parts = array(); if (method_exists($driver, 'getCleanOCLCNum')) { $oclcNum = $driver->getCleanOCLCNum(); diff --git a/module/VuFind/src/VuFind/Related/WorldCatEditions.php b/module/VuFind/src/VuFind/Related/WorldCatEditions.php index 38bc297f1506bd36dc33ac4f92995f65578cdb8c..7c6a243f24e27a40fd192d7218360b378436e816 100644 --- a/module/VuFind/src/VuFind/Related/WorldCatEditions.php +++ b/module/VuFind/src/VuFind/Related/WorldCatEditions.php @@ -80,7 +80,7 @@ class WorldCatEditions extends Editions */ protected function getQueryParts($driver) { - $wc = $this->getServiceLocator()->get('WorldCatUtils'); + $wc = $this->getServiceLocator()->get('VuFind\WorldCatUtils'); $parts = array(); if (method_exists($driver, 'getCleanISBN')) { $isbn = $driver->getCleanISBN();