@@ -, +, @@ --- Koha/Patron/Message/Attribute.pm | 2 +- Koha/Patron/Message/Attributes.pm | 8 +++++++- Koha/Patron/Message/Preferences.pm | 6 +++++- Koha/Patron/Message/Transport/Preferences.pm | 6 +++++- Koha/Patron/Message/Transport/Type.pm | 4 +++- Koha/Patron/Message/Transport/Types.pm | 8 +++++++- Koha/Patron/Message/Transports.pm | 8 +++++++- 7 files changed, 35 insertions(+), 7 deletions(-) --- a/Koha/Patron/Message/Attribute.pm +++ a/Koha/Patron/Message/Attribute.pm @@ -33,7 +33,7 @@ Koha::Patron::Message::Attribute - Koha Patron Message Attribute object class =cut -=head3 type +=head3 _type =cut --- a/Koha/Patron/Message/Attributes.pm +++ a/Koha/Patron/Message/Attributes.pm @@ -34,7 +34,9 @@ Koha::Patron::Message::Attributes - Koha Patron Message Attributes object class =cut -=head3 type +=head2 Internal methods + +=head3 _type =cut @@ -42,6 +44,10 @@ sub _type { return 'MessageAttribute'; } +=head3 object_class + +=cut + sub object_class { return 'Koha::Patron::Message::Attribute'; } --- a/Koha/Patron/Message/Preferences.pm +++ a/Koha/Patron/Message/Preferences.pm @@ -125,7 +125,7 @@ sub search_with_message_name { return $self->SUPER::search($params, $attributes); } -=head3 type +=head3 _type =cut @@ -133,6 +133,10 @@ sub _type { return 'BorrowerMessagePreference'; } +=head3 object_class + +=cut + sub object_class { return 'Koha::Patron::Message::Preference'; } --- a/Koha/Patron/Message/Transport/Preferences.pm +++ a/Koha/Patron/Message/Transport/Preferences.pm @@ -35,7 +35,7 @@ Preferences object class =cut -=head3 type +=head3 _type =cut @@ -43,6 +43,10 @@ sub _type { return 'BorrowerMessageTransportPreference'; } +=head3 object_class + +=cut + sub object_class { return 'Koha::Patron::Message::Transport::Preference'; } --- a/Koha/Patron/Message/Transport/Type.pm +++ a/Koha/Patron/Message/Transport/Type.pm @@ -34,7 +34,9 @@ object class =cut -=head3 type +=head2 Internal Methods + +=head3 _type =cut --- a/Koha/Patron/Message/Transport/Types.pm +++ a/Koha/Patron/Message/Transport/Types.pm @@ -35,7 +35,9 @@ object class =cut -=head3 type +=head2 Internal Methods + +=head3 _type =cut @@ -43,6 +45,10 @@ sub _type { return 'MessageTransportType'; } +=head3 object_class + +=cut + sub object_class { return 'Koha::Patron::Message::Transport::Type'; } --- a/Koha/Patron/Message/Transports.pm +++ a/Koha/Patron/Message/Transports.pm @@ -34,7 +34,9 @@ Koha::Patron::Message::Transports - Koha Patron Message Transports object class =cut -=head3 type +=head2 Internal Methods + +=head3 _type =cut @@ -42,6 +44,10 @@ sub _type { return 'MessageTransport'; } +=head3 object_class + +=cut + sub object_class { return 'Koha::Patron::Message::Transport'; } --