<<

NAME

Koha::Object::Message - Class encapsulating action feedback messages in Koha::Object-derived classes

SYNOPSIS

  my ($self, $params) = @_;
  push @{$self->{_messages}} = Koha::Object::Message->new($params);

API

Class methods

new

    my $message = Koha::Object::Message->new(
        {
            message => $some_message,
          [ type    => 'error',
            payload => $payload ]
        }
    );

Create a new Koha::Object::Message object.

AUTHOR

Tomas Cohen Arazi, <tomascohen@theke.io>

<<