Documentation TYPO3 par Ameos

SC_mod_web_perm_index Class Reference

List of all members.

Public Member Functions

 init ()
 menuConfig ()
 main ()
 printContent ()
 doEdit ()
 notEdit ()
 printCheckBox ($checkName, $num)
 printPerms ($int)
 groupPerms ($row, $firstGroup)
 getRecursiveSelect ($id, $perms_clause)

Public Attributes

 $getLevels = 10
 $MCONF = array()
 $doc
 $content
 $MOD_MENU = array()
 $MOD_SETTINGS = array()
 $perms_clause
 $pageinfo
 $color
 $color2
 $color3
 $editingAllowed
 $id
 $edit
 $return_id
 $lastEdited

Detailed Description

Definition at line 89 of file index.php.


Member Function Documentation

SC_mod_web_perm_index::init (  ) 

Initialization of the class

Returns:
void

Definition at line 123 of file index.php.

References t3lib_div::_GP(), and t3lib_div::makeInstance().

SC_mod_web_perm_index::menuConfig (  ) 

Configuration of the menu and initialization of ->MOD_SETTINGS

Returns:
void

Definition at line 183 of file index.php.

References t3lib_div::_GP(), and t3lib_BEfunc::getModuleData().

SC_mod_web_perm_index::main (  ) 

Main function, creating the content for the access editing forms/listings

Returns:
void

Definition at line 214 of file index.php.

References t3lib_div::fixed_lgd_cs(), t3lib_BEfunc::getFuncMenu(), and t3lib_BEfunc::readPageAccess().

SC_mod_web_perm_index::printContent (  ) 

Outputting the accumulated content to screen

Returns:
void

Definition at line 288 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)

Returns:
void

Definition at line 315 of file index.php.

References t3lib_BEfunc::blindGroupNames(), t3lib_BEfunc::blindUserNames(), t3lib_BEfunc::cshItem(), t3lib_BEfunc::getGroupNames(), t3lib_BEfunc::getListGroupNames(), and t3lib_BEfunc::getUserNames().

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 452 of file index.php.

References 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(), and t3lib_iconWorks::skinImg().

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 647 of file index.php.

SC_mod_web_perm_index::printPerms ( int  ) 

Print a set of permissions

Parameters:
integer Permission integer (bits)
Returns:
string HTML marked up x/* indications.

Definition at line 658 of file index.php.

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 676 of file index.php.

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 693 of file index.php.

References t3lib_div::deHSCentities(), and t3lib_div::makeInstance().


The documentation for this class was generated from the following file:


Généré par L'expert TYPO3 avec  doxygen 1.4.6