◆ __construct()
◆ isPreloaded()
ilCertificateObjectsForUserPreloader::isPreloaded |
( |
int |
$userId, |
|
|
int |
$objId |
|
) |
| |
◆ preLoad()
ilCertificateObjectsForUserPreloader::preLoad |
( |
int |
$userId, |
|
|
array |
$objIds |
|
) |
| |
- Parameters
-
Definition at line 36 of file class.ilCertificateObjectsForUserPreloader.php.
38 if (!array_key_exists($userId, self::$certificates)) {
39 self::$certificates[$userId] = [];
42 $objectIdsWithUserCertificate = $this->userCertificateRepository->fetchObjectIdsWithCertificateForUser(
44 array_diff($objIds, self::$certificates[$userId])
47 self::$certificates[$userId] = array_unique(array_merge(
48 $objectIdsWithUserCertificate,
49 self::$certificates[$userId]
◆ $certificates
array ilCertificateObjectsForUserPreloader::$certificates = [] |
|
staticprivate |
The documentation for this class was generated from the following file: