Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
CatalogBookHandler Class Reference
Inheritance diagram for CatalogBookHandler:
Handler PKPHandler

Public Member Functions

 authorize ($request, &$args, $roleAssignments)
 
 book ($args, $request)
 
 CatalogBookHandler ()
 
 download ($args, $request, $view=false)
 
 view ($args, $request)
 
- Public Member Functions inherited from Handler
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, $bestGuess=true)
 
 getWorkingContexts ($request)
 
 Handler ()
 
- Public Member Functions inherited from PKPHandler
 addCheck (&$handlerValidator)
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments, $enforceRestrictedSite=true)
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getLoginExemptions ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getWorkingContexts ($request)
 
 index ($args, $request)
 
 initialize ($request, $args=null)
 
 PKPHandler ()
 
 setDispatcher ($dispatcher)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Public Attributes inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_id
 
 $_roleAssignments = array()
 

Detailed Description

Handle requests for the book-specific part of the public-facing catalog.

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

Member Function Documentation

CatalogBookHandler::authorize (   $request,
$args,
  $roleAssignments 
)
See Also
PKPHandler::authorize()
Parameters
$requestPKPRequest
$argsarray
$roleAssignmentsarray

Definition at line 41 of file CatalogBookHandler.inc.php.

References PKPHandler\addPolicy().

CatalogBookHandler::book (   $args,
  $request 
)

Display a published monograph in the public catalog.

Parameters
$argsarray
$requestPKPRequest

Definition at line 56 of file CatalogBookHandler.inc.php.

References PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), PluginRegistry\loadCategory(), AppLocale\requireComponents(), and PKPHandler\setupTemplate().

CatalogBookHandler::CatalogBookHandler ( )

Constructor

Definition at line 27 of file CatalogBookHandler.inc.php.

CatalogBookHandler::download (   $args,
  $request,
  $view = false 
)

Download a published monograph publication format file.

Parameters
$argsarray
$requestPKPRequest
$viewboolean True iff inline viewer should be used, if available

Definition at line 152 of file CatalogBookHandler.inc.php.

References HookRegistry\call(), PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), PluginRegistry\loadCategory(), and PKPHandler\setupTemplate().

Referenced by view().

CatalogBookHandler::view (   $args,
  $request 
)

Use an inline viewer to view a published monograph publication format file.

Parameters
$argsarray
$requestPKPRequest

Definition at line 142 of file CatalogBookHandler.inc.php.

References download().


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