Ejemplo n.º 1
0
 /**
  * Get Patron Holds
  *
  * This is responsible for retrieving all holds by a specific patron.
  *
  * @param array|User $patron      The patron array from patronLogin
  * @param integer $page           The current page of holds
  * @param integer $recordsPerPage The number of records to show per page
  * @param string $sortOption      How the records should be sorted
  *
  * @return mixed        Array of the patron's holds on success, PEAR_Error
  * otherwise.
  * @access public
  */
 public function getMyHolds($patron, $page = 1, $recordsPerPage = -1, $sortOption = 'title')
 {
     return $this->driver->getMyHolds($patron, $page, $recordsPerPage, $sortOption);
 }