File: stories/contentapproval.php

Return to Documentation

getPendingBooks (2)
changeBookStatus (3)

getPendingBooks

Author: Brad
Version: 04.25.05

Description

Retrieves all books with status = 'pending'.

Example

getPendingBooks()

Parameters

None

Top

changeBookStatus

Author: Brad
Version: 04.25.05

Description

Updates the book's status (approved, pending, rejected).

Example

changeBookStatus($bookid, $status)

Parameters

BookidInt id (p_key) of book you are changing
StatusNew status for book (valid possibilities are strings 'approved', 'pending', and 'rejected'

Top