39 $this->
user = $DIC->user();
40 $this->
access = $DIC->access();
54 $this->log->debug(
"check permission " . $a_perm .
" for " . $a_term_id .
".");
56 if (!isset($this->permission[$a_perm][$glo_id])) {
57 $this->permission[$a_perm][$glo_id] =
false;
58 $this->log->debug(
"...checking references");
60 $this->log->debug(
"..." .
$ref_id);
61 if ($this->permission[$a_perm][$glo_id] ==
true) {
65 $this->permission[$a_perm][$glo_id] =
true;
69 $this->log->debug(
"...return " . ((
int) $this->permission[$a_perm][$glo_id]));
70 return $this->permission[$a_perm][$glo_id];
75 if (!isset($this->glossary_id[$a_term_id])) {
78 return $this->glossary_id[$a_term_id];
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkPermission(string $a_perm, int $a_term_id)
getGlossaryIdForTerm(int $a_term_id)
static _lookGlossaryID(int $term_id)
get glossary id form term id
static getLogger(string $a_component_id)
Get component logger.
Component logger with individual log levels by component id.
static _getAllReferences(int $id)
get all reference ids for object ID
Interface ilAccessHandler This interface combines all available interfaces which can be called via gl...