Open Journal Systems  2.4.8
 All Classes Namespaces Functions Variables Groups Pages
BooksForReviewAuthorHandler Class Reference
Inheritance diagram for BooksForReviewAuthorHandler:
Handler PKPHandler

Public Member Functions

 authorize (&$request, &$args, $roleAssignments)
 booksForReview ($args=array(), &$request)
 requestBookForReview ($args=array(), &$request)
 setupTemplate ($subclass=false)
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 addPolicy (&$authorizationPolicy, $addToTop=false)
 addRoleAssignment ($roleIds, $operations)
 authorize (&$request, &$args, $roleAssignments)
getAuthorizedContext ()
getAuthorizedContextObject ($assocType)
getDispatcher ()
 getId ()
 getLastAuthorizationMessage ()
 getLoginExemptions ()
getRangeInfo ($rangeName, $contextData=null)
 getRoleAssignment ($roleId)
 getRoleAssignments ()
 hashPageContext ($contextData=array())
 index ()
 initialize (&$request, $args=null)
 PKPHandler ()
 requireSSL ()
 setDispatcher (&$dispatcher)
 setId ($id)
 validate ($requiredContexts=null, $request=null)

Detailed Description

Handle requests for author book for review functions.

Definition at line 18 of file

Member Function Documentation

BooksForReviewAuthorHandler::authorize ( $request,

Ensure that we have a journal, plugin is enabled, and user is author.

Definition at line 151 of file

References PluginRegistry\getPlugin(), Validation\isAuthor(), and Validation\redirectLogin().

BooksForReviewAuthorHandler::booksForReview (   $args = array(),

Display books for review author listing page.

Definition at line 23 of file

References DAORegistry\getDAO(), PluginRegistry\getPlugin(), PKPHandler\getRangeInfo(), and setupTemplate().

BooksForReviewAuthorHandler::requestBookForReview (   $args = array(),

Author requests a book for review.

Definition at line 71 of file

References DAORegistry\getDAO(), PluginRegistry\getPlugin(), String\html2text(), and setupTemplate().

BooksForReviewAuthorHandler::setupTemplate (   $subclass = false)

Setup common template variables.

$subclassboolean set to true if caller is below this handler in the hierarchy

Definition at line 170 of file

References PKPRequest\getBaseUrl(), PluginRegistry\getPlugin(), and Request\url().

Referenced by booksForReview(), and requestBookForReview().

The documentation for this class was generated from the following file: