<<

NAME

Koha::Biblio - Koha Biblio Object class

API

Class Methods

subtitles

my @subtitles = $biblio->subtitles();

Returns list of subtitles for a record.

Keyword to MARC mapping for subtitle must be set for this method to return any possible values.

can_article_request

my $bool = $biblio->can_article_request( $borrower );

Returns true if article requests can be made for this record

$borrower must be a Koha::Patron object

article_request_type

my $type = $biblio->article_request_type( $borrower );

Returns the article request type based on items, or on the record itself if there are no items.

$borrower must be a Koha::Patron object

article_request_type_for_bib

my $type = $biblio->article_request_type_for_bib

Returns the article request type 'yes', 'no', 'item_only', 'bib_only', for the given record

article_request_type_for_items

my $type = $biblio->article_request_type_for_items

Returns the article request type 'yes', 'no', 'item_only', 'bib_only', for the given record's items

If there is a conflict where some items are 'bib_only' and some are 'item_only', 'bib_only' will be returned.

article_requests

my @requests = $biblio->article_requests

Returns the article requests associated with this Biblio

article_requests_current

my @requests = $biblio->article_requests_current

Returns the article requests associated with this Biblio that are incomplete

article_requests_finished

my @requests = $biblio->article_requests_finished

Returns the article requests associated with this Biblio that are completed

items

my @items = $biblio->items(); my $items = $biblio->items();

Returns the related Koha::Items object for this biblio in scalar context, or list of Koha::Item objects in list context.

itemtype

my $itemtype = $biblio->itemtype();

Returns the itemtype for this record.

holds

my $holds = $biblio->holds();

return the current holds placed on this record

current_holds

my $holds = $biblio->current_holds

Return the holds placed on this bibliographic record. It does not include future holds.

biblioitem

my $field = $self->biblioitem()->itemtype

Returns the related Koha::Biblioitem object for this Biblio object

subscriptions

my $subscriptions = $self->subscriptions

Returns the related Koha::Subscriptions object for this Biblio object

has_items_waiting_or_intransit

my $itemsWaitingOrInTransit = $biblio->has_items_waiting_or_intransit

Tells if this bibliographic record has items waiting or in transit.

type

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<