36 array $possibleDocuments
49 if (
null === $this->matchingDocuments) {
50 $this->matchingDocuments = [];
52 $this->log->debug(sprintf(
53 'Evaluating document for user "%s" (id: %s) ...',
54 $this->
user->getLogin(),
58 foreach ($this->possibleDocuments as $document) {
59 if ($this->evaluation->evaluate($document)) {
60 $this->matchingDocuments[] = $document;
64 $this->log->debug(sprintf(
65 '%s matching document(s) found',
66 count($this->matchingDocuments)
76 if (count($matchingDocuments) > 0) {
77 return $matchingDocuments[0];
81 'Could not find any accessibility control concept document for the passed user (id: %s|login: %s)',
83 $this->
user->getLogin()
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ilAccessibilityDocumentCriteriaEvaluation $evaluation
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(ilAccessibilityDocumentCriteriaEvaluation $evaluation, ilObjUser $user, ilLogger $log, array $possibleDocuments)