Stud.IP
2.0 Revision 48548
|
Public Member Functions | |
Factory ($resource_id, $user_id=false) | |
ResourceObjectPerms ($resource_id, $user_id='') | |
changePerm ($new_perm) | |
havePerm ($perm) | |
getUserPerm () | |
getUserIsOwner () | |
getId () | |
getUserId () |
Data Fields | |
$user_id | |
$db | |
$db2 | |
$resource_id | |
$perm_weight = array("admin" => 4, "tutor" => 2, "autor" => 1) |
changePerm | ( | $new_perm | ) |
Factory | ( | $resource_id, | |
$user_id = false |
|||
) |
getId | ( | ) |
getUserId | ( | ) |
getUserIsOwner | ( | ) |
getUserPerm | ( | ) |
havePerm | ( | $perm | ) |
ResourceObjectPerms | ( | $resource_id, | |
$user_id = '' |
|||
) |
$db |
$db2 |
$perm_weight = array("admin" => 4, "tutor" => 2, "autor" => 1) |
$resource_id |
$user_id |