A class representing a user in PHPDevShell.
Can be used to examine / modify an existing user, or create / import a new user
Located in /PHPDS_user.class.php (line 25)
PHPDS_dependant | --user | --PHPDS_user
Set groups that exists.
Stores string of groups for specific user.
Stores string of roles for specific user.
Array contains parent groups.
Set roles that exists.
Inherited from PHPDS_dependant
PHPDS_dependant::$dependance
PHPDS_dependant::$parent
Check if user belongs to given group. Returns true if user belongs to user group.
Check if user belongs to given role. Returns true if user belongs to user role.
Check if a user has access to a given menu id.
Actual processing of login page.
Returns current logged in user id.
Will dig deeper for children of groups.
This function gets all group id's for given user ids, while returning a string divided by ',' character or an array with ids.
To pull multiple user groups, provide a string for $user_ids like so : '2,5,10,19'.
This function gets all role id's for a given user id, while returning a string divided by ',' character or an array with ids.
To pull multiple user roles, provide a string for $user_ids like so: '2,5,10,19'.
Simple method to return users IP, this method will be improved in the future if needed.
Simple check to see if a certain group exists.
Check is user is logged in, return false if not.
Check if user is a root user.
Check if the currently logged in user is the same group as the given user.
This can be used to check if the current user is allowed access to the given user's data
Simple check to see if a certain role exists.
Creates a query to extend a group query, it will return false if user is root so everything can get listed.
This is meant to be used inside an existing group query.
Creates a query to extend a role query, it will return false if user is root so everything can get listed.
This is meant to be used inside an existing role query.
Simply writes user session data.
Simple method to return users IP, this method will be improved in the future if needed.
Inherited From PHPDS_dependant
PHPDS_dependant::__construct()
PHPDS_dependant::construct()
PHPDS_dependant::debugInstance()
PHPDS_dependant::factory()
PHPDS_dependant::factoryWith()
PHPDS_dependant::info()
PHPDS_dependant::log()
PHPDS_dependant::PHPDS_dependance()
PHPDS_dependant::_log()
PHPDS_dependant::__call()
PHPDS_dependant::__get()
PHPDS_dependant::__set()
Documentation generated on Tue, 09 Aug 2011 09:05:25 +0200 by phpDocumentor 1.4.3