4 include_once(
"./Services/ContainerReference/classes/class.ilContainerReferenceAccess.php");
32 function _checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id =
"")
40 include_once
'./Modules/GroupReference/classes/class.ilObjGroupReference.php';
43 if(!$ilAccess->checkAccessOfUser($a_user_id, $a_permission, $a_cmd, $target_ref_id))
77 if($ilAccess->checkAccess(
'write',
'',$a_ref_id))
82 array(
"permission" =>
"visible",
"cmd" =>
"",
"lang_var" =>
"show",
"default" =>
true),
83 array(
"permission" =>
"write",
"cmd" =>
"editReference",
"lang_var" =>
"edit")
88 include_once(
'./Modules/Group/classes/class.ilObjGroupAccess.php');
static _getCommands($a_ref_id=0)
get commands
static _getCommands()
get commands
Create styles array
The data for the language used.
static _lookupTargetRefId($a_obj_id)
Lookup target ref_id.
_checkAccess($a_cmd, $a_permission, $a_ref_id, $a_obj_id, $a_user_id="")
Checks wether a user may invoke a command or not (this method is called by ilAccessHandler::checkAcce...