Retrieves all books with status = 'pending'.
getPendingBooks()
Parameters | |
| None |
Updates the book's status (approved, pending, rejected).
changeBookStatus($bookid, $status)
Parameters | |
| Bookid | Int id (p_key) of book you are changing |
| Status | New status for book (valid possibilities are strings 'approved', 'pending', and 'rejected' |