PHP Class IssueHandler, ojs

Inheritance: extends Handler
Datei anzeigen Open project: pkp/ojs Class Usage Examples

Public Properties

Property Type Description
$_galley retrieved issue galley

Public Methods

Method Description
__construct ( ) Constructor
_setupIssueTemplate ( $request, $issue, $showToc = false ) Given an issue, set up the template with all the required variables for frontend/objects/issue_toc.tpl to function properly (i.e. current issue and view issue).
archive ( $args, $request ) Display the issue archive listings
authorize ( $request, &$args, $roleAssignments )
current ( $args, $request ) Display current issue page.
download ( $args, $request ) Downloads an issue galley file
getGalley ( ) : IssueGalley Get the retrieved issue galley
index ( $args, $request ) Display about index page.
initialize ( $request, $args )
setGalley ( $galley ) Set a retrieved issue galley
setupTemplate ( $request )
userCanViewGalley ( $request ) Determines whether or not a user can view an issue galley.
view ( $args, $request ) View an issue.

Method Details

__construct() public method

Constructor
public __construct ( )

_setupIssueTemplate() public method

Given an issue, set up the template with all the required variables for frontend/objects/issue_toc.tpl to function properly (i.e. current issue and view issue).
public _setupIssueTemplate ( $request, $issue, $showToc = false )
$issue object The issue to display
$showToc boolean iff false and a custom cover page exists, the cover page will be displayed. Otherwise table of contents will be displayed.

archive() public method

Display the issue archive listings
public archive ( $args, $request )
$args array
$request PKPRequest

authorize() public method

public authorize ( $request, &$args, $roleAssignments )

current() public method

Display current issue page.
public current ( $args, $request )

download() public method

Downloads an issue galley file
public download ( $args, $request )
$args array ($issueId, $galleyId)
$request Request

getGalley() public method

Get the retrieved issue galley
public getGalley ( ) : IssueGalley
return IssueGalley

index() public method

Display about index page.
public index ( $args, $request )

initialize() public method

See also: PKPHandler::initialize()
public initialize ( $request, $args )

setGalley() public method

Set a retrieved issue galley
public setGalley ( $galley )
$galley IssueGalley

setupTemplate() public method

public setupTemplate ( $request )

userCanViewGalley() public method

Determines whether or not a user can view an issue galley.
public userCanViewGalley ( $request )
$request Request

view() public method

View an issue.
public view ( $args, $request )
$args array
$request PKPRequest

Property Details

$_galley public_oe property

retrieved issue galley
public $_galley