<<

NAME

Koha::Notice::Message - Koha notice message Object class, related to the message_queue table

API

Class Methods

is_html

  my $bool = $message->is_html;

Returns a boolean denoting whether the message was generated using a preformatted html template.

html_content

  my $wrapped_content = $message->html_content;

This method returns the message content appropriately wrapped with HTML headers and CSS includes for HTML formatted notices.

restrict_patron_when_notice_fails

    $failed_notice->restrict_patron_when_notice_fails;

Places a restriction (debarment) on patrons with failed SMS and email notices.

type

<<