Open Journal Systems  3.3.0
LibraryFileHandler Class Reference
Inheritance diagram for LibraryFileHandler:
Handler PKPHandler

Public Member Functions

 __construct ($callingHandler)
 
 downloadLibraryFile ($args, $request)
 
 downloadPublic ($args, $request)
 
- Public Member Functions inherited from PKPHandler
 __construct ()
 
 addPolicy ($authorizationPolicy, $addToTop=false)
 
 addRoleAssignment ($roleIds, $operations)
 
 authorize ($request, &$args, $roleAssignments)
 
 getApiToken ()
 
getAuthorizedContext ()
 
getAuthorizedContextObject ($assocType)
 
getDispatcher ()
 
 getFirstUserContext ($user, $contexts)
 
 getId ()
 
 getLastAuthorizationMessage ()
 
 getRoleAssignment ($roleId)
 
 getRoleAssignments ()
 
 getSiteRedirectContext ($request)
 
 getTargetContext ($request, &$contextsCount=null)
 
 index ($args, $request)
 
 initialize ($request)
 
 markRoleAssignmentsChecked ()
 
 requireSSL ()
 
 setApiToken ($apiToken)
 
 setDispatcher ($dispatcher)
 
 setEnforceRestrictedSite ($enforceRestrictedSite)
 
 setId ($id)
 
 setupTemplate ($request)
 
 validate ($requiredContexts=null, $request=null)
 

Data Fields

 $_callingHandler = null
 
- Data Fields inherited from PKPHandler
 $_authorizationDecisionManager
 
 $_checks = array()
 
 $_dispatcher
 
 $_enforceRestrictedSite = true
 
 $_id
 
 $_isBackendPage = false
 
 $_roleAssignments = array()
 
 $_roleAssignmentsChecked = false
 

Additional Inherited Members

- Static Public Member Functions inherited from PKPHandler
static getPageParamName ($rangeName)
 
static getRangeInfo ($request, $rangeName, $contextData=null)
 
static hashPageContext ($request, $contextData=array())
 
- Protected Attributes inherited from PKPHandler
 $_apiToken = null
 

Detailed Description

Class defining a handler for library file access.

Definition at line 18 of file LibraryFileHandler.inc.php.

Constructor & Destructor Documentation

◆ __construct()

LibraryFileHandler::__construct (   $callingHandler)

Constructor.

Parameters
$callingHandlerHandler

Definition at line 30 of file LibraryFileHandler.inc.php.

Member Function Documentation

◆ downloadLibraryFile()

LibraryFileHandler::downloadLibraryFile (   $args,
  $request 
)

Download a library file.

Parameters
$argsarray
$requestRequest

Definition at line 66 of file LibraryFileHandler.inc.php.

References DAORegistry\getDAO().

◆ downloadPublic()

LibraryFileHandler::downloadPublic (   $args,
  $request 
)

Download a library public file.

Parameters
$argsarray
$requestRequest

Definition at line 43 of file LibraryFileHandler.inc.php.

References DAORegistry\getDAO().

Field Documentation

◆ $_callingHandler

Handler LibraryFileHandler::$_callingHandler = null

the Handler that calls the LibraryFileHandler functions

Definition at line 24 of file LibraryFileHandler.inc.php.


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