<<

NAME

Koha::Patron::MessagePreferences - Koha Patron Message Preferences object class

API

Class Methods

find_with_message_name

Koha::Patron::MessagePreferences->find_with_message_name({ borrowernumber => 123, message_name => 'Hold_Filled', });

Converts message_name into message_attribute_id and continues find.

get_options

my $messaging_options = Koha::Patron::MessagePreferences->get_options

Returns an ARRAYref of HASHrefs on available messaging options.

search_with_message_name

Koha::Patron::MessagePreferences->search_with_message_name({ borrowernumber => 123, message_name => 'Hold_Filled', });

Converts message_name into message_attribute_id and continues search. Use Koha::Patron::MessagePreferences->search with a proper join for more complicated searches.

_type

object_class

AUTHOR

Lari Taskula <lari.taskula@hypernova.fi>

<<