3 declare(strict_types=1);
42 $this->
access = $DIC->access();
53 return $this->
access->checkAccessOfUser(
58 $this->
object->getType(),
59 $this->
object->getId()
62 return $this->
access->checkAccess(
66 $this->
object->getType(),
67 $this->
object->getId()
75 return $this->
access->checkAccessOfUser(
80 $this->
object->getType(),
81 $this->
object->getId()
84 return $this->
access->checkAccess(
88 $this->
object->getType(),
89 $this->
object->getId()
97 return $this->
access->checkAccessOfUser(
101 $this->
object->getRefId(),
102 $this->
object->getType(),
103 $this->
object->getId()
106 return $this->
access->checkAccess(
109 $this->
object->getRefId(),
110 $this->
object->getType(),
111 $this->
object->getId()
119 return $this->
access->checkAccessOfUser(
123 $this->
object->getRefId(),
124 $this->
object->getType(),
125 $this->
object->getId()
128 return $this->
access->checkAccess(
131 $this->
object->getRefId(),
132 $this->
object->getType(),
133 $this->
object->getId()
hasWriteAccess(?int $usrId=null)
static getInstance(ilObjCmiXapi $object)
static checkAccess(int $a_ref_id, bool $a_allow_only_read=true)
check access to learning progress
hasOutcomesAccess(?int $usrId=null)
hasLearningProgressAccess()
hasEditPermissionsAccess(?int $usrId=null)
__construct(ilObjCmiXapi $object)
ilCmiXapiAccess constructor.
hasReadAccess(?int $usrId=null)