Public Member Functions

UserGroupForm Class Reference

Form to add/edit user group. More...

List of all members.

Public Member Functions

 _assignStagesToUserGroup ($userGroupId, $userAssignedStages)
 _setUserGroupLocaleFields ($userGroup, &$request)
 execute (&$request)
 fetch (&$request)
 getLocaleFieldNames ()
 getPressId ()
 getUserGroupId ()
 initData ()
 readInputData ()
 UserGroupForm ($pressId, $userGroupId=null)

Detailed Description

Form to add/edit user group.

Definition at line 17 of file UserGroupForm.inc.php.


Member Function Documentation

UserGroupForm._assignStagesToUserGroup ( userGroupId,
userAssignedStages 
)

Setup the stages assignments to a user group in database.

Parameters:
$userGroupId int User group id that will receive the stages.
$userAssignedStages array of stages currently assigned to a user.

Definition at line 164 of file UserGroupForm.inc.php.

References getPressId().

Referenced by execute().

UserGroupForm._setUserGroupLocaleFields ( userGroup,
&$  request 
)

Set locale fields on a User Group object.

Parameters:
UserGroup 
Request 
Returns:
UserGroup

Definition at line 192 of file UserGroupForm.inc.php.

Referenced by execute().

UserGroupForm.execute ( &$  request  ) 
See also:
Form.execute()

Definition at line 129 of file UserGroupForm.inc.php.

References _assignStagesToUserGroup(), _setUserGroupLocaleFields(), getPressId(), and getUserGroupId().

UserGroupForm.fetch ( &$  request  ) 
See also:
Form.fetch()

Definition at line 111 of file UserGroupForm.inc.php.

References RoleDAO.getRoleNames(), and getUserGroupId().

UserGroupForm.getLocaleFieldNames (  ) 

Get all locale field names

Definition at line 71 of file UserGroupForm.inc.php.

UserGroupForm.getPressId (  ) 

Get the press id.

Returns:
int pressId

Definition at line 61 of file UserGroupForm.inc.php.

Referenced by _assignStagesToUserGroup(), execute(), and initData().

UserGroupForm.getUserGroupId (  ) 

Get the user group id.

Returns:
int userGroupId

Definition at line 53 of file UserGroupForm.inc.php.

Referenced by execute(), fetch(), initData(), and UserGroupForm().

UserGroupForm.initData (  ) 
See also:
Form.initData()

Definition at line 78 of file UserGroupForm.inc.php.

References getPressId(), and getUserGroupId().

UserGroupForm.readInputData (  ) 
See also:
Form.readInputData()

Definition at line 104 of file UserGroupForm.inc.php.

UserGroupForm.UserGroupForm ( pressId,
userGroupId = null 
)

Constructor.

Parameters:
$pressId Press id.
$userGroupId User group id.

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

References getUserGroupId().


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