Stud.IP  2.0 Revision 48548
 All Data Structures Namespaces Files Functions Variables Pages
ResourceObjectPerms Class Reference
Collaboration diagram for ResourceObjectPerms:
Collaboration graph

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)

Member Function Documentation

changePerm (   $new_perm)

Here is the caller graph for this function:

Factory (   $resource_id,
  $user_id = false 
)

Here is the call graph for this function:

Here is the caller graph for this function:

getId ( )
getUserId ( )
getUserIsOwner ( )
getUserPerm ( )

Here is the caller graph for this function:

havePerm (   $perm)

Here is the call graph for this function:

ResourceObjectPerms (   $resource_id,
  $user_id = '' 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Field Documentation

$db
$db2
$perm_weight = array("admin" => 4, "tutor" => 2, "autor" => 1)
$resource_id
$user_id

The documentation for this class was generated from the following file: