update_holds()

Function:
update_holds($cardnum, $pin = NULL, $cancelholds = array(), $holdfreezes_to_update = array(), $pickup_locations = array())

Purpose:
update_holds() needs to accept several arrays of information about the holds that need to be updated and perform the adjustments on the holds. The calling application must explicitly pass NULL for arrays that refer to hold properties that do not need to be changed.

Arguments:
$cardnum : (string) required The patron's library card number.
$pin : (string) optional The patron's PIN number or password. (must explicitly pass NULL for no pin)
$cancelholds : (array) optional A standard array of unique identifiers of items whose holds are to be canceled.

Array ($cancelholds)
(
    [{bib number of item}] => (int) 1 = Cancel this hold, 0 (optional) = do not cancel
)
$holdfreezes_to_update : (array) optional A standard array of unique identifiers of items whose holds are to be canceled.
Array ($holdfreezes_to_update)
(
    [{bib number of item}] => (int) 1 = Freeze this item, 0 = unfreeze this item
)
$pickup_locations : (array) optional A standard array of unique identifiers of items whose holds are to be canceled.
Array ($pickup_locations)
(
    [{bib number of item}] => Array of new pickup location information
        (
            [selectid] => Unique variable name that refers to this item's pickup location
            [selected] => New pickup location value
        )
)

Expected Result:
(boolean) TRUE = successfully processed, FALSE = unsuccessfully processed