Open Journal Systems  2.4.4
 All Classes Namespaces Functions Variables Groups Pages
ArticleHandler Class Reference
Inheritance diagram for ArticleHandler:
Handler PKPHandler RTHandler

Public Member Functions

 ArticleHandler (&$request)
 
 download ($args, &$request)
 
 downloadSuppFile ($args, &$request)
 
 setupTemplate ($request)
 
 validate (&$request, $articleId, $galleyId=null)
 
 view ($args, &$request)
 
 viewArticle ($args, &$request)
 
 viewDownloadInterstitial ($args, &$request, $galley=null)
 
 viewFile ($args, &$request)
 
 viewPDFInterstitial ($args, &$request, $galley=null)
 
- 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)
 

Public Attributes

 $article
 
 $issue
 
 $journal
 

Detailed Description

Handle requests for article functions.

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

Member Function Documentation

ArticleHandler::ArticleHandler ( $request)

Constructor

Parameters
$requestRequest

Definition at line 37 of file ArticleHandler.inc.php.

References PKPHandler\addCheck().

ArticleHandler::download (   $args,
$request 
)

Downloads the document

Parameters
$argsarray
$requestRequest

Definition at line 351 of file ArticleHandler.inc.php.

References $article, $issue, $journal, HookRegistry\call(), ArticleFileManager\downloadFile(), DAORegistry\getDAO(), and validate().

Referenced by view().

ArticleHandler::downloadSuppFile (   $args,
$request 
)

Download a supplementary file

Parameters
$argsarray
$requestRequest

Definition at line 378 of file ArticleHandler.inc.php.

References $article, $issue, $journal, HookRegistry\call(), ArticleFileManager\downloadFile(), DAORegistry\getDAO(), and validate().

ArticleHandler::viewArticle (   $args,
$request 
)

Article view

Parameters
$argsarray
$requestRequest

Definition at line 303 of file ArticleHandler.inc.php.

References view().

ArticleHandler::viewDownloadInterstitial (   $args,
$request,
  $galley = null 
)

Article interstitial page before a non-PDF, non-HTML galley is downloaded

Parameters
$argsarray
$requestRequest
$galleyArticleGalley

Definition at line 269 of file ArticleHandler.inc.php.

References $article, $issue, $journal, DAORegistry\getDAO(), setupTemplate(), and validate().

ArticleHandler::viewFile (   $args,
$request 
)

View a file (inlines file).

Parameters
$argsarray ($articleId, $galleyId, $fileId [optional])
$requestRequest

Definition at line 313 of file ArticleHandler.inc.php.

References $article, $issue, $journal, HookRegistry\call(), DAORegistry\getDAO(), validate(), and Action\viewFile().

Referenced by view().

ArticleHandler::viewPDFInterstitial (   $args,
$request,
  $galley = null 
)

Article interstitial page before PDF is shown

Parameters
$argsarray
$requestRequest
$galleyArticleGalley

Definition at line 233 of file ArticleHandler.inc.php.

References $article, $issue, $journal, DAORegistry\getDAO(), setupTemplate(), and validate().

Member Data Documentation


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