Public Member Functions

UserGroupGridHandler Class Reference

Handle operations for user group management operations. More...

List of all members.

Public Member Functions

 _getAssignedStages ($pressId, $userGroupId)
 _getPressId ()
 _getUserGroupForm (&$request)
 addUserGroup ($args, &$request)
 authorize (&$request, $args, $roleAssignments)
 editUserGroup ($args, &$request)
 getCategoryData (&$stage)
getCategoryRowInstance ()
getRowInstance ()
 initialize (&$request)
loadData ($request, $filter)
 updateUserGroup ($args, &$request)
 UserGroupGridHandler ()

Detailed Description

Handle operations for user group management operations.

Definition at line 25 of file UserGroupGridHandler.inc.php.


Member Function Documentation

UserGroupGridHandler._getAssignedStages ( pressId,
userGroupId 
)

Get a list of stages that are assigned to a user group.

Parameters:
$id int Press id
$id int UserGroup id
Returns:
array Given user group stages assignments.

Definition at line 248 of file UserGroupGridHandler.inc.php.

Referenced by loadData().

UserGroupGridHandler._getPressId (  ) 

Get press id.

Returns:
int

Definition at line 264 of file UserGroupGridHandler.inc.php.

Referenced by _getUserGroupForm(), getCategoryData(), and loadData().

UserGroupGridHandler._getUserGroupForm ( &$  request  ) 

Get a UserGroupForm instance.

Parameters:
$request Request
Returns:
UserGroupForm

Definition at line 232 of file UserGroupGridHandler.inc.php.

References _getPressId().

Referenced by editUserGroup(), and updateUserGroup().

UserGroupGridHandler.addUserGroup ( args,
&$  request 
)

Handle the add user group operation.

Parameters:
$args array
$request PKPRequest

Definition at line 187 of file UserGroupGridHandler.inc.php.

References editUserGroup().

UserGroupGridHandler.authorize ( &$  request,
args,
roleAssignments 
)
See also:
PKPHandler.authorize()
Parameters:
$request PKPRequest
$args array
$roleAssignments array

Definition at line 56 of file UserGroupGridHandler.inc.php.

UserGroupGridHandler.editUserGroup ( args,
&$  request 
)

Handle the edit user group operation.

Parameters:
$args array
$request PKPRequest

Definition at line 196 of file UserGroupGridHandler.inc.php.

References _getUserGroupForm().

Referenced by addUserGroup().

UserGroupGridHandler.getCategoryData ( &$  stage  ) 
See also:
CategoryGridHandler.getCategoryData()

Definition at line 170 of file UserGroupGridHandler.inc.php.

References _getPressId().

& UserGroupGridHandler.getCategoryRowInstance (  ) 
See also:
CategoryGridHandler.geCategorytRowInstance()
Returns:
UserGroupGridCategoryRow

Definition at line 162 of file UserGroupGridHandler.inc.php.

& UserGroupGridHandler.getRowInstance (  ) 
See also:
GridHandler.getRowInstance()
Returns:
UserGroupGridRow

Definition at line 152 of file UserGroupGridHandler.inc.php.

UserGroupGridHandler.initialize ( &$  request  ) 
See also:
PKPHandler.initialize() Configure the grid
Parameters:
$request PKPRequest

Definition at line 67 of file UserGroupGridHandler.inc.php.

& UserGroupGridHandler.loadData ( request,
filter 
)
See also:
GridHandler.loadData

Definition at line 124 of file UserGroupGridHandler.inc.php.

References _getAssignedStages(), and _getPressId().

UserGroupGridHandler.updateUserGroup ( args,
&$  request 
)

Update user group data on database and grid.

Parameters:
$args array
$request PKPRequest

Definition at line 210 of file UserGroupGridHandler.inc.php.

References _getUserGroupForm().

UserGroupGridHandler.UserGroupGridHandler (  ) 

Constructor

Definition at line 31 of file UserGroupGridHandler.inc.php.


The documentation for this class was generated from the following file: