PHP Class ArticleGalleyGridHandler, ojs

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

Public Properties

Property Type Description
$_request PKPRequest

Public Methods

Method Description
__construct ( ) Constructor
addGalley ( $args, $request ) : JSONMessage Add a galley
authorize ( $request, &$args, $roleAssignments )
clearPubId ( $args, $request ) : JSONMessage Clear galley pub id
deleteGalley ( $args, $request ) : JSONMessage Delete a galley.
editGalley ( $args, $request ) : JSONMessage Edit a galley metadata modal
editGalleyTab ( $args, $request ) : JSONMessage Edit a galley
fetchRow ( $args, $request )
getDataElementSequence ( $row )
getGalley ( ) : ArticleGalley Get the authorized galley.
getJSHandler ( )
getRequestArgs ( ) : array Get the arguments that will identify the data in the grid.
getRowInstance ( ) : ArticleGalleyGridRow
getSubmission ( ) : Submission Get the authorized submission.
identifiers ( $args, $request ) : JSONMessage Edit article galley pub ids
initFeatures ( $request, $args )
initialize ( $request ) Configure the grid
loadData ( $request, $filter = null )
setDataElementSequence ( $request, $rowId, $gridDataElement, $newSequence )
updateGalley ( $args, $request ) : JSONMessage Save a galley
updateIdentifiers ( $args, $request ) : JSONMessage Update article galley pub ids

Method Details

__construct() public method

Constructor
public __construct ( )

addGalley() public method

Add a galley
public addGalley ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

authorize() public method

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

clearPubId() public method

Clear galley pub id
public clearPubId ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

deleteGalley() public method

Delete a galley.
public deleteGalley ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

editGalley() public method

Edit a galley metadata modal
public editGalley ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

editGalleyTab() public method

Edit a galley
public editGalleyTab ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

fetchRow() public method

public fetchRow ( $args, $request )

getDataElementSequence() public method

public getDataElementSequence ( $row )

getGalley() public method

Get the authorized galley.
public getGalley ( ) : ArticleGalley
return ArticleGalley

getJSHandler() public method

See also: GridHandler::getJSHandler()
public getJSHandler ( )

getRequestArgs() public method

Overridden by child grids.
public getRequestArgs ( ) : array
return array

getRowInstance() public method

public getRowInstance ( ) : ArticleGalleyGridRow
return ArticleGalleyGridRow

getSubmission() public method

Get the authorized submission.
public getSubmission ( ) : Submission
return Submission

identifiers() public method

Edit article galley pub ids
public identifiers ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

initFeatures() public method

public initFeatures ( $request, $args )

initialize() public method

Configure the grid
public initialize ( $request )
$request PKPRequest

loadData() public method

public loadData ( $request, $filter = null )

setDataElementSequence() public method

public setDataElementSequence ( $request, $rowId, $gridDataElement, $newSequence )

updateGalley() public method

Save a galley
public updateGalley ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

updateIdentifiers() public method

Update article galley pub ids
public updateIdentifiers ( $args, $request ) : JSONMessage
$args array
$request PKPRequest
return JSONMessage JSON object

Property Details

$_request public property

public PKPRequest $_request
return PKPRequest