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
)