Koha::Suggestion - Koha Suggestion object class
Override the default store behavior so that new suggestions have a suggesteddate of today
my $library = $suggestion->library;
Returns the library of the suggestion (Koha::Library for branchcode field)
my $patron = $suggestion->suggester
Returns the Koha::Patron for the suggestion generator. undef is returned if no suggester is linked.
my $manager = $suggestion->manager;
Returns the manager of the suggestion (Koha::Patron for managedby field)
my $rejecter = $suggestion->rejecter;
Returns the rejecter of the suggestion (Koha::Patron for rejectebby field)
my $last_modifier = $suggestion->last_modifier;
Returns the librarian who last modified the suggestion (Koha::Patron for lastmodificationby field)
my $fund = $suggestion->fund;
Return the fund associated to the suggestion
my $hold_id = $suggestion->place_hold();
Places a hold for the suggester if the suggestion is tied to a biblio.
This method returns the mapping for representing a Koha::Patron object on the API.
Kyle M Hall <kyle@bywatersolutions.com>