<<

NAME

Koha::AdditionalContent - Koha Additional content object class

API

Class Methods

author

    $additional_content->author;

Return the Koha::Patron object for the patron who authored this additional content

is_expired

my $is_expired = $additional_content->is_expired;

Returns 1 if the additional content is expired or 0;

library

my $library = $additional_content->library;

Returns Koha::Library object or undef

translated_contents

my $translated_contents = $additional_content->translated_contents; $additional_content->translated_contents(\@contents)

default_localization

my $default_content = $additional_content->default_localization;

Return the default content.

translated_content

my $translated_content = $additional_content->translated_content($lang);

Return the translated content for a given language. The default is returned if none exist.

_type

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<