PHP Class IssueGalleyGridHandler, ojs

Inheritance: extends GridHandler
Show file Open project: pkp/ojs

Public Methods

Method Description
__construct ( ) Constructor
add ( $args, $request ) An action to add a new issue
authorize ( $request, &$args, $roleAssignments )
delete ( $args, $request ) Removes an issue galley
download ( $args, $request ) : string An action to download an issue galley
edit ( $args, $request ) : JSONMessage An action to edit a issue galley
getDataElementSequence ( $issueGalley )
getRequestArgs ( )
initFeatures ( $request, $args )
initialize ( $request, $args )
setDataElementSequence ( $request, $rowId, &$issueGalley, $newSequence )
update ( $args, $request ) : JSONMessage Update a issue
upload ( $args, $request ) : JSONMessage An action to upload an issue galley file.

Protected Methods

Method Description
getRowInstance ( ) : IssueGalleyGridRow Get the row handler - override the default row handler
loadData ( $request, $filter )

Method Details

__construct() public method

Constructor
public __construct ( )

add() public method

An action to add a new issue
public add ( $args, $request )
$args array
$request PKPRequest

authorize() public method

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

delete() public method

Removes an issue galley
public delete ( $args, $request )
$args array
$request PKPRequest

download() public method

An action to download an issue galley
public download ( $args, $request ) : string
$args array
$request PKPRequest
return string Serialized JSON object

edit() public method

An action to edit a issue galley
public edit ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

getDataElementSequence() public method

public getDataElementSequence ( $issueGalley )

getRequestArgs() public method

public getRequestArgs ( )

getRowInstance() protected method

Get the row handler - override the default row handler
protected getRowInstance ( ) : IssueGalleyGridRow
return IssueGalleyGridRow

initFeatures() public method

public initFeatures ( $request, $args )

initialize() public method

public initialize ( $request, $args )

loadData() protected method

protected loadData ( $request, $filter )

setDataElementSequence() public method

public setDataElementSequence ( $request, $rowId, &$issueGalley, $newSequence )

update() public method

Update a issue
public update ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

upload() public method

An action to upload an issue galley file.
public upload ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object