Open Journal Systems  2.4.3
 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 ()
 
 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 BooksForReviewAuthorHandler.inc.php.

Member Function Documentation

BooksForReviewAuthorHandler::authorize ( $request,
$args,
  $roleAssignments 
)

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

Definition at line 155 of file BooksForReviewAuthorHandler.inc.php.

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

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

Display books for review author listing page.

Definition at line 23 of file BooksForReviewAuthorHandler.inc.php.

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

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

Author requests a book for review.

Definition at line 71 of file BooksForReviewAuthorHandler.inc.php.

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

BooksForReviewAuthorHandler::setupTemplate (   $subclass = false)

Setup common template variables.

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

Definition at line 174 of file BooksForReviewAuthorHandler.inc.php.

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

Referenced by booksForReview(), and requestBookForReview().


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