Skip to content

Commit c7efb22

Browse files
author
UBMA Sysadmins
committed
Add dummy function getDefaultPickUpLocation to Alma ILS driver
Signed-off-by: UBMA Sysadmins <sysadmin.ub@uni-mannheim.de>
1 parent 967d53e commit c7efb22

File tree

1 file changed

+19
-0
lines changed
  • module/VuFind/src/VuFind/ILS/Driver

1 file changed

+19
-0
lines changed

module/VuFind/src/VuFind/ILS/Driver/Alma.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,25 @@ protected function makeRequest(
258258
return $returnStatus ? [$returnValue, $statusCode] : $returnValue;
259259
}
260260

261+
/**
262+
* Get Default Pick Up Location
263+
*
264+
* Returns the default pick up location set in VoyagerRestful.ini
265+
*
266+
* @param array $patron Patron information returned by the patronLogin method.
267+
* @param array $holdInfo Optional array, only passed in when getting a list
268+
* in the context of placing a hold; contains most of the same values passed to
269+
* placeHold, minus the patron data. May be used to limit the pickup options
270+
* or may be ignored.
271+
*
272+
* @return string The default pickup location for the patron.
273+
*/
274+
public function getDefaultPickUpLocation($patron, $holdInfo = null)
275+
{
276+
// TODO: missing implementation
277+
return '';
278+
}
279+
261280
/**
262281
* Given an item, return its availability and status.
263282
*

0 commit comments

Comments
 (0)