patron_info()
Function:
patron_info ($pid)
Purpose:
patron_info() needs to return patron specific information. Locum's client class (locum_client) passes this information up to its calling application.
Arguments:
$pid : (string) required $pid can be either a barcode number or a unique patron identifier. Your connector function must be able to accept either and tell the difference.
Expected Result:
Array
(
[pnum] => (string|int) Patron record number or unique identifier
[cardnum] => (string) Patron library card number
[checkouts] => (int) # of items currently checked out (default: 0)
[homelib] => (string) Identifier of patron's home library
[balance] => (float) Current fine/account balance (default: 0)
[expires] => (int) UNIX timestamp of patron's account expiration date (default: 0)
[name] => (string) Patron's full name
[address] => (string) Patron's address
[tel1] => (string) Patron's primary telephone #
[tel2] => (string) (optional) Patron's secondary telephone #
[email] => (string) Patron's email address
)- Printer-friendly version
- Login or register to post comments



4 weeks 1 day ago
4 weeks 3 days ago
4 weeks 3 days ago
4 weeks 4 days ago
6 weeks 19 hours ago
7 weeks 4 days ago
19 weeks 4 days ago
1 year 29 weeks ago
1 year 31 weeks ago
1 year 37 weeks ago