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...
Public Member Functions | |
| authorize (&$request, &$args, $roleAssignments) | |
| getRequestArgs ($requestArgs) | |
| initialize (&$request) | |
| & | loadData (&$submissionFiles) |
| SelectableFileListGridHandlerImplementation (&$gridHandler, $stageId, $capabilities) | |
| & | setSelectedFlag (&$submissionFiles, &$selectedFiles) |
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.
| SelectableFileListGridHandlerImplementation.authorize | ( | &$ | request, | |
| &$ | args, | |||
| $ | roleAssignments | |||
| ) |
Reimplemented from SubmissionFilesGridHandlerImplementation.
Definition at line 37 of file SelectableFileListGridHandlerImplementation.inc.php.
References SubmissionFilesGridHandlerImplementation.getGridHandler().
| SelectableFileListGridHandlerImplementation.getRequestArgs | ( | $ | requestArgs | ) |
Implementation of the GridHandler.getRequestArgs() method.
Definition at line 72 of file SelectableFileListGridHandlerImplementation.inc.php.
References SubmissionFilesGridHandlerImplementation.getGridHandler().
| SelectableFileListGridHandlerImplementation.initialize | ( | &$ | request | ) |
Reimplemented from FileListGridHandlerImplementation.
Definition at line 55 of file SelectableFileListGridHandlerImplementation.inc.php.
References SubmissionFilesGridHandlerImplementation.getGridHandler().
| & 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
| $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.
| $submissionFiles | array |
Definition at line 97 of file SelectableFileListGridHandlerImplementation.inc.php.
Referenced by loadData().
1.7.1