C4::Review - Perl Module containing routines for dealing with reviews of items
use C4::Review; my $review=getreview($biblionumber,$borrowernumber); savereview($biblionumber,$borrowernumber,$review); updatereview($biblionumber,$borrowernumber,$review); my $count=numberofreviews($biblionumber); my $reviews=getreviews($biblionumber); my $reviews=getallreviews($status);
Review.pm provides many routines for manipulating reviews.
$review = getreview($biblionumber,$borrowernumber);
Takes a borrowernumber and a biblionumber and returns the review of that biblio
approvereview($reviewid);
Takes a reviewid and marks that review approved
deletereview($reviewid);
Takes a reviewid and deletes it
Koha Team