Open Journal Systems
3.3.0
|
16 import(
'lib.pkp.classes.controllers.grid.GridCategoryRow');
27 parent::initialize($request, $template);
30 assert($userGroup !=
null);
32 $rowId = $this->
getId();
34 $actionArgs = array(
'userGroupId' => $userGroup->getId());
38 if (!empty($rowId) && is_numeric($rowId)) {
39 $router = $request->getRouter();
44 $router->url($request,
null,
null,
'editUserGroup',
null, $actionArgs),
45 __(
'grid.action.edit'),
48 __(
'grid.action.edit'),
52 import(
'lib.pkp.classes.linkAction.request.RemoteActionConfirmationModal');
56 $request->getSession(),
57 __(
'settings.roles.removeText'),
59 $router->url($request,
null,
null,
'removeUserGroup',
null, $actionArgs)
61 __(
'grid.action.remove'),
Class defining a simple confirmation modal with a remote action and ok/cancel buttons.
setRequestArgs($requestArgs)
addAction($action, $position=GRID_ACTION_POSITION_DEFAULT)
GridRow implements a row of a Grid. See GridHandler for general information about grids.
A modal that retrieves its content from via AJAX.
Base class defining an action that can be performed by the user in the user interface.
initialize($request, $template=null)
User group grid row definition.