Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
addParticipant ($args, $request) | |
authorize ($request, &$args, $roleAssignments) | |
deleteParticipant ($args, $request) | |
fetchTemplateBody ($args, $request) | |
fetchUserList ($args, $request) | |
getCategoryRowIdParameterName () | |
getIsSubcomponent () | |
getJSHandler () | |
getRequestArgs () | |
getStageId () | |
getSubmission () | |
initialize ($request, $args=null) | |
loadCategoryData ($request, &$userGroup, $filter=null) | |
saveParticipant ($args, $request) | |
sendNotification ($args, $request) | |
viewNotify ($args, $request) | |
Public Member Functions inherited from CategoryGridHandler | |
__construct ($dataProvider=null) | |
fetchCategory ($args, $request) | |
getCategoryItemsCount ($categoryElement, $request) | |
getCurrentCategoryId () | |
getDataElementInCategorySequence ($categoryId, &$gridDataElement) | |
getEmptyCategoryRowText () | |
& | getGridCategoryDataElements ($request, $categoryElement) |
hasGridDataElementsInCategory ($categoryElement, $request) | |
isDataElementInCategorySelected ($categoryId, &$gridDataElement) | |
setDataElementInCategorySequence ($categoryId, &$gridDataElement, $newSequence) | |
setEmptyCategoryRowText ($translationKey) | |
setGridCategoryDataElements ($request, $categoryElementId, $data) | |
setUrls ($request, $extraUrls=array()) | |
Public Member Functions inherited from GridHandler | |
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) | |
getItemIterator () | |
getPublishChangeEvents () | |
getRequestArg ($key) | |
getRequestedRow ($request, $args) | |
getSelectName () | |
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) | |
Public Member Functions inherited from PKPHandler | |
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) | |
Protected Member Functions | |
_canAdminister () | |
getCategoryRowInstance () | |
getRowInstance () | |
loadData ($request, $filter) | |
Protected Member Functions inherited from CategoryGridHandler | |
doSpecificFetchGridActions ($args, $request, $templateMgr) | |
getRequestedCategoryRow ($request, $args) | |
getRowDataElement ($request, &$rowId) | |
getRowsSequence ($request) | |
renderRowInternally ($request, $row) | |
setFirstDataColumn () | |
Protected Member Functions inherited from GridHandler | |
callFeaturesHook ($hookName, $args) | |
& | getDataElementFromRequest ($request, &$elementId) |
getFilterForm () | |
getFilterSelectionData ($request) | |
initFeatures ($request, $args) | |
isFilterFormCollapsible () | |
noAutocompleteResults () | |
renderFilter ($request, $filterData=array()) | |
renderGridBodyPartsInternally ($request) | |
renderRowsInternally ($request, &$elements) | |
Additional Inherited Members | |
Static Public Member Functions inherited from PKPHandler | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
Data Fields inherited from CategoryGridHandler | |
$_categoryData | |
$_currentCategoryId = null | |
$_emptyCategoryRowText = 'grid.noItems' | |
Data Fields inherited from GridHandler | |
$_actions = array(GRID_ACTION_POSITION_DEFAULT => array()) | |
$_columns = array() | |
$_constants = [] | |
$_data | |
$_dataProvider | |
$_emptyRowText = 'grid.noItems' | |
$_features | |
$_footNote = '' | |
$_itemIterator | |
$_template | |
$_title = '' | |
$_urls | |
Data Fields inherited from PKPHandler | |
$_authorizationDecisionManager | |
$_checks = array() | |
$_dispatcher | |
$_enforceRestrictedSite = true | |
$_id | |
$_isBackendPage = false | |
$_roleAssignments = array() | |
$_roleAssignmentsChecked = false | |
Protected Attributes inherited from PKPHandler | |
$_apiToken = null | |
Handle stageParticipant grid requests.
Definition at line 26 of file StageParticipantGridHandler.inc.php.
StageParticipantGridHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Definition at line 30 of file StageParticipantGridHandler.inc.php.
References PKPHandler\addRoleAssignment(), and GridHandler\setTitle().
|
protected |
Determine whether the current user has admin priveleges for this grid.
Definition at line 85 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by getRowInstance(), and initialize().
StageParticipantGridHandler::addParticipant | ( | $args, | |
$request | |||
) |
Add a participant to the stages
$args | array |
$request | PKPRequest |
Definition at line 276 of file StageParticipantGridHandler.inc.php.
References GridHandler\getGridDataElements(), getStageId(), and getSubmission().
StageParticipantGridHandler::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.
Definition at line 73 of file StageParticipantGridHandler.inc.php.
References PKPHandler\addPolicy().
StageParticipantGridHandler::deleteParticipant | ( | $args, | |
$request | |||
) |
Delete the participant from the user groups
$args | |
$request |
Definition at line 364 of file StageParticipantGridHandler.inc.php.
References DAORegistry\getDAO(), DAO\getDataChangedEvent(), getStageId(), getSubmission(), and SubmissionLog\logEvent().
StageParticipantGridHandler::fetchTemplateBody | ( | $args, | |
$request | |||
) |
Fetches an email template's message body and returns it via AJAX.
$args | array |
$request | PKPRequest |
Definition at line 517 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), PKPHandler\getId(), and getSubmission().
StageParticipantGridHandler::fetchUserList | ( | $args, | |
$request | |||
) |
Get the list of users for the specified user group
$args | array |
$request | Request |
Definition at line 426 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), DAORegistry\getDAO(), and getSubmission().
StageParticipantGridHandler::getCategoryRowIdParameterName | ( | ) |
Get the category row id parameter name.
Reimplemented from CategoryGridHandler.
Definition at line 215 of file StageParticipantGridHandler.inc.php.
|
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 207 of file StageParticipantGridHandler.inc.php.
References getStageId(), and getSubmission().
StageParticipantGridHandler::getIsSubcomponent | ( | ) |
Reimplemented from GridHandler.
Definition at line 193 of file StageParticipantGridHandler.inc.php.
StageParticipantGridHandler::getJSHandler | ( | ) |
Get the js handler for this component.
Reimplemented from CategoryGridHandler.
Definition at line 547 of file StageParticipantGridHandler.inc.php.
StageParticipantGridHandler::getRequestArgs | ( | ) |
Get the grid request parameters. These are the parameters that uniquely identify the data within a grid.
NB: You should make sure to authorize and/or validate parameters before you publish them through this interface. Callers will assume that data accessed through this method will not have to be sanitized.
The default implementation tries to retrieve request parameters from a data provider if there is one.
Reimplemented from CategoryGridHandler.
Definition at line 222 of file StageParticipantGridHandler.inc.php.
References getSubmission().
|
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 200 of file StageParticipantGridHandler.inc.php.
References _canAdminister(), getStageId(), and getSubmission().
StageParticipantGridHandler::getStageId | ( | ) |
Get the authorized workflow stage.
Definition at line 63 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by addParticipant(), deleteParticipant(), getCategoryRowInstance(), getRowInstance(), loadCategoryData(), loadData(), saveParticipant(), and sendNotification().
StageParticipantGridHandler::getSubmission | ( | ) |
Get the authorized submission.
Definition at line 55 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject().
Referenced by addParticipant(), deleteParticipant(), fetchTemplateBody(), fetchUserList(), getCategoryRowInstance(), getRequestArgs(), getRowInstance(), initialize(), loadCategoryData(), loadData(), saveParticipant(), sendNotification(), and viewNotify().
StageParticipantGridHandler::initialize | ( | $request, | |
$args = null |
|||
) |
$request | PKPRequest |
$args | array optional |
Reimplemented from CategoryGridHandler.
Definition at line 97 of file StageParticipantGridHandler.inc.php.
References _canAdminister(), GridHandler\addAction(), GridHandler\addColumn(), getSubmission(), Validation\isLoggedInAs(), AppLocale\requireComponents(), and CategoryGridHandler\setEmptyCategoryRowText().
StageParticipantGridHandler::loadCategoryData | ( | $request, | |
& | $userGroup, | ||
$filter = null |
|||
) |
Implement this method to load category data into the grid.
$request | PKPRequest |
$categoryDataElement | mixed |
$filter | mixed |
Reimplemented from CategoryGridHandler.
Definition at line 175 of file StageParticipantGridHandler.inc.php.
References DAORegistry\getDAO(), getStageId(), and getSubmission().
|
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 236 of file StageParticipantGridHandler.inc.php.
References DAORegistry\getDAO(), PKPHandler\getId(), getStageId(), and getSubmission().
StageParticipantGridHandler::saveParticipant | ( | $args, | |
$request | |||
) |
Update the row for the current userGroup's stage participant list.
$args | array |
$request | PKPRequest |
Definition at line 298 of file StageParticipantGridHandler.inc.php.
References Application\getApplicationStages(), DAORegistry\getDAO(), DAO\getDataChangedEvent(), GridHandler\getGridDataElements(), getStageId(), getSubmission(), and SubmissionLog\logEvent().
StageParticipantGridHandler::sendNotification | ( | $args, | |
$request | |||
) |
Send a notification from the notify tab.
$args | array |
$request | PKPRequest |
Definition at line 473 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), PKPHandler\getId(), getStageId(), getSubmission(), and PKPHandler\setupTemplate().
StageParticipantGridHandler::viewNotify | ( | $args, | |
$request | |||
) |
Display the notify tab.
$args | array |
$request | PKPRequest |
Definition at line 457 of file StageParticipantGridHandler.inc.php.
References PKPHandler\getAuthorizedContextObject(), PKPHandler\getId(), getSubmission(), and PKPHandler\setupTemplate().