patron_checkouts()

Function:
patron_checkouts ($cardnum, $pin = NULL)

Purpose:
patron_checkouts() needs to return an array of items checked out to the cardholder. Locum's client class (locum_client) passes this information up to its calling application.

Arguments:
$cardnum : (string) required The patron's library card number.
$pin : (string) optional The patron's PIN number or password.

Expected Result:

Array
(
    [] => Array of checked-out items (1 for each item checked out)
        (
            [varname] => (string) Unique variable name used to refer to this item
            [inum] => (string) Item number of checked-out item
            [bnum] => (string) Bib number of checked-out item
            [title] => (string) Title of checked-out item
            [ill] => (int) 1 = item is an ILL, 0 = item is from the local collection
            [numrenews] => (int) # of times this item has been renewed by the patron
            [duedate] => (int) UNIX timestamp of item's due date
            [callnum] => (string) Item's call #
        )
)