Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
addCustomBlock ($args, $request) | |
authorize ($request, &$args, $roleAssignments) | |
deleteCustomBlock ($args, $request) | |
editCustomBlock ($args, $request) | |
getRowInstance () | |
initialize ($request, $args=null) | |
updateCustomBlock ($args, $request) | |
![]() | |
__construct ($dataProvider=null) | |
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 () | |
getJSHandler () | |
getPublishChangeEvents () | |
getRequestArg ($key) | |
getRequestArgs () | |
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) | |
setUrls ($request, $extraUrls=array()) | |
![]() | |
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 | |
$plugin | |
![]() | |
$_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 | |
Additional Inherited Members | |
![]() | |
static | getPageParamName ($rangeName) |
static | getRangeInfo ($request, $rangeName, $contextData=null) |
static | hashPageContext ($request, $contextData=array()) |
![]() | |
callFeaturesHook ($hookName, $args) | |
doSpecificFetchGridActions ($args, $request, $templateMgr) | |
& | getDataElementFromRequest ($request, &$elementId) |
getFilterForm () | |
getFilterSelectionData ($request) | |
getRowDataElement ($request, &$rowId) | |
getRowsSequence ($request) | |
initFeatures ($request, $args) | |
isFilterFormCollapsible () | |
loadData ($request, $filter) | |
noAutocompleteResults () | |
renderFilter ($request, $filterData=array()) | |
renderGridBodyPartsInternally ($request) | |
renderRowInternally ($request, $row) | |
renderRowsInternally ($request, &$elements) | |
setFirstDataColumn () | |
![]() | |
$_apiToken = null | |
Handle custom block manager grid requests.
Definition at line 19 of file CustomBlockGridHandler.inc.php.
CustomBlockGridHandler::__construct | ( | ) |
Constructor
Reimplemented from PKPHandler.
Definition at line 29 of file CustomBlockGridHandler.inc.php.
References PKPHandler\addRoleAssignment(), and PluginRegistry\getPlugin().
CustomBlockGridHandler::addCustomBlock | ( | $args, | |
$request | |||
) |
An action to add a new custom block
$args | array Arguments to the request |
$request | PKPRequest Request object |
Definition at line 125 of file CustomBlockGridHandler.inc.php.
References editCustomBlock().
CustomBlockGridHandler::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 45 of file CustomBlockGridHandler.inc.php.
References PKPHandler\addPolicy().
CustomBlockGridHandler::deleteCustomBlock | ( | $args, | |
$request | |||
) |
Delete a custom block
$args | array |
$request | PKPRequest |
Definition at line 204 of file CustomBlockGridHandler.inc.php.
References $plugin, DAORegistry\getDAO(), and DAO\getDataChangedEvent().
CustomBlockGridHandler::editCustomBlock | ( | $args, | |
$request | |||
) |
An action to edit a custom block
$args | array Arguments to the request |
$request | PKPRequest Request object |
Definition at line 137 of file CustomBlockGridHandler.inc.php.
References $plugin, and PKPHandler\setupTemplate().
Referenced by addCustomBlock().
CustomBlockGridHandler::getRowInstance | ( | ) |
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 113 of file CustomBlockGridHandler.inc.php.
CustomBlockGridHandler::initialize | ( | $request, | |
$args = null |
|||
) |
$request | PKPRequest |
$args | array optional |
Reimplemented from GridHandler.
Definition at line 59 of file CustomBlockGridHandler.inc.php.
References $plugin, GridHandler\addAction(), GridHandler\addColumn(), GridHandler\setEmptyRowText(), GridHandler\setGridDataElements(), and GridHandler\setTitle().
CustomBlockGridHandler::updateCustomBlock | ( | $args, | |
$request | |||
) |
Update a custom block
$args | array |
$request | PKPRequest |
Definition at line 166 of file CustomBlockGridHandler.inc.php.
References $plugin, DAO\getDataChangedEvent(), and PKPHandler\setupTemplate().
CustomBlockManagerPlugin CustomBlockGridHandler::$plugin |
The custom block manager plugin
Definition at line 24 of file CustomBlockGridHandler.inc.php.
Referenced by deleteCustomBlock(), editCustomBlock(), initialize(), and updateCustomBlock().