File/program/lib/accountmanagerlib.php

Description

/program/lib/accountmanagerlib.php - accountmanager (users and groups)

Constants
GROUPMANAGER_DIALOG_ADD = 1 (line 65)

Distinguish between the various dialogs

GROUPMANAGER_DIALOG_CAPACITY_ADMIN = 14 (line 70)
GROUPMANAGER_DIALOG_CAPACITY_INTRANET = 13 (line 69)
GROUPMANAGER_DIALOG_CAPACITY_PAGEMANAGER = 15 (line 71)
GROUPMANAGER_DIALOG_DELETE = 3 (line 67)
GROUPMANAGER_DIALOG_EDIT = 2 (line 66)
TASK_ACCOUNTS = overview (line 28)

default selection for account manager: show introduction + links to users and groups

TASK_GROUPS = groups (line 49)

TASK_GROUP* relate to plain groups

TASK_GROUP_ADD = groupadd (line 50)
TASK_GROUP_CAPACITY_ADMIN = capacityadmin (line 60)
TASK_GROUP_CAPACITY_INTRANET = capacityintranet (line 58)
TASK_GROUP_CAPACITY_MODULE = capacitymodule (line 59)
TASK_GROUP_CAPACITY_OVERVIEW = capacityoverview (line 57)

TASK_GROUP_CAPACITY_* relate to group-capacity-combinations

TASK_GROUP_CAPACITY_PAGEMANAGER = capacitypagemanager (line 61)
TASK_GROUP_CAPACITY_SAVE = capacitysave (line 62)
TASK_GROUP_DELETE = groupdelete (line 51)
TASK_GROUP_EDIT = groupedit (line 52)
TASK_GROUP_SAVE = groupsave (line 53)
TASK_GROUP_SAVE_NEW = groupsavenew (line 54)
TASK_USERS = users (line 31)

TASK_USER* relate to user accounts

TASK_USER_ADD = useradd (line 32)
TASK_USER_ADMIN = useradmin (line 42)
TASK_USER_ADVANCED = useradvanced (line 35)
TASK_USER_DELETE = userdelete (line 33)
TASK_USER_EDIT = useredit (line 34)
TASK_USER_GROUPADD = usergroupadd (line 37)
TASK_USER_GROUPDELETE = usergroupdelete (line 38)
TASK_USER_GROUPS = usergroups (line 36)
TASK_USER_GROUPSAVE = usergroupsave (line 39)
TASK_USER_INTRANET = userintranet (line 40)
TASK_USER_MODULE = usermodule (line 41)
TASK_USER_PAGEMANAGER = userpagemanager (line 43)
TASK_USER_SAVE = usersave (line 45)
TASK_USER_SAVE_NEW = usersavenew (line 46)
TASK_USER_TREEVIEW = usertreeview (line 44)
USERMANAGER_DIALOG_ADD = 21 (line 73)
USERMANAGER_DIALOG_ADMIN = 34 (line 79)
USERMANAGER_DIALOG_DELETE = 23 (line 75)
USERMANAGER_DIALOG_EDIT = 22 (line 74)
USERMANAGER_DIALOG_INTRANET = 33 (line 78)
USERMANAGER_DIALOG_PAGEMANAGER = 35 (line 80)
Functions
job_accountmanager (line 96)

main entry point for accountmanager (called from admin.php)

this routing dispatches the tasks. If a specified task is not recognised, the default task TASK_ACCOUNTS_OVERVIEW is executed. Note that the User Manager and the Group Manager are heavily interconnected. Therefore we use 1 common set of tasks and distinguish between both managers via sets of tasks, e.g. TASK_USER* point to the user manager where TASK_GROUP* lead to the group manager.

  • return: results are returned as output in $output
void job_accountmanager (object &$output)
  • object &$output: collects the html output
show_accounts_intro (line 173)

display an introductory text for the account manager + menu

  • return: results are returned as output in $output
void show_accounts_intro (object &$output)
  • object &$output: collects the html output
show_accounts_menu (line 223)

display the account manager menu

  • return: results are returned as output in $output
void show_accounts_menu (object &$output, [string $current_task = NULL])
  • object &$output: collects the html output
  • string $current_task: indicate the current menu selection (if any)

Documentation generated on Tue, 28 Jun 2016 19:07:43 +0200 by phpDocumentor 1.4.0