[user] element index

Package indexes

All elements
a c d e f g h i l m o p r s t u _
_
top
Method _addChildGroupToArray
OCSP_GROUPTREE::_addChildGroupToArray() in OCSP_GROUPTREE.phpclass
appends a child tree to $retArr
Constant _OCSP_GROUPRIGHTS_DELETE
_OCSP_GROUPRIGHTS_DELETE in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUPRIGHTS_EDIT
_OCSP_GROUPRIGHTS_EDIT in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUPRIGHTS_INSERT
_OCSP_GROUPRIGHTS_INSERT in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_ADMIN_
_OCSP_GROUP_ADMIN_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_CLIADMIN_
_OCSP_GROUP_CLIADMIN_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_CMSADMIN_
_OCSP_GROUP_CMSADMIN_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_CMSAUTHOR_
_OCSP_GROUP_CMSAUTHOR_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_CMSEDITOR_
_OCSP_GROUP_CMSEDITOR_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_DBMS_
_OCSP_GROUP_DBMS_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_ITEMAUTHOR_
_OCSP_GROUP_ITEMAUTHOR_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_LOGGEDIN_
_OCSP_GROUP_LOGGEDIN_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_NOTLOGGEDIN_
_OCSP_GROUP_NOTLOGGEDIN_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PRODUCTS_
_OCSP_GROUP_PRODUCTS_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PROJ_ADMINGRP_
_OCSP_GROUP_PROJ_ADMINGRP_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PROJ_AUTHOR_GRP_
_OCSP_GROUP_PROJ_AUTHOR_GRP_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PROJ_EDITOR_GRP_
_OCSP_GROUP_PROJ_EDITOR_GRP_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PROJ_USER_GRP_
_OCSP_GROUP_PROJ_USER_GRP_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_PUBLIC_
_OCSP_GROUP_PUBLIC_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_SYSTEMJOB_
_OCSP_GROUP_SYSTEMJOB_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_TEMPLATE_
_OCSP_GROUP_TEMPLATE_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_GROUP_TERMINATOR_
_OCSP_GROUP_TERMINATOR_ in OCSP_GROUPTREE.phpclass
Constants for system group id's
Constant _OCSP_USR_SESSION_TTL_
_OCSP_USR_SESSION_TTL_ in OCSP_USER.phpclass
Class file OCSP_USER.phpclass
Method _usrGroupTreeSetShow
OCSP_GROUPTREE::_usrGroupTreeSetShow() in OCSP_GROUPTREE.phpclass
Method __construct
OCSP_USER::__construct() in OCSP_USER.phpclass
constructor
Method __construct
OCSP_GROUP::__construct() in OCSP_GROUP.phpclass
Method __construct
OCSP_GROUPTREE::__construct() in OCSP_GROUPTREE.phpclass
constructor
a
top
Function addProfile
addProfile() in OCSP_USER.phpclass
stores profile data to the database calls addProfileObj() for each value array
Function addProfileObj
addProfileObj() in OCSP_USER.phpclass
stores profile data to the database processes only one data row
Function addToGroup
addToGroup() in OCSP_USER.phpclass
adds the user to $aGrpId
Method addUserToGroup
OCSP_GROUPTREE::addUserToGroup() in OCSP_GROUPTREE.phpclass
adds a user to a group
c
top
Variable $checkedgroups
OCSP_GROUPTREE::$checkedgroups in OCSP_GROUPTREE.phpclass
array with checked groups for a user
Variable $curSecReq
OCSP_USER::$curSecReq in OCSP_USER.phpclass
array holding security requirements for the current function
Function canEditClient
canEditClient() in OCSP_USER.phpclass
returns if the user has the right to edit a client
Function canEditUser
canEditUser() in OCSP_USER.phpclass
returns if this user has the right to edit another user with id $usrId
Function canListClientType
canListClientType() in OCSP_USER.phpclass
checks if the user can show users of a type returns always True to the type the users client is
Function canShowClient
canShowClient() in OCSP_USER.phpclass
returns if the user has the right to view a client's data
Function canShowUser
canShowUser() in OCSP_USER.phpclass
returns if this user can see an other user (is in the same group)
Function checkGroup
checkGroup() in OCSP_USER.phpclass
old methods
Function checkPassword
checkPassword() in OCSP_USER.phpclass
checks username and password and setts $this->user if ok
Function checkRights
checkRights() in OCSP_USER.phpclass
old methods
Function checkSEC_REQ
checkSEC_REQ() in OCSP_USER.phpclass
checks security requirements
Function check_myCliIDTS
check_myCliIDTS() in OCSP_USER.phpclass
returns if myCliIDTS is ok (means not outdated)
Class Constant CLASS_SRC_FILE
OCSP_GROUPTREE::CLASS_SRC_FILE in OCSP_GROUPTREE.phpclass
Class Constant CLASS_SRC_FILE
OCSP_USER::CLASS_SRC_FILE in OCSP_USER.phpclass
Class Constant CLASS_SRC_FILE
OCSP_GROUP::CLASS_SRC_FILE in OCSP_GROUP.phpclass
Function clearProfileObj
clearProfileObj() in OCSP_USER.phpclass
deletes all profile entries for the user
Page checkuser.phpinc
checkuser.phpinc in checkuser.phpinc
d
top
Variable $dbConffile
OCSP_USER::$dbConffile in OCSP_USER.phpclass
Variable $dbConfSeekLoop
OCSP_USER::$dbConfSeekLoop in OCSP_USER.phpclass
Method dbConnect
OCSP_USER::dbConnect() in OCSP_USER.phpclass
Method dbInsert
OCSP_GROUP::dbInsert() in OCSP_GROUP.phpclass
inserts a new row to the table
Function dbInsert
dbInsert() in OCSP_USER.phpclass
inserts a new row to the table
Method dbReplace
OCSP_GROUP::dbReplace() in OCSP_GROUP.phpclass
replaces a row in the table
Function dbSave
dbSave() in OCSP_USER.phpclass
only saves none public user
Function deleteUser
deleteUser() in OCSP_USER.phpclass
deletes a user
Method disable
OCSP_USER::disable() in OCSP_USER.phpclass
disable a user
e
top
Method echoLoginForm
OCSP_USER::echoLoginForm() in OCSP_USER.phpclass
outputs the propper login form
Method enable
OCSP_USER::enable() in OCSP_USER.phpclass
enables a user
f
top
Method factoryCurrentFromLoginPasswd
factory a user object from login + password
Method factoryCurrentFromSession
factory a user object from the session
Method factoryFromId
OCSP_USER::factoryFromId() in OCSP_USER.phpclass
factory a userObject
Method factoryFromLoginName
OCSP_USER::factoryFromLoginName() in OCSP_USER.phpclass
factory a userObject
Method factory_fromId
OCSP_GROUP::factory_fromId() in OCSP_GROUP.phpclass
factory a group object
g
top
Page groups.conf.phpinc
groups.conf.phpinc in groups.conf.phpinc
Function getAdminGroups
getAdminGroups() in OCSP_USER.phpclass
returns an array of GRP_ID's where the user is admin
Method getAllChildGroups
OCSP_GROUPTREE::getAllChildGroups() in OCSP_GROUPTREE.phpclass
returns an array with all children (including childrens of children) of a group
Method getChildGroups
OCSP_GROUPTREE::getChildGroups() in OCSP_GROUPTREE.phpclass
returns an array with the 1st level children of a group
Method getChildren
OCSP_GROUP::getChildren() in OCSP_GROUP.phpclass
returns an array of child objects
Function getClient
getClient() in OCSP_USER.phpclass
returns a client object for the first client found for the user
Function getCliId
getCliId() in OCSP_USER.phpclass
returns the client id from T_CLI_USER
Function getCliTypeId
getCliTypeId() in OCSP_USER.phpclass
returns the client type id of the users client or False if no client could be found
Method getDBConfFile
OCSP_USER::getDBConfFile() in OCSP_USER.phpclass
returns the db-Conffile for the user
Function getDefaultGroupId
getDefaultGroupId() in OCSP_USER.phpclass
returns the default group of the user (GRP_ID in T_SYS_USER)
Function getDirectAssignedAdminGroups
getDirectAssignedAdminGroups() in OCSP_USER.phpclass
returns an array with group id's direct assigned to the user where he is admin
Function getDirectAssignedGroups
getDirectAssignedGroups() in OCSP_USER.phpclass
returns an array with group id's direct assigned to the user
Method getGroupName
OCSP_GROUPTREE::getGroupName() in OCSP_GROUPTREE.phpclass
Method getGroupRow
OCSP_GROUPTREE::getGroupRow() in OCSP_GROUPTREE.phpclass
returns a group row also for system groups
Function getGroups
getGroups() in OCSP_USER.phpclass
returns a string containing group id's
Method getGroupTreeArray
OCSP_GROUPTREE::getGroupTreeArray() in OCSP_GROUPTREE.phpclass
returns an array with all groups
Method getHttpLoginForm
OCSP_USER::getHttpLoginForm() in OCSP_USER.phpclass
sets the headers for a http authentication
Method getId
OCSP_GROUP::getId() in OCSP_GROUP.phpclass
returns the group id
Method getId
OCSP_USER::getId() in OCSP_USER.phpclass
returns the user id
Method getInstance
OCSP_GROUPTREE::getInstance() in OCSP_GROUPTREE.phpclass
returns the object instance
Method getJavaScriptLoginForm
Method getLang
OCSP_USER::getLang() in OCSP_USER.phpclass
returns the language id for the user
Function getmyClientIds
getmyClientIds() in OCSP_USER.phpclass
returns an array of client id's the user is assigned to
Function getMyDBObj
getMyDBObj() in OCSP_USER.phpclass
loading the db object checks dbtype in the following order
Method getName
OCSP_USER::getName() in OCSP_USER.phpclass
returns the user naem
Method getName
OCSP_GROUP::getName() in OCSP_GROUP.phpclass
return the group name
Function getStaff
getStaff() in OCSP_USER.phpclass
returns the staff assigned to the user
Method getUserGroupTreeArray
OCSP_GROUPTREE::getUserGroupTreeArray() in OCSP_GROUPTREE.phpclass
returns the group tree with additional informations for the current user
h
top
Variable $hasChanged
OCSP_GROUPTREE::$hasChanged in OCSP_GROUPTREE.phpclass
flag to notice if the class attributes has changed
i
top
Variable $instance
OCSP_GROUPTREE::$instance in OCSP_GROUPTREE.phpclass
singleton instance
Function isAdmin
isAdmin() in OCSP_USER.phpclass
returns if a user is admin
Function isAllowed
isAllowed() in OCSP_USER.phpclass
checks the user against a merge of $this->curSecReq and $addSecReq
Method isChildOf
OCSP_GROUP::isChildOf() in OCSP_GROUP.phpclass
returns if the group is a child of $aGrpId
Function isClientAdmin
isClientAdmin() in OCSP_USER.phpclass
checks if the user has admin rights for a client User is group member of CLIENT_ADMIN or T_CLI_USER CLU_ISADMIN is True
Function isClientStaff
isClientStaff() in OCSP_USER.phpclass
checks if the user is staff of a client
Method isConnected
OCSP_USER::isConnected() in OCSP_USER.phpclass
returns if the dbObj is connected
Function isEnabled
isEnabled() in OCSP_USER.phpclass
returns if the user is enabled by default
Function isGroupAdmin
isGroupAdmin() in OCSP_USER.phpclass
returns if the user is group admin
Function isGroupMember
isGroupMember() in OCSP_USER.phpclass
returns if the user is a member of $aGroup
Function isPublic
isPublic() in OCSP_USER.phpclass
returns if the user is public or is a logined user
Function isValid
isValid() in OCSP_USER.phpclass
l
top
Function login
login() in OCSP_USER.phpclass
opens a connection to the database and checks username and password
Function loginScreen
loginScreen() in OCSP_USER.phpclass
shows the login screen and returns to the current page
Function logout
logout() in OCSP_USER.phpclass
logsout the current user
m
top
Variable $myChildTree
OCSP_GROUPTREE::$myChildTree in OCSP_GROUPTREE.phpclass
Variable $myClient
OCSP_USER::$myClient in OCSP_USER.phpclass
Variable $myClientLst
OCSP_USER::$myClientLst in OCSP_USER.phpclass
array of client id's the user is assigned
Variable $myCliId
OCSP_USER::$myCliId in OCSP_USER.phpclass
Variable $myCtyId
OCSP_USER::$myCtyId in OCSP_USER.phpclass
Variable $myGroupAdmins
OCSP_GROUPTREE::$myGroupAdmins in OCSP_GROUPTREE.phpclass
array with already seen group admins
Variable $myGroupMembers
OCSP_GROUPTREE::$myGroupMembers in OCSP_GROUPTREE.phpclass
array with already seen group members
Variable $myGroups
OCSP_USER::$myGroups in OCSP_USER.phpclass
array of groups the user belongs to directly (stored in T_SYS_GROUPMEMBERS);
Variable $myGroups
OCSP_GROUPTREE::$myGroups in OCSP_GROUPTREE.phpclass
Variable $myTable
OCSP_USER::$myTable in OCSP_USER.phpclass
Variable $myTable
OCSP_GROUP::$myTable in OCSP_GROUP.phpclass
o
top
Global $OCSP_CONF
$OCSP_CONF in OCSP_USER.phpclass
connects to the db
Class OCSP_GROUP
OCSP_GROUP in OCSP_GROUP.phpclass
Class class OCSP_GROUP handles T_SYS_GROUP
Class OCSP_GROUPTREE
OCSP_GROUPTREE in OCSP_GROUPTREE.phpclass
handels groups
Class OCSP_USER
OCSP_USER in OCSP_USER.phpclass
Base class DBMS_TABLEOBJ to handel table data in an object
Page OCSP_GROUP.phpclass
OCSP_GROUP.phpclass in OCSP_GROUP.phpclass
Page OCSP_GROUPTREE.phpclass
OCSP_GROUPTREE.phpclass in OCSP_GROUPTREE.phpclass
Page OCSP_USER.phpclass
OCSP_USER.phpclass in OCSP_USER.phpclass
p
top
Method populateGroups
OCSP_GROUPTREE::populateGroups() in OCSP_GROUPTREE.phpclass
Function populateMyGroups
populateMyGroups() in OCSP_USER.phpclass
populates the groups from the database (T_SYS_GROUPMEMBER)
Function populateUser
populateUser() in OCSP_USER.phpclass
not final use override this method to populate the additionl user data
r
top
Function removeFromGroup
removeFromGroup() in OCSP_USER.phpclass
remove the user from $aGrpId
Method removeUserFromGroup
OCSP_GROUPTREE::removeUserFromGroup() in OCSP_GROUPTREE.phpclass
removes a user from a group
s
top
Function sessPopulate
sessPopulate() in OCSP_USER.phpclass
populates a user from the session
Function sessSave
sessSave() in OCSP_USER.phpclass
stores the user to the session
Function sessTouch
sessTouch() in OCSP_USER.phpclass
sets session user timestamp
Function setCliId
setCliId() in OCSP_USER.phpclass
sets the client id and generates a row in T_CLI_USER
Method setDBConfFile
OCSP_USER::setDBConfFile() in OCSP_USER.phpclass
sets the database config file
Function setDBRow
setDBRow() in OCSP_USER.phpclass
sets a database row to the object fields
Function setMyDBObj
setMyDBObj() in OCSP_USER.phpclass
Function setPassword
setPassword() in OCSP_USER.phpclass
changes the password
Function setSecRequireArr
setSecRequireArr() in OCSP_USER.phpclass
merges $secReq with $this->curSecReq
Method setUsersAdminFlag
OCSP_GROUPTREE::setUsersAdminFlag() in OCSP_GROUPTREE.phpclass
sets a users admin flag
Method setUsersROFlag
OCSP_GROUPTREE::setUsersROFlag() in OCSP_GROUPTREE.phpclass
sets a users read only flag
t
top
Function touch
touch() in OCSP_USER.phpclass
touches the user
u
top
Variable $usrList
OCSP_USER::$usrList in OCSP_USER.phpclass
list of already loaded users (unit of work) used in foactory classes
Method userCanDelete
OCSP_GROUP::userCanDelete() in OCSP_GROUP.phpclass
returns if the current user can delete the group
Method userCanEdit
OCSP_GROUP::userCanEdit() in OCSP_GROUP.phpclass
returns if the current user can edit the group
Method userCanInsert
OCSP_GROUP::userCanInsert() in OCSP_GROUP.phpclass
returns if the current user can edit the group
Method userCanShow
OCSP_GROUP::userCanShow() in OCSP_GROUP.phpclass
returns if the current user can edit the group
Method userIsAdmin
OCSP_GROUPTREE::userIsAdmin() in OCSP_GROUPTREE.phpclass
returns if a user is admin of $grpId
Method userIsMember
OCSP_GROUPTREE::userIsMember() in OCSP_GROUPTREE.phpclass
returns if a user is member of a group
a c d e f g h i l m o p r s t u _