| Public Member Functions | |
| getId () | |
| getRole () | |
| getAdmin () | |
| getAccessRights () | |
| getAccesRightsString () | |
| setAccessRights ($ar) | |
| convertAccessToInt ($access) | |
| convertAccessToString ($intAccess) | |
| setId ($id) | |
| setRole ($role) | |
| setAdmin ($admin) | |
| getAccessStringList () | |
Role-Object to make access more easy.. it's the same as it is in the db-table
| role::getAccesRightsString | ( | ) | 
Same method as getAccessRights, but with a string. str READ, READWRITE or ADMIN. Failurevalue is "Null" (as String)
| role::getAccessRights | ( | ) | 
Get the access-right on this plugin with this user in form of a int. It is always one int, but readwrite are 2 rights. 1 = READ 2 = READWRITE 3 = ADMIN 0 = Fail
| role::getAdmin | ( | ) | 
Return if it's a adminrole or not
| role::getId | ( | ) | 
Returns the id of the role
| role::getRole | ( | ) | 
Get the rolename
| role::setAccessRights | ( | $ar | ) | 
Set accessrights to role
| role::setAdmin | ( | $admin | ) | 
Propably deprecated, better not use
| role::setId | ( | $id | ) | 
Set the id (no db!)
 1.8.6
 1.8.6