Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
__construct ($id=NULL) | |
setUserid ($id) | |
getSurname () | |
getGivenname () | |
getUserid () | |
getPermission () | |
getUsername () | |
isSameUser (StudIPUser $otheruser) | |
getAssignedRoles ($withimplicit=false) | |
isAssignedRole ($assignedrole= '') |
Data Fields | |
$userid | |
$username | |
$permission | |
$surname | |
$givenname | |
$assignedroles |
User-Object which should be used in plugins
__construct | ( | $id = NULL | ) |
Initialize a user object for the current user or the given user id.
getAssignedRoles | ( | $withimplicit = false | ) |
Enter description here...
boolean | $withimplicit |
getGivenname | ( | ) |
Enter description here...
getPermission | ( | ) |
Enter description here...
getSurname | ( | ) |
Enter description here...
getUserid | ( | ) |
Enter description here...
getUsername | ( | ) |
Enter description here...
isAssignedRole | ( | $assignedrole = '' | ) |
Enter description here...
string | $assignedrole |
isSameUser | ( | StudIPUser | $otheruser | ) |
checks, if this user is identical to the otheruser
StudIPUser | $otheruser |
setUserid | ( | $id | ) |
TODO: (mlunzena) what a bad design, the whole idea of filling a user by setting an ID smells
int | $id |
$assignedroles |
$givenname |
$permission |
$surname |
$userid |
$username |