OCSP_GROUPTREE
void
addUserToGroup
(int $usrId, int $grpId, [boolean $readOnlay = False], [boolean $asAdmin = False], [boolean $debug = False])
boolean
userIsMember
(int $grpId, int $usrId, [boolean $withAdmin = false], [boolean $debug = false])
array
_addChildGroupToArray
(array &$retArr, int $parentId, string $keyPrepend, [boolean $debug = false])
static OCSP_GROUPTREE
$instance
(line 95)
singleton instance
array
$checkedgroups
= array() (line 139)
array with checked groups for a user
$this->checkedgroups[M|A][usrId][grpId] = True
boolean
$hasChanged
= false (line 130)
flag to notice if the class attributes has changed
array
$myChildTree
= array() (line 108)
array
$myGroupAdmins
= array() (line 123)
array with already seen group admins
array
$myGroupMembers
= array() (line 116)
array with already seen group members
array
$myGroups
= array() (line 103)
Inherited from OCSP_OBJ
OCSP_OBJ::$global_currentUser
OCSP_OBJ::$global_defaultDBObj_read
OCSP_OBJ::$global_defaultDBObj_write
OCSP_OBJ::$myDBObj
OCSP_OBJ::$staticClassVars
adds a user to a group
returns an array with all children (including childrens of children) of a group
returns an array with the 1st level children of a group
returns a group row also for system groups
returns an array with all groups
returns the group tree with additional informations for the current user
the return array looks like:
removes a user from a group
sets a users admin flag
sets a users read only flag
returns if a user is admin of $grpId
returns if a user is member of a group
appends a child tree to $retArr
Inherited From OCSP_OBJ
OCSP_OBJ::castObj()
OCSP_OBJ::cloneMe()
OCSP_OBJ::currentUser()
OCSP_OBJ::dbConnect()
OCSP_OBJ::defaultDBObj()
OCSP_OBJ::defaultReadDBObj()
OCSP_OBJ::defaultWriteDBObj()
OCSP_OBJ::getConf()
OCSP_OBJ::getDBObj()
OCSP_OBJ::get_myClassConstant()
OCSP_OBJ::get_myObject_vars()
OCSP_OBJ::get_mySourceFile()
OCSP_OBJ::isConnected()
OCSP_OBJ::isMultiByteStr()
OCSP_OBJ::isUTF8()
OCSP_OBJ::setConf()
OCSP_OBJ::setDBObj()
OCSP_OBJ::set_myObject_vars()
OCSP_OBJ::set_myVarsFrom()
CLASS_SRC_FILE
= __FILE__
(line 86)
Inherited from OCSP_OBJ
OCSP_OBJ::CLASS_SRC_FILE
Documentation generated on Thu, 08 Jan 2009 17:46:49 +0100 by phpDocumentor 1.4.0a2