Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct ($dataProvider, $stageId, $capabilities=0) | |
authorize ($request, &$args, $roleAssignments) | |
getCapabilities () | |
getFilesToDownload ($request) | |
getFilterSelectionData ($request) | |
getSelectName () | |
getStageId () | |
getSubmission () | |
initFeatures ($request, $args) | |
initialize ($request, $args=null) | |
isDataElementInCategorySelected ($categoryDataId, &$gridDataElement) | |
![]() | |
__construct ($dataProvider=null) | |
fetchCategory ($args, $request) | |
getCategoryItemsCount ($categoryElement, $request) | |
getCurrentCategoryId () | |
getDataElementInCategorySequence ($categoryId, &$gridDataElement) | |
getEmptyCategoryRowText () | |
& | getGridCategoryDataElements ($request, $categoryElement) |
getJSHandler () | |
getRequestArgs () | |
hasGridDataElementsInCategory ($categoryElement, $request) | |
setDataElementInCategorySequence ($categoryId, &$gridDataElement, $newSequence) | |
setEmptyCategoryRowText ($translationKey) | |
setGridCategoryDataElements ($request, $categoryElementId, $data) | |
setUrls ($request, $extraUrls=array()) | |
![]() | |
addAction ($action, $position=GRID_ACTION_POSITION_ABOVE) | |
addColumn ($column) | |
fetchCell (&$args, $request) | |
fetchGrid ($args, $request) | |
fetchRow ($args, $request) | |
fetchRows ($args, $request) | |
getActions ($position=GRID_ACTION_POSITION_ABOVE) | |
getColumn ($columnId) | |
& | getColumns () |
& | getColumnsByFlag ($flag) |
getColumnsCount ($flag=null) | |
getDataElementSequence ($gridDataElement) | |
getDataProvider () | |
getEmptyRowText () | |
getFeatures () | |
getFootNote () | |
& | getGridDataElements ($request) |
getGridRangeInfo ($request, $rangeName, $contextData=null) | |
getIsSubcomponent () | |
getItemIterator () | |
getPublishChangeEvents () | |
getRequestArg ($key) | |
getRequestedRow ($request, $args) | |
getTemplate () | |
getTitle () | |
getUrls () | |
hasColumn ($columnId) | |
hasGridDataElements ($request) | |
isDataElementSelected ($gridDataElement) | |
renderRow ($request, $row) | |
saveSequence ($args, $request) | |
setDataElementSequence ($request, $rowId, $gridDataElement, $newSequence) | |
setEmptyRowText ($emptyRowText) | |
setFootNote ($footNote) | |
setGridDataElements ($data) | |
setTemplate ($template) | |
setTitle ($title) | |
![]() | |
__construct () | |
addPolicy ($authorizationPolicy, $addToTop=false) | |
addRoleAssignment ($roleIds, $operations) | |
getApiToken () | |
& | getAuthorizedContext () |
& | getAuthorizedContextObject ($assocType) |
& | getDispatcher () |
getFirstUserContext ($user, $contexts) | |
getId () | |
getLastAuthorizationMessage () | |
getRoleAssignment ($roleId) | |
getRoleAssignments () | |
getSiteRedirectContext ($request) | |
getTargetContext ($request, &$contextsCount=null) | |
index ($args, $request) | |
initialize ($request) | |
markRoleAssignmentsChecked () | |
requireSSL () | |
setApiToken ($apiToken) | |
setDispatcher ($dispatcher) | |
setEnforceRestrictedSite ($enforceRestrictedSite) | |
setId ($id) | |
setupTemplate ($request) | |
validate ($requiredContexts=null, $request=null) | |
Data Fields | |
$_capabilities | |
$_stageId | |
![]() | |
$_categoryData | |
$_currentCategoryId = null | |
$_emptyCategoryRowText = 'grid.noItems' | |
![]() | |
$_actions = array(GRID_ACTION_POSITION_DEFAULT => array()) | |
$_columns = array() | |
$_constants = [] | |
$_data | |
$_dataProvider | |
$_emptyRowText = 'grid.noItems' | |
$_features | |
$_footNote = '' | |
$_itemIterator | |
$_template | |
$_title = '' | |
$_urls | |
![]() | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
Protected Member Functions | |
getCategoryRowInstance () | |
getFilterForm () | |
getRowInstance () | |
isFilterFormCollapsible () | |
loadData ($request, $filter) | |
![]() | |
doSpecificFetchGridActions ($args, $request, $templateMgr) | |
getCategoryRowIdParameterName () | |
getRequestedCategoryRow ($request, $args) | |
getRowDataElement ($request, &$rowId) | |
getRowsSequence ($request) | |
loadCategoryData ($request, &$categoryDataElement, $filter=null) | |
renderRowInternally ($request, $row) | |
setFirstDataColumn () | |
![]() | |
callFeaturesHook ($hookName, $args) | |
& | getDataElementFromRequest ($request, &$elementId) |
noAutocompleteResults () | |
renderFilter ($request, $filterData=array()) | |
renderGridBodyPartsInternally ($request) | |
renderRowsInternally ($request, &$elements) | |
Additional Inherited Members | |
![]() | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
![]() | |
$_apiToken = null | |
Handle selectable submission file list category grid requests.
Definition at line 30 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::__construct | ( | $dataProvider, | |
$stageId, | |||
$capabilities = 0 |
|||
) |
Constructor
$dataProvider | GridDataProvider |
$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 51 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::authorize | ( | $request, | |
& | $args, | ||
$roleAssignments | |||
) |
Authorize this request.
Routers will call this method automatically thereby enforcing authorization. This method will be called before the validate() method and before passing control on to the handler operation.
NB: This method will be called once for every request only.
$request | Request |
$args | array request arguments |
$roleAssignments | array the operation role assignment, see getRoleAssignment() for more details. |
Reimplemented from GridHandler.
Reimplemented in ManageProofFilesGridHandler.
Definition at line 151 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References GridHandler\getDataProvider(), and getStageId().
SelectableSubmissionFileListCategoryGridHandler::getCapabilities | ( | ) |
Get grid capabilities object.
Definition at line 70 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References $_capabilities.
Referenced by getRowInstance(), and initialize().
|
protected |
Get a new instance of a category grid row. May be overridden by subclasses if they want to provide a custom row definition.
Reimplemented from CategoryGridHandler.
Definition at line 140 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::getFilesToDownload | ( | $request | ) |
Get all files of this grid to download.
$request | Request |
Definition at line 244 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References GridHandler\getDataProvider(), CategoryGridHandler\getGridCategoryDataElements(), and GridHandler\getGridDataElements().
Referenced by initialize().
|
protected |
Returns a Form object or the path name of a filter template.
Reimplemented from GridHandler.
Definition at line 115 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::getFilterSelectionData | ( | $request | ) |
Method that extracts the user's filter selection from the request either by instantiating the filter's Form object or by reading the request directly (if using a simple filter template only).
$request | PKPRequest |
Reimplemented from GridHandler.
Definition at line 129 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
|
protected |
Get a new instance of a grid row. May be overridden by subclasses if they want to provide a custom row definition.
Reimplemented from GridHandler.
Definition at line 231 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References getCapabilities(), and getStageId().
SelectableSubmissionFileListCategoryGridHandler::getSelectName | ( | ) |
Get the selection name.
Reimplemented from GridHandler.
Definition at line 284 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::getStageId | ( | ) |
Get the workflow stage id.
Definition at line 78 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References $_stageId.
Referenced by authorize(), getRowInstance(), initialize(), loadData(), ManageCopyeditFilesGridHandler\updateCopyeditFiles(), ManageFinalDraftFilesGridHandler\updateFinalDraftFiles(), ManageProofFilesGridHandler\updateProofFiles(), ManageQueryNoteFilesGridHandler\updateQueryNoteFiles(), and ManageReviewFilesGridHandler\updateReviewFiles().
SelectableSubmissionFileListCategoryGridHandler::getSubmission | ( | ) |
Get the authorized submission.
Definition at line 86 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by initialize(), ManageCopyeditFilesGridHandler\updateCopyeditFiles(), ManageFinalDraftFilesGridHandler\updateFinalDraftFiles(), ManageProofFilesGridHandler\updateProofFiles(), ManageQueryNoteFilesGridHandler\updateQueryNoteFiles(), and ManageReviewFilesGridHandler\updateReviewFiles().
SelectableSubmissionFileListCategoryGridHandler::initFeatures | ( | $request, | |
$args | |||
) |
Override to init grid features. This method is called by GridHandler::initialize() method that use the returned array with the initialized features to add them to grid.
$request | PKPRequest |
$args | array |
Reimplemented from GridHandler.
Definition at line 219 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
SelectableSubmissionFileListCategoryGridHandler::initialize | ( | $request, | |
$args = null |
|||
) |
$request | PKPRequest |
$args | array optional |
Reimplemented from CategoryGridHandler.
Definition at line 169 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References GridHandler\addAction(), GridHandler\addColumn(), getCapabilities(), GridHandler\getDataProvider(), getFilesToDownload(), getStageId(), getSubmission(), AppLocale\requireComponents(), and GridHandler\setEmptyRowText().
SelectableSubmissionFileListCategoryGridHandler::isDataElementInCategorySelected | ( | $categoryDataId, | |
& | $gridDataElement | ||
) |
Reimplemented from CategoryGridHandler.
Reimplemented in ManageQueryNoteFilesGridHandler.
Definition at line 262 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), and GridHandler\getDataProvider().
|
protected |
Determine whether a filter form should be collapsible.
Reimplemented from GridHandler.
Definition at line 122 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
|
protected |
Implement this method to load data into the grid.
$request | PKPRequest |
$filter | array An associative array with filter data as returned by getFilterSelectionData(). If no filter has been selected by the user then the array will be empty. |
Reimplemented from GridHandler.
Definition at line 100 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
References getStageId().
FilesGridCapabilities SelectableSubmissionFileListCategoryGridHandler::$_capabilities |
Definition at line 36 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
Referenced by getCapabilities().
integer SelectableSubmissionFileListCategoryGridHandler::$_stageId |
Definition at line 42 of file SelectableSubmissionFileListCategoryGridHandler.inc.php.
Referenced by getStageId().