Public Member Functions | |
| init () | |
| menuConfig () | |
| main () | |
| printContent () | |
| doEdit () | |
| notEdit () | |
| printCheckBox ($checkName, $num) | |
| groupPerms ($row, $firstGroup) | |
| getRecursiveSelect ($id, $perms_clause) | |
Public Attributes | |
| $getLevels = 10 | |
| $doc | |
| $content | |
| $MOD_MENU = array() | |
| $MOD_SETTINGS = array() | |
| $perms_clause | |
| $pageinfo | |
| $color | |
| $color2 | |
| $color3 | |
| $editingAllowed | |
| $id | |
| $edit | |
| $return_id | |
| $lastEdited | |
Protected Member Functions | |
| getButtons () | |
Protected Attributes | |
| $MCONF = array() | |
Definition at line 96 of file index.php.
| SC_mod_web_perm_index::doEdit | ( | ) |
Creating form for editing the permissions ($this->edit = true) (Adding content to internal content variable)
Definition at line 392 of file index.php.
References $GLOBALS, $row, t3lib_BEfunc::blindGroupNames(), t3lib_BEfunc::blindUserNames(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::getGroupNames(), t3lib_BEfunc::getListGroupNames(), and t3lib_BEfunc::getUserNames().
Referenced by main().
| SC_mod_web_perm_index::getButtons | ( | ) | [protected] |
Create the panel of buttons for submitting the form or otherwise perform operations.
Definition at line 342 of file index.php.
References $GLOBALS, t3lib_BEfunc::cshItem(), t3lib_div::getIndpEnv(), and t3lib_iconWorks::skinImg().
Referenced by main().
| SC_mod_web_perm_index::getRecursiveSelect | ( | $ | id, | |
| $ | perms_clause | |||
| ) |
Finding tree and offer setting of values recursively.
| integer | Page id. | |
| string | Select clause |
Definition at line 779 of file index.php.
References $GLOBALS, $id, $perms_clause, t3lib_div::deHSCentities(), and t3lib_div::makeInstance().
| 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 |
Definition at line 762 of file index.php.
References $row.
| SC_mod_web_perm_index::init | ( | ) |
Initialization of the class
Definition at line 201 of file index.php.
References $GLOBALS, t3lib_div::_GP(), t3lib_div::makeInstance(), and menuConfig().
| SC_mod_web_perm_index::main | ( | ) |
Main function, creating the content for the access editing forms/listings
Definition at line 267 of file index.php.
References doEdit(), getButtons(), t3lib_BEfunc::getFuncMenu(), notEdit(), and t3lib_BEfunc::readPageAccess().
| SC_mod_web_perm_index::menuConfig | ( | ) |
Configuration of the menu and initialization of ->MOD_SETTINGS
Definition at line 236 of file index.php.
References t3lib_div::_GP(), and t3lib_BEfunc::getModuleData().
Referenced by init().
| SC_mod_web_perm_index::notEdit | ( | ) |
Showing the permissions in a tree ($this->edit = false) (Adding content to internal content variable)
Definition at line 543 of file index.php.
References $BACK_PATH, $GLOBALS, t3lib_BEfunc::blindGroupNames(), t3lib_BEfunc::blindUserNames(), t3lib_BEfunc::cshItem(), t3lib_div::fixed_lgd(), t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFuncMenu(), t3lib_BEfunc::getGroupNames(), t3lib_iconWorks::getIconImage(), t3lib_BEfunc::getUserNames(), t3lib_div::makeInstance(), nbsp, SC_mod_web_perm_ajax::renderGroupname(), SC_mod_web_perm_ajax::renderOwnername(), SC_mod_web_perm_ajax::renderPermissions(), and t3lib_iconWorks::skinImg().
Referenced by main().
| SC_mod_web_perm_index::printCheckBox | ( | $ | checkName, | |
| $ | num | |||
| ) |
| SC_mod_web_perm_index::printContent | ( | ) |
| SC_mod_web_perm_index::$id |
| SC_mod_web_perm_index::$perms_clause |
1.4.7