Form to add/edit user group. More...
Public Member Functions | |
| _assignStagesToUserGroup ($userGroupId, $userAssignedStages) | |
| _setUserGroupLocaleFields ($userGroup, &$request) | |
| execute (&$request) | |
| fetch (&$request) | |
| getLocaleFieldNames () | |
| getPressId () | |
| getUserGroupId () | |
| initData () | |
| readInputData () | |
| UserGroupForm ($pressId, $userGroupId=null) | |
Form to add/edit user group.
Definition at line 17 of file UserGroupForm.inc.php.
| UserGroupForm._assignStagesToUserGroup | ( | $ | userGroupId, | |
| $ | userAssignedStages | |||
| ) |
Setup the stages assignments to a user group in database.
| $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.
| UserGroup | ||
| Request |
Definition at line 192 of file UserGroupForm.inc.php.
Referenced by execute().
| UserGroupForm.execute | ( | &$ | request | ) |
Definition at line 129 of file UserGroupForm.inc.php.
References _assignStagesToUserGroup(), _setUserGroupLocaleFields(), getPressId(), and getUserGroupId().
| UserGroupForm.fetch | ( | &$ | request | ) |
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.
Definition at line 61 of file UserGroupForm.inc.php.
Referenced by _assignStagesToUserGroup(), execute(), and initData().
| UserGroupForm.getUserGroupId | ( | ) |
Get the user group id.
Definition at line 53 of file UserGroupForm.inc.php.
Referenced by execute(), fetch(), initData(), and UserGroupForm().
| UserGroupForm.initData | ( | ) |
Definition at line 78 of file UserGroupForm.inc.php.
References getPressId(), and getUserGroupId().
| UserGroupForm.readInputData | ( | ) |
Definition at line 104 of file UserGroupForm.inc.php.
| UserGroupForm.UserGroupForm | ( | $ | pressId, | |
| $ | userGroupId = null | |||
| ) |
1.7.1