40 if (
true === $this->activeValidator->validate()) {
41 $objectIdsWithUserCertificate = $this->userCertificateRepository->fetchUserIdsWithCertificateForObject($objectId);
42 self::$certificates[$objectId] = $objectIdsWithUserCertificate;
53 if (
false === array_key_exists($objId, self::$certificates)) {
57 if (
true === in_array($userId, self::$certificates[$objId])) {
isPreloaded(int $objId, int $userId)
preLoadDownloadableCertificates(int $objectId)
$userCertificateRepository
__construct(ilUserCertificateRepository $userCertificateRepository, ilCertificateActiveValidator $activeValidator)