<<

NAME

C4::Review - Perl Module containing routines for dealing with reviews of items

SYNOPSIS

  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);

DESCRIPTION

Review.pm provides many routines for manipulating reviews.

FUNCTIONS

getreview

  $review = getreview($biblionumber,$borrowernumber);

Takes a borrowernumber and a biblionumber and returns the review of that biblio

approvereview

  approvereview($reviewid);

Takes a reviewid and marks that review approved

deletereview

  deletereview($reviewid);

Takes a reviewid and deletes it

AUTHOR

Koha Team

<<