Fonctions membres publiques | |
| init () | |
| menuConfig () | |
| main () | |
| printContent () | |
| doEdit () | |
| notEdit () | |
| printCheckBox ($checkName, $num) | |
| printPerms ($int) | |
| groupPerms ($row, $firstGroup) | |
| getRecursiveSelect ($id, $perms_clause) | |
Attributs publics | |
| $getLevels = 10 | |
| $MCONF = array() | |
| $doc | |
| $content | |
| $MOD_MENU = array() | |
| $MOD_SETTINGS = array() | |
| $perms_clause | |
| $pageinfo | |
| $color | |
| $color2 | |
| $color3 | |
| $editingAllowed | |
| $id | |
| $edit | |
| $return_id | |
| $lastEdited | |
| SC_mod_web_perm_index::init | ( | ) |
Initialization of the class
| SC_mod_web_perm_index::menuConfig | ( | ) |
Configuration of the menu and initialization of ->MOD_SETTINGS
| SC_mod_web_perm_index::main | ( | ) |
Main function, creating the content for the access editing forms/listings
| SC_mod_web_perm_index::printContent | ( | ) |
Outputting the accumulated content to screen
| SC_mod_web_perm_index::doEdit | ( | ) |
Creating form for editing the permissions ($this->edit = true) (Adding content to internal content variable)
| SC_mod_web_perm_index::notEdit | ( | ) |
Showing the permissions in a tree ($this->edit = false) (Adding content to internal content variable)
| SC_mod_web_perm_index::printCheckBox | ( | $ | checkName, | |
| $ | num | |||
| ) |
Print a checkbox for the edit-permission form
| string | Checkbox name key | |
| integer | Checkbox number index |
| SC_mod_web_perm_index::printPerms | ( | $ | int | ) |
Print a set of permissions
| integer | Permission integer (bits) |
| SC_mod_web_perm_index::groupPerms | ( | $ | row, | |
| $ | firstGroup | |||
| ) |
Returns the permissions for a group based of the perms_groupid of $row. If the $row[perms_groupid] equals the $firstGroup[uid] then the function returns perms_everybody OR'ed with perms_group, else just perms_everybody
| array | Row array (from pages table) | |
| array | First group data |
| SC_mod_web_perm_index::getRecursiveSelect | ( | $ | id, | |
| $ | perms_clause | |||
| ) |
Finding tree and offer setting of values recursively.
| integer | Page id. | |
| string | Select clause |
| SC_mod_web_perm_index::$getLevels = 10 |
| SC_mod_web_perm_index::$MCONF = array() |
| SC_mod_web_perm_index::$doc |
| SC_mod_web_perm_index::$content |
| SC_mod_web_perm_index::$MOD_MENU = array() |
| SC_mod_web_perm_index::$MOD_SETTINGS = array() |
| SC_mod_web_perm_index::$perms_clause |
| SC_mod_web_perm_index::$pageinfo |
| SC_mod_web_perm_index::$color |
| SC_mod_web_perm_index::$color2 |
| SC_mod_web_perm_index::$color3 |
| SC_mod_web_perm_index::$editingAllowed |
| SC_mod_web_perm_index::$id |
| SC_mod_web_perm_index::$edit |
| SC_mod_web_perm_index::$return_id |
| SC_mod_web_perm_index::$lastEdited |
1.5.3