|
ILIAS
release_8 Revision v8.24
|
Collaboration diagram for ilUserCertificateRepository:Public Member Functions | |
| __construct (?ilDBInterface $database=null, ?ilLogger $logger=null, ?string $defaultTitle=null) | |
| save (ilUserCertificate $userCertificate) | |
| fetchActiveCertificates (int $userId) | |
| fetchActiveCertificatesInIntervalForPresentation (int $userId, int $startTimestamp, int $endTimeStamp) | |
| fetchActiveCertificate (int $userId, int $objectId) | |
| fetchActiveCertificateForPresentation (int $userId, int $objectId) | |
| fetchActiveCertificatesByTypeForPresentation (int $userId, string $type) | |
| fetchCertificate (int $id) | |
| fetchObjectIdsWithCertificateForUser (int $userId, array $objectIds) | |
| fetchUserIdsWithCertificateForObject (int $objectId) | |
| deleteUserCertificates (int $userId) | |
| isBackgroundImageUsed (string $relative_image_path) | |
Private Member Functions | |
| fetchCertificatesOfObject (int $objId, int $userId) | |
| fetchLatestVersion (int $objId, int $userId) | |
| deactivatePreviousCertificates (int $objId, int $userId) | |
| createUserCertificate (array $row) | |
Private Attributes | |
| ilDBInterface | $database |
| ilLogger | $logger |
| string | $defaultTitle |
Definition at line 24 of file class.ilUserCertificateRepository.php.
| ilUserCertificateRepository::__construct | ( | ?ilDBInterface | $database = null, |
| ?ilLogger | $logger = null, |
||
| ?string | $defaultTitle = null |
||
| ) |
Definition at line 30 of file class.ilUserCertificateRepository.php.
References $database, $defaultTitle, $DIC, $logger, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
| array<string,mixed> | $row |
Definition at line 613 of file class.ilUserCertificateRepository.php.
Referenced by fetchActiveCertificates(), and fetchActiveCertificatesInIntervalForPresentation().
Here is the caller graph for this function:
|
private |
Definition at line 563 of file class.ilUserCertificateRepository.php.
References $objId, and ILIAS\Repository\logger().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserCertificateRepository::deleteUserCertificates | ( | int | $userId | ) |
Definition at line 485 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchActiveCertificate | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| ilException |
Definition at line 230 of file class.ilUserCertificateRepository.php.
References $query, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchActiveCertificateForPresentation | ( | int | $userId, |
| int | $objectId | ||
| ) |
| int | $userId | |
| int | $objectId |
| ilException |
Definition at line 271 of file class.ilUserCertificateRepository.php.
References $query, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchActiveCertificates | ( | int | $userId | ) |
| int | $userId |
Definition at line 105 of file class.ilUserCertificateRepository.php.
References $query, createUserCertificate(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchActiveCertificatesByTypeForPresentation | ( | int | $userId, |
| string | $type | ||
| ) |
| int | $userId | |
| string | $type |
Definition at line 339 of file class.ilUserCertificateRepository.php.
References $query, $type, and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchActiveCertificatesInIntervalForPresentation | ( | int | $userId, |
| int | $startTimestamp, | ||
| int | $endTimeStamp | ||
| ) |
| int | $userId | |
| int | $startTimestamp | |
| int | $endTimeStamp |
Definition at line 165 of file class.ilUserCertificateRepository.php.
References createUserCertificate().
Here is the call graph for this function:| ilUserCertificateRepository::fetchCertificate | ( | int | $id | ) |
| int | $id |
| ilException |
Definition at line 401 of file class.ilUserCertificateRepository.php.
References $id, $query, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
| int | $objId | |
| int | $userId |
Definition at line 501 of file class.ilUserCertificateRepository.php.
References $objId, $query, and ILIAS\Repository\logger().
Here is the call graph for this function:
|
private |
Definition at line 536 of file class.ilUserCertificateRepository.php.
References $objId, $version, and ILIAS\Repository\logger().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:| ilUserCertificateRepository::fetchObjectIdsWithCertificateForUser | ( | int | $userId, |
| array | $objectIds | ||
| ) |
| int | $userId | |
| int[] | $objectIds |
Definition at line 425 of file class.ilUserCertificateRepository.php.
References $query, ILIAS\Repository\int(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::fetchUserIdsWithCertificateForObject | ( | int | $objectId | ) |
| int | $objectId |
Definition at line 465 of file class.ilUserCertificateRepository.php.
References $query, ILIAS\Repository\int(), and ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::isBackgroundImageUsed | ( | string | $relative_image_path | ) |
Definition at line 586 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
Here is the call graph for this function:| ilUserCertificateRepository::save | ( | ilUserCertificate | $userCertificate | ) |
| ilUserCertificate | $userCertificate |
| ilDatabaseException |
Definition at line 59 of file class.ilUserCertificateRepository.php.
References $id, $objId, $version, deactivatePreviousCertificates(), fetchLatestVersion(), ilUserCertificate\getAcquiredTimestamp(), ilUserCertificate\getBackgroundImagePath(), ilUserCertificate\getCertificateContent(), ilUserCertificate\getIliasVersion(), ilUserCertificate\getObjId(), ilUserCertificate\getObjType(), ilUserCertificate\getPatternCertificateId(), ilUserCertificate\getTemplateValues(), ilUserCertificate\getThumbnailImagePath(), ilUserCertificate\getUserId(), ilUserCertificate\getUserName(), ilUserCertificate\getValidUntil(), ILIAS\Repository\int(), ilUserCertificate\isCurrentlyActive(), ILIAS\Repository\logger(), and ilUserCertificate\withId().
Here is the call graph for this function:
|
private |
Definition at line 26 of file class.ilUserCertificateRepository.php.
Referenced by __construct().
|
private |
Definition at line 28 of file class.ilUserCertificateRepository.php.
Referenced by __construct().
|
private |
Definition at line 27 of file class.ilUserCertificateRepository.php.
Referenced by __construct().