Solutions Open Source

Référence de la classe SC_mod_web_perm_index

Liste de tous les membres

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


Documentation des fonctions membres

SC_mod_web_perm_index::init (  ) 

Initialization of the class

Renvoie:
void

SC_mod_web_perm_index::menuConfig (  ) 

Configuration of the menu and initialization of ->MOD_SETTINGS

Renvoie:
void

SC_mod_web_perm_index::main (  ) 

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

Renvoie:
void

SC_mod_web_perm_index::printContent (  ) 

Outputting the accumulated content to screen

Renvoie:
void

SC_mod_web_perm_index::doEdit (  ) 

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

Renvoie:
void

SC_mod_web_perm_index::notEdit (  ) 

Showing the permissions in a tree ($this->edit = false) (Adding content to internal content variable)

Renvoie:
void

SC_mod_web_perm_index::printCheckBox ( checkName,
num 
)

Print a checkbox for the edit-permission form

Paramètres:
string Checkbox name key
integer Checkbox number index
Renvoie:
string HTML checkbox

SC_mod_web_perm_index::printPerms ( int  ) 

Print a set of permissions

Paramètres:
integer Permission integer (bits)
Renvoie:
string HTML marked up x/* indications.

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

Paramètres:
array Row array (from pages table)
array First group data
Renvoie:
integer Integer: Combined permissions.

SC_mod_web_perm_index::getRecursiveSelect ( id,
perms_clause 
)

Finding tree and offer setting of values recursively.

Paramètres:
integer Page id.
string Select clause
Renvoie:
string Select form element for recursive levels (if any levels are found)


Documentation des données membres

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


La documentation de cette classe a été générée à partir du fichier suivant :
Généré le Fri Aug 31 11:41:44 2007 pour OBLADY - Typo3 API v4.1.2 par  doxygen 1.5.3