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

Public Member Functions

 Ilias3ConnectedPermissions ($cms)
 readData ()
 checkUserPermissions ($course_id="")
 getUserRoles ()
 getContentModulePerms ($module_id)
 getOperation ($operation)
 getOperationArray ($operation)
- Public Member Functions inherited from ConnectedPermissions
 ConnectedPermissions ($cms)

Data Fields

 $operations
 $allowed_operations
 $tree_allowed_operations
 $USER_OPERATIONS
 $AUTHOR_OPERATIONS
- Data Fields inherited from ConnectedPermissions
 $cms_type
 $db_class

Member Function Documentation

checkUserPermissions (   $course_id = "")

check user permissions

checks user permissions for connected course and changes setting if necessary public

Parameters
string$course_idcourse-id
Returns
boolean returns false on error

Reimplemented in Ilias4ConnectedPermissions.

Here is the call graph for this function:

getContentModulePerms (   $module_id)

get permissions for content module

returns allowed operations for given user and module public

Parameters
string$module_idmodule-id
Returns
boolean returns false on error

Reimplemented from ConnectedPermissions.

Here is the caller graph for this function:

getOperation (   $operation)

get operation

returns id for given operation-string public

Parameters
string$operationoperation
Returns
integer operation-id
getOperationArray (   $operation)

get operation-ids

returns an array of operation-ids public

Parameters
string$operationoperation
Returns
array operation-ids
getUserRoles ( )

get user roles

returns roles for current user public

Returns
array role-ids

Here is the caller graph for this function:

constructor

init class.

Parameters
string$cmssystem-type

Here is the call graph for this function:

Here is the caller graph for this function:

readData ( )

read data

reads acces control data from database public

Here is the caller graph for this function:

Field Documentation

$allowed_operations
$AUTHOR_OPERATIONS
$operations
$tree_allowed_operations
$USER_OPERATIONS

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