<<

NAME

Koha::Holds - Koha Hold object set class

API

Class Methods

waiting

returns a set of holds that are waiting from an existing set

unfilled

returns a set of holds that are unfilled from an existing set

forced_hold_level

If a patron has multiple holds for a single record, those holds must be either all record level holds, or they must all be item level holds.

This method should be used with Hold sets where all Hold objects share the same patron and record.

This method will return 'item' if the patron has at least one item level hold. It will return 'record' if the patron has holds but none are item level, Finally, if the patron has no holds, it will return undef which indicates the patron may select either record or item level holds, barring any other rules that would prevent one or the other.

type

object_class

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<