C4::Members::Messaging - manage patron messaging preferences
my $preferences = C4::Members::Messaging::GetMessagingPreferences( { borrowernumber => $borrower->{'borrowernumber'}, message_name => 'DUE' } );
returns: a hashref of messaging preferences for this borrower for a particlar message_name
C4::Members::Messaging::SetMessagingPreference( { borrowernumber => $borrower->{'borrowernumber'} message_attribute_id => $message_attribute_id, message_transport_types => [ qw( email sms ) ], days_in_advance => 5 wants_digest => 1 } )
returns nothing useful.
my $messaging_options = C4::Members::Messaging::SetMessagingPreference()
returns a hashref of messaing options available.
Koha Development Team <info@koha.org>
Andrew Moore <andrew.moore@liblime.com>