SC_mod_web_perm_index Class Reference

List of all members.

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()

Detailed Description

Definition at line 96 of file index.php.


Member Function Documentation

SC_mod_web_perm_index::doEdit (  ) 

Creating form for editing the permissions ($this->edit = true) (Adding content to internal content variable)

Returns:
void

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.

Returns:
array all available buttons as an assoc. array

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.

Parameters:
integer Page id.
string Select clause
Returns:
string Select form element for recursive levels (if any levels are found)

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

Parameters:
array Row array (from pages table)
array First group data
Returns:
integer Integer: Combined permissions.

Definition at line 762 of file index.php.

References $row.

SC_mod_web_perm_index::init (  ) 

Initialization of the class

Returns:
void

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

Returns:
void

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

Returns:
void

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)

Returns:
void

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 
)

Print a checkbox for the edit-permission form

Parameters:
string Checkbox name key
integer Checkbox number index
Returns:
string HTML checkbox

Definition at line 749 of file index.php.

References $GLOBALS.

SC_mod_web_perm_index::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 332 of file index.php.


Member Data Documentation

SC_mod_web_perm_index::$color

Definition at line 151 of file index.php.

SC_mod_web_perm_index::$color2

Definition at line 157 of file index.php.

SC_mod_web_perm_index::$color3

Definition at line 163 of file index.php.

SC_mod_web_perm_index::$content

Definition at line 121 of file index.php.

SC_mod_web_perm_index::$doc

Definition at line 115 of file index.php.

SC_mod_web_perm_index::$edit

Definition at line 182 of file index.php.

SC_mod_web_perm_index::$editingAllowed

Definition at line 169 of file index.php.

SC_mod_web_perm_index::$getLevels = 10

Definition at line 102 of file index.php.

SC_mod_web_perm_index::$id

Definition at line 175 of file index.php.

Referenced by getRecursiveSelect().

SC_mod_web_perm_index::$lastEdited

Definition at line 194 of file index.php.

SC_mod_web_perm_index::$MCONF = array() [protected]

Definition at line 109 of file index.php.

SC_mod_web_perm_index::$MOD_MENU = array()

Definition at line 127 of file index.php.

SC_mod_web_perm_index::$MOD_SETTINGS = array()

Definition at line 133 of file index.php.

SC_mod_web_perm_index::$pageinfo

Definition at line 145 of file index.php.

SC_mod_web_perm_index::$perms_clause

Definition at line 139 of file index.php.

Referenced by getRecursiveSelect().

SC_mod_web_perm_index::$return_id

Definition at line 188 of file index.php.


The documentation for this class was generated from the following file:
Generated on Sat Nov 29 04:23:33 2008 for TYPO3 API by  doxygen 1.4.7