<<

NAME

Koha::Suggestion - Koha Suggestion object class

API

Class methods

store

Override the default store behavior so that new suggestions have a suggesteddate of today

library

my $library = $suggestion->library;

Returns the library of the suggestion (Koha::Library for branchcode field)

suggester

    my $patron = $suggestion->suggester

Returns the Koha::Patron for the suggestion generator. undef is returned if no suggester is linked.

manager

my $manager = $suggestion->manager;

Returns the manager of the suggestion (Koha::Patron for managedby field)

rejecter

my $rejecter = $suggestion->rejecter;

Returns the rejecter of the suggestion (Koha::Patron for rejectebby field)

last_modifier

my $last_modifier = $suggestion->last_modifier;

Returns the librarian who last modified the suggestion (Koha::Patron for lastmodificationby field)

fund

my $fund = $suggestion->fund;

Return the fund associated to the suggestion

place_hold

my $hold_id = $suggestion->place_hold();

Places a hold for the suggester if the suggestion is tied to a biblio.

type

to_api_mapping

This method returns the mapping for representing a Koha::Patron object on the API.

AUTHOR

Kyle M Hall <kyle@bywatersolutions.com>

<<