Public Member Functions

SelectableFileListGridHandlerImplementation Class Reference

This class implements some of the common behaviours and data that a grid handler can use to handle with a selectable submission files list. More...

Inheritance diagram for SelectableFileListGridHandlerImplementation:
FileListGridHandlerImplementation SubmissionFilesGridHandlerImplementation

List of all members.

Public Member Functions

 authorize (&$request, &$args, $roleAssignments)
 getRequestArgs ($requestArgs)
 initialize (&$request)
loadData (&$submissionFiles)
 SelectableFileListGridHandlerImplementation (&$gridHandler, $stageId, $capabilities)
setSelectedFlag (&$submissionFiles, &$selectedFiles)

Detailed Description

This class implements some of the common behaviours and data that a grid handler can use to handle with a selectable submission files list.

Definition at line 17 of file SelectableFileListGridHandlerImplementation.inc.php.


Member Function Documentation

SelectableFileListGridHandlerImplementation.authorize ( &$  request,
&$  args,
roleAssignments 
)
SelectableFileListGridHandlerImplementation.getRequestArgs ( requestArgs  ) 

Implementation of the GridHandler.getRequestArgs() method.

Definition at line 72 of file SelectableFileListGridHandlerImplementation.inc.php.

References SubmissionFilesGridHandlerImplementation.getGridHandler().

SelectableFileListGridHandlerImplementation.initialize ( &$  request  ) 
& SelectableFileListGridHandlerImplementation.loadData ( &$  submissionFiles  ) 

Implementation of the GridHanler.loadData() method.

Definition at line 82 of file SelectableFileListGridHandlerImplementation.inc.php.

References SubmissionFilesGridHandlerImplementation.getGridHandler(), and setSelectedFlag().

SelectableFileListGridHandlerImplementation.SelectableFileListGridHandlerImplementation ( &$  gridHandler,
stageId,
capabilities 
)

Constructor

Parameters:
$gridHandler Handler The grid handler that instatiated this class.
$stageId integer One of the WORKFLOW_STAGE_ID_* constants.
$capabilities integer A bit map with zero or more FILE_GRID_* capabilities set.

Definition at line 26 of file SelectableFileListGridHandlerImplementation.inc.php.

References FileListGridHandlerImplementation.FileListGridHandlerImplementation().

& SelectableFileListGridHandlerImplementation.setSelectedFlag ( &$  submissionFiles,
&$  selectedFiles 
)

Go through the submission files, set their "selected" flag and return them.

Parameters:
$submissionFiles array
Returns:
array

Definition at line 97 of file SelectableFileListGridHandlerImplementation.inc.php.

Referenced by loadData().


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