Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.2
-
Component/s: ILS Driver
-
Labels:None
Description
Add some options to the placeHold function to include optional item id, required by date and pick up library
/**
* Place Hold
*
* This is responsible for both placing holds as well as placing recalls.
*
* @param string $recordId The id of the bib record
* @param string $itemId The id of the item
* @param string $patronId The id of the patron
* @param string $comment Any comment regarding the hold or recall
* @param string $type Whether to place a hold or recall
* @param string $requiredBy The date the item is required by
* @param string $pickUp The library id where the item is to be picked up
* @return mixed True if successful, false if unsuccessful
* If an error occures, return a PEAR_Error
* @access public
*/
function placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL)
{
return $this->driver->placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL);
}
/**
* Place Hold
*
* This is responsible for both placing holds as well as placing recalls.
*
* @param string $recordId The id of the bib record
* @param string $itemId The id of the item
* @param string $patronId The id of the patron
* @param string $comment Any comment regarding the hold or recall
* @param string $type Whether to place a hold or recall
* @param string $requiredBy The date the item is required by
* @param string $pickUp The library id where the item is to be picked up
* @return mixed True if successful, false if unsuccessful
* If an error occures, return a PEAR_Error
* @access public
*/
function placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL)
{
return $this->driver->placeHold($recordId, $itemId=NULL, $patronid, $comment=NULL, $type, $requiredBy=NULL, $pickUp=NULL);
}