<<

NAME

Koha::Item::Lists - Koha Item List object set class

API

Class methods

get_readable_lists

    my $lists = Koha::Item::Lists->get_readable_lists($patron);

Returns a Koha::Item::Lists resultset containing the item lists a given patron may read.

get_manageable_lists

    my $lists = Koha::Item::Lists->get_manageable_lists($patron);

Returns a Koha::Item::Lists resultset containing the item lists a given patron may manage.

Internal methods

_search_limited

Helper method to limit searches according to list visibility, permissions, and shares.

Takes a HASHref with the following parameters: 'patron': the patron to check access against 'share_permission': the DBIx WHERE values for relevant share permissions 'has_implicit_permission': whether the patron can access lists implicitly shared via 'public' or 'group' visibility

_type

The Result type of this object set.

object_class

The object class for this object set.

<<