|
| __construct (?ilDBInterface $database=null, ?ilLogger $logger=null, ?string $defaultTitle=null, ?Factory $uuid_factory=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) |
|
| isResourceUsed (string $relative_image_identification) |
|
| deleteUserCertificatesForObject (int $userId, int $obj_id) |
|
| fetchCertificatesForOverview (string $user_language, array $filter, ?Range $range=null, string $order_field='issue_date', string $order_direction='ASC') |
|
| fetchCertificatesForOverviewCount (array $filter, ?Range $range=null) |
|
| requestIdentity () |
|
◆ __construct()
◆ createUserCertificate()
ilUserCertificateRepository::createUserCertificate |
( |
array |
$row | ) |
|
|
private |
- Parameters
-
Definition at line 595 of file class.ilUserCertificateRepository.php.
References null.
Referenced by fetchActiveCertificate(), fetchActiveCertificateForPresentation(), fetchActiveCertificates(), fetchActiveCertificatesByTypeForPresentation(), fetchActiveCertificatesInIntervalForPresentation(), fetchCertificate(), fetchCertificatesForOverview(), and fetchCertificatesOfObject().
598 (
int) $row[
'pattern_certificate_id'],
599 (
int) $row[
'obj_id'],
601 (
int) $row[
'usr_id'],
603 (
int) $row[
'acquired_timestamp'],
604 $row[
'certificate_content'],
605 $row[
'template_values'],
606 (
int) $row[
'valid_until'],
607 (
int) $row[
'version'],
608 $row[
'ilias_version'],
609 (
bool) $row[
'currently_active'],
611 (
string) ($row[
'background_image_path'] ??
''),
612 (
string) ($row[
'tile_image_path'] ??
''),
613 (
string) $row[
'background_image_ident'],
614 (
string) $row[
'tile_image_ident'],
615 isset($row[
'id']) ? (
int) $row[
'id'] :
null while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ deactivatePreviousCertificates()
ilUserCertificateRepository::deactivatePreviousCertificates |
( |
int |
$objId, |
|
|
int |
$userId |
|
) |
| |
|
private |
Definition at line 536 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
Referenced by save().
540 'START - deactivating previous certificates for user id: "%s" and object id: "%s"',
547 UPDATE ' . self::TABLE_NAME .
' 548 SET currently_active = 0 549 WHERE obj_id = ' . $this->database->quote(
$objId,
'integer') .
' 550 AND usr_id = ' . $this->database->quote($userId,
'integer');
552 $this->database->manipulate($sql);
556 'END - deactivating previous certificates for user id: "%s" and object id: "%s"',
◆ deleteUserCertificates()
ilUserCertificateRepository::deleteUserCertificates |
( |
int |
$userId | ) |
|
Definition at line 450 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
452 $this->
logger->debug(sprintf(
'START - Delete certificate for user("%s")"', $userId));
454 $sql =
'DELETE FROM ' . self::TABLE_NAME .
' WHERE usr_id = ' . $this->database->quote($userId,
'integer');
456 $this->database->manipulate($sql);
458 $this->
logger->debug(sprintf(
'END - Successfully deleted certificate for user("%s")"', $userId));
◆ deleteUserCertificatesForObject()
ilUserCertificateRepository::deleteUserCertificatesForObject |
( |
int |
$userId, |
|
|
int |
$obj_id |
|
) |
| |
Definition at line 619 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
Referenced by removeCertificateForUser().
622 sprintf(
'START - Delete certificate for user("%s") in object (obj_id: %s)"', $userId, $obj_id)
625 $sql =
'DELETE FROM ' . self::TABLE_NAME .
' ' . PHP_EOL
626 .
' WHERE usr_id = ' . $this->database->quote($userId,
'integer') . PHP_EOL
627 .
' AND obj_id = ' . $this->database->quote($obj_id,
'integer');
629 $this->database->manipulate($sql);
632 sprintf(
'END - Successfully deleted certificate for user("%s") in object (obj_id: %s)"', $userId, $obj_id)
◆ fetchActiveCertificate()
ilUserCertificateRepository::fetchActiveCertificate |
( |
int |
$userId, |
|
|
int |
$objectId |
|
) |
| |
- Exceptions
-
Definition at line 223 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
227 'START - Fetching all active certificates for user: "%s" and object: "%s"',
234 FROM ' . self::TABLE_NAME .
' 235 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
' 236 AND obj_id = ' . $this->database->quote($objectId,
'integer') .
' 237 AND currently_active = 1';
239 $query = $this->database->query($sql);
241 while ($row = $this->database->fetchAssoc($query)) {
242 $this->
logger->debug(sprintf(
'Active certificate values: %s', json_encode($row, JSON_THROW_ON_ERROR)));
246 'END -Found active user certificate for user: "%s" and object: "%s"',
256 sprintf(
'There is no active entry for user id: "%s" and object id: "%s"', $userId, $objectId)
createUserCertificate(array $row)
◆ fetchActiveCertificateForPresentation()
ilUserCertificateRepository::fetchActiveCertificateForPresentation |
( |
int |
$userId, |
|
|
int |
$objectId |
|
) |
| |
- Exceptions
-
Definition at line 263 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
Referenced by ilPortfolioPageGUI\createPersistentCertificateUrl().
267 'START - Fetching all active certificates for user: "%s" and object: "%s"',
273 $sql =
'SELECT ' . self::TABLE_NAME .
'.*, 274 il_cert_user_cert.certificate_id,usr_data.lastname, 275 COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle,
'text') .
') AS title 276 FROM ' . self::TABLE_NAME .
' 277 LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME .
'.obj_id 278 LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME .
'.obj_id 279 LEFT JOIN usr_data ON usr_data.usr_id = ' . self::TABLE_NAME .
'.usr_id 280 WHERE ' . self::TABLE_NAME .
'.usr_id = ' . $this->database->quote($userId,
'integer') .
' 281 AND ' . self::TABLE_NAME .
'.obj_id = ' . $this->database->quote($objectId,
'integer') .
' 282 AND ' . self::TABLE_NAME .
'.currently_active = 1';
284 $query = $this->database->query($sql);
286 while ($row = $this->database->fetchAssoc($query)) {
287 $this->
logger->debug(sprintf(
'Active certificate values: %s', json_encode($row, JSON_THROW_ON_ERROR)));
291 'END -Found active user certificate for user: "%s" and object: "%s"',
300 (
int) $row[
'obj_id'],
301 (
string) $row[
'obj_type'],
310 sprintf(
'There is no active entry for user id: "%s" and object id: "%s"', $userId, $objectId)
createUserCertificate(array $row)
◆ fetchActiveCertificates()
ilUserCertificateRepository::fetchActiveCertificates |
( |
int |
$userId | ) |
|
- Returns
- ilUserCertificatePresentation[]
Definition at line 128 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
130 $this->
logger->debug(sprintf(
'START - Fetching all active certificates for user: "%s"', $userId));
133 SELECT ' . self::TABLE_NAME .
'.*, 134 il_cert_user_cert.certificate_id, 135 COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle,
'text') .
') AS title 136 FROM ' . self::TABLE_NAME .
' 137 LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME .
'.obj_id 138 LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME .
'.obj_id 139 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
' 140 AND currently_active = 1';
142 $query = $this->database->query($sql);
145 while ($row = $this->database->fetchAssoc($query)) {
149 (
int) $row[
'obj_id'],
150 (
string) $row[
'obj_type'],
155 $result[] = $presentation;
158 $this->
logger->debug(sprintf(
'Actual results: "%s"', json_encode($result, JSON_THROW_ON_ERROR)));
161 'END - All active certificates for user: "%s" total: "%s"',
createUserCertificate(array $row)
◆ fetchActiveCertificatesByTypeForPresentation()
ilUserCertificateRepository::fetchActiveCertificatesByTypeForPresentation |
( |
int |
$userId, |
|
|
string |
$type |
|
) |
| |
- Returns
- ilUserCertificatePresentation[]
Definition at line 317 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
321 'START - Fetching all active certificates for user: "%s" and type: "%s"',
327 $sql =
'SELECT ' . self::TABLE_NAME .
'.*, 328 il_cert_user_cert.certificate_id,COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle,
'text') .
') AS title 329 FROM ' . self::TABLE_NAME .
' 330 LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME .
'.obj_id 331 LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME .
'.obj_id 332 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
' 333 AND obj_type = ' . $this->database->quote($type,
'text') .
' 334 AND currently_active = 1';
336 $query = $this->database->query($sql);
339 while ($row = $this->database->fetchAssoc($query)) {
343 (
int) $row[
'obj_id'],
344 (
string) $row[
'obj_type'],
349 $result[] = $presentation;
354 'END - Fetching all active certificates for user: "%s" and type: "%s"',
createUserCertificate(array $row)
◆ fetchActiveCertificatesInIntervalForPresentation()
ilUserCertificateRepository::fetchActiveCertificatesInIntervalForPresentation |
( |
int |
$userId, |
|
|
int |
$startTimestamp, |
|
|
int |
$endTimeStamp |
|
) |
| |
- Returns
- ilUserCertificatePresentation[]
Definition at line 173 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
178 $this->
logger->debug(sprintf(
'START - Fetching all active certificates for user: "%s"', $userId));
181 SELECT ' . self::TABLE_NAME .
'.*, 182 il_cert_user_cert.certificate_id, 183 COALESCE(object_data.title, object_data_del.title, ' . $this->database->quote($this->defaultTitle,
'text') .
') AS title 184 FROM ' . self::TABLE_NAME .
' 185 LEFT JOIN object_data ON object_data.obj_id = ' . self::TABLE_NAME .
'.obj_id 186 LEFT JOIN object_data_del ON object_data_del.obj_id = ' . self::TABLE_NAME .
'.obj_id 187 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
' 188 AND currently_active = 1 189 AND acquired_timestamp >= ' . $this->database->quote($startTimestamp,
'integer') .
' 190 AND acquired_timestamp <= ' . $this->database->quote($endTimeStamp,
'integer');
192 $query = $this->database->query($sql);
195 while ($row = $this->database->fetchAssoc($query)) {
199 (
int) $row[
'obj_id'],
200 (
string) $row[
'obj_type'],
205 $result[] = $presentation;
208 $this->
logger->debug(sprintf(
'Actual results: "%s"', json_encode($result, JSON_THROW_ON_ERROR)));
211 'END - All active certificates for user: "%s" total: "%s"',
createUserCertificate(array $row)
◆ fetchCertificate()
ilUserCertificateRepository::fetchCertificate |
( |
int |
$id | ) |
|
- Exceptions
-
Definition at line 366 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
368 $this->
logger->debug(sprintf(
'START - Fetch certificate by id: "%s"',
$id));
370 $sql =
'SELECT * FROM ' . self::TABLE_NAME .
' WHERE id = ' . $this->database->quote(
$id,
'integer');
372 $query = $this->database->query($sql);
374 while ($row = $this->database->fetchAssoc($query)) {
375 $this->
logger->debug(sprintf(
'Fetched certificate: "%s"', json_encode($row, JSON_THROW_ON_ERROR)));
377 $this->
logger->debug(sprintf(
'END - Fetch certificate by id: "%s"',
$id));
382 throw new ilException(
'No certificate found for user certificate id: ' .
$id);
createUserCertificate(array $row)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
◆ fetchCertificatesForOverview()
ilUserCertificateRepository::fetchCertificatesForOverview |
( |
string |
$user_language, |
|
|
array |
$filter, |
|
|
?Range |
$range = null , |
|
|
string |
$order_field = 'issue_date' , |
|
|
string |
$order_direction = 'ASC' |
|
) |
| |
Definition at line 658 of file class.ilUserCertificateRepository.php.
References ILIAS\UI\Implementation\Component\Table\$range, createUserCertificate(), getIssueDateSqlFilter(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), null, overviewTableColumnToDbColumn(), and ilDBConstants\T_TEXT.
668 foreach ($filter as $key => $value) {
669 if ($value ===
null) {
675 if ($key ===
'issue_date') {
678 $sql_filters[] = $sql_filter;
689 $result = $this->database->query(
692 WHEN (trans.title IS NOT NULL AND LENGTH(trans.title) > 0) THEN trans.title 693 WHEN (object_data.title IS NOT NULL AND LENGTH(object_data.title) > 0) THEN object_data.title 694 WHEN (object_data_del.title IS NOT NULL AND LENGTH(object_data_del.title) > 0) THEN object_data_del.title 698 .
'usr_data.login AS owner FROM il_cert_user_cert AS cert ' 699 .
'LEFT JOIN object_data ON object_data.obj_id = cert.obj_id ' 700 .
'INNER JOIN usr_data ON usr_data.usr_id = cert.usr_id ' 701 .
'LEFT JOIN object_data_del ON object_data_del.obj_id = cert.obj_id ' 702 .
'LEFT JOIN object_translation trans ON trans.obj_id = object_data.obj_id AND trans.lang_code = ' . $this->database->quote($user_language,
'text')
703 . ($sql_filters !== [] ?
" WHERE " . implode(
" AND ", $sql_filters) :
"")
704 .
' ORDER BY ' . $order_field .
' ' . $order_direction
708 while ($row = $this->database->fetchAssoc($result)) {
711 return $certificates;
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
overviewTableColumnToDbColumn(string $table_column)
createUserCertificate(array $row)
getIssueDateSqlFilter(string $column_name, array $duration)
◆ fetchCertificatesForOverviewCount()
ilUserCertificateRepository::fetchCertificatesForOverviewCount |
( |
array |
$filter, |
|
|
?Range |
$range = null |
|
) |
| |
Definition at line 754 of file class.ilUserCertificateRepository.php.
References ILIAS\UI\Implementation\Component\Table\$range, getIssueDateSqlFilter(), ILIAS\Data\Range\getLength(), ILIAS\Data\Range\getStart(), null, and ilDBConstants\T_TEXT.
757 foreach ($filter as $key => $value) {
758 if ($value ===
null) {
765 $column_name =
'acquired_timestamp';
768 $column_name =
'object_data.title';
771 $column_name =
'usr_data.login';
774 $column_name =
'cert.obj_id';
778 if ($key ===
'issue_date') {
781 $sql_filters[] = $sql_filter;
792 $result = $this->database->query(
793 'SELECT COUNT(id) as count FROM il_cert_user_cert AS cert ' 794 .
'LEFT JOIN object_data ON object_data.obj_id = cert.obj_id ' 795 .
'INNER JOIN usr_data ON usr_data.usr_id = cert.usr_id' 796 . ($sql_filters !== [] ?
' AND ' . implode(
' AND ', $sql_filters) :
'')
799 return (
int) $this->database->fetchAssoc($result)[
'count'];
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
getIssueDateSqlFilter(string $column_name, array $duration)
◆ fetchCertificatesOfObject()
ilUserCertificateRepository::fetchCertificatesOfObject |
( |
int |
$objId, |
|
|
int |
$userId |
|
) |
| |
|
private |
- Returns
- ilUserCertificate[]
Definition at line 464 of file class.ilUserCertificateRepository.php.
References createUserCertificate(), and ILIAS\Repository\logger().
Referenced by fetchLatestVersion().
468 'START - fetching all certificates of object(user id: "%s", object id: "%s")',
474 $sql =
'SELECT * FROM ' . self::TABLE_NAME .
' 475 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
' 476 AND obj_id = ' . $this->database->quote(
$objId,
'integer');
478 $query = $this->database->query($sql);
481 while ($row = $this->database->fetchAssoc($query)) {
484 'Certificate found: "%s")',
485 json_encode($row, JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT)
489 $this->
logger->debug(sprintf(
'Certificate: "%s"', json_encode($row, JSON_THROW_ON_ERROR)));
496 'END - fetching all certificates of object(user id: "%s", object id: "%s")',
createUserCertificate(array $row)
◆ fetchLatestVersion()
ilUserCertificateRepository::fetchLatestVersion |
( |
int |
$objId, |
|
|
int |
$userId |
|
) |
| |
|
private |
◆ fetchObjectIdsWithCertificateForUser()
ilUserCertificateRepository::fetchObjectIdsWithCertificateForUser |
( |
int |
$userId, |
|
|
array |
$objectIds |
|
) |
| |
- Parameters
-
- Returns
- int[]
Definition at line 389 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\int(), and ILIAS\Repository\logger().
393 'START - Fetch certificate for user("%s") and ids: "%s"',
395 json_encode($objectIds, JSON_THROW_ON_ERROR)
399 if ([] === $objectIds) {
403 $inStatementObjectIds = $this->database->in(
410 $sql =
'SELECT obj_id FROM ' . self::TABLE_NAME .
' 411 WHERE usr_id = ' . $this->database->quote($userId,
'integer') .
412 ' AND ' . $inStatementObjectIds .
413 ' AND currently_active = ' . $this->database->quote(1,
'integer');
415 $query = $this->database->query($sql);
419 while ($row = $this->database->fetchAssoc($query)) {
420 $this->
logger->debug(sprintf(
'Fetched certificate: "%s"', json_encode($row, JSON_THROW_ON_ERROR)));
421 $result[] = (
int) $row[
'obj_id'];
◆ fetchUserIdsWithCertificateForObject()
ilUserCertificateRepository::fetchUserIdsWithCertificateForObject |
( |
int |
$objectId | ) |
|
- Returns
- int[]
Definition at line 430 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\int(), and ILIAS\Repository\logger().
432 $this->
logger->debug(sprintf(
'START - Fetch certificate for object("%s")"', $objectId));
434 $sql =
'SELECT usr_id FROM ' . self::TABLE_NAME .
' 435 WHERE obj_id = ' . $this->database->quote($objectId,
'integer') .
' 436 AND currently_active = ' . $this->database->quote(1,
'integer');
438 $query = $this->database->query($sql);
442 while ($row = $this->database->fetchAssoc($query)) {
443 $this->
logger->debug(sprintf(
'Fetched certificate: "%s"', json_encode($row, JSON_THROW_ON_ERROR)));
444 $result[] = (
int) $row[
'usr_id'];
◆ getIssueDateSqlFilter()
ilUserCertificateRepository::getIssueDateSqlFilter |
( |
string |
$column_name, |
|
|
array |
$duration |
|
) |
| |
|
private |
◆ isResourceUsed()
ilUserCertificateRepository::isResourceUsed |
( |
string |
$relative_image_identification | ) |
|
Definition at line 563 of file class.ilUserCertificateRepository.php.
References ILIAS\Repository\logger().
567 'START - Checking if any certificate template uses background image path "%s"',
568 $relative_image_identification
572 $result = $this->database->queryF(
573 'SELECT EXISTS(SELECT 1 FROM ' . self::TABLE_NAME .
' WHERE 574 (background_image_ident = %s OR tile_image_ident = %s) 575 AND currently_active = 1) AS does_exist',
577 [$relative_image_identification, $relative_image_identification]
580 $exists = (bool) ($this->database->fetchAssoc($result)[
'does_exist'] ??
false);
584 'END - Image path "%s" is ' . $exists ?
'in use' :
'unused',
585 $relative_image_identification
◆ overviewTableColumnToDbColumn()
ilUserCertificateRepository::overviewTableColumnToDbColumn |
( |
string |
$table_column | ) |
|
|
private |
Definition at line 636 of file class.ilUserCertificateRepository.php.
References null.
Referenced by fetchCertificatesForOverview().
638 $result = match ($table_column) {
639 'certificate_id' => $table_column,
640 'issue_date' =>
'acquired_timestamp',
641 'object' =>
'object_data.title',
642 'owner' =>
'usr_data.login',
643 'obj_id' =>
'cert.obj_id',
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
◆ requestIdentity()
ilUserCertificateRepository::requestIdentity |
( |
| ) |
|
◆ save()
- Exceptions
-
Definition at line 72 of file class.ilUserCertificateRepository.php.
References $id, $objId, $version, deactivatePreviousCertificates(), fetchLatestVersion(), ilUserCertificate\getAcquiredTimestamp(), ilUserCertificate\getBackgroundImageIdentification(), ilUserCertificate\getBackgroundImagePath(), ilUserCertificate\getCertificateContent(), ilUserCertificate\getCertificateId(), ilUserCertificate\getIliasVersion(), ilUserCertificate\getObjId(), ilUserCertificate\getObjType(), ilUserCertificate\getPatternCertificateId(), ilUserCertificate\getTemplateValues(), ilUserCertificate\getTileImageIdentification(), ilUserCertificate\getTileImagePath(), ilUserCertificate\getUserId(), ilUserCertificate\getUserName(), ilUserCertificate\getValidUntil(), ILIAS\Repository\int(), ilUserCertificate\isCurrentlyActive(), ILIAS\Repository\logger(), and ilUserCertificate\withId().
74 $this->
logger->debug(
'START - saving of user certificate');
79 $id = $this->database->nextId(self::TABLE_NAME);
87 'id' => [
'integer',
$id],
89 'obj_id' => [
'integer',
$objId],
90 'obj_type' => [
'text', $userCertificate->
getObjType()],
91 'usr_id' => [
'integer', $userId],
92 'user_name' => [
'text', $userCertificate->
getUserName()],
96 'valid_until' => [
'integer', $userCertificate->
getValidUntil()],
102 'certificate_id' => [
'text', $userCertificate->
getCertificateId()->asString()]
106 $this->database->tableColumnExists(
'il_cert_user_cert',
'background_image_path') &&
107 $this->database->tableColumnExists(
'il_cert_user_cert',
'tile_image_path')
110 $columns[
'tile_image_path'] = [
'text', $userCertificate->
getTileImagePath()];
115 'END - Save certificate with following values: %s',
116 json_encode($columns, JSON_THROW_ON_ERROR | JSON_PRETTY_PRINT)
120 $this->database->insert(self::TABLE_NAME, $columns);
getPatternCertificateId()
getBackgroundImageIdentification()
deactivatePreviousCertificates(int $objId, int $userId)
$id
plugin.php for ilComponentBuildPluginInfoObjectiveTest::testAddPlugins
fetchLatestVersion(int $objId, int $userId)
getTileImageIdentification()
◆ $database
◆ $defaultTitle
readonly string ilUserCertificateRepository::$defaultTitle |
|
private |
◆ $logger
readonly ilLogger ilUserCertificateRepository::$logger |
|
private |
◆ $uuid_factory
readonly Factory ilUserCertificateRepository::$uuid_factory |
|
private |
◆ TABLE_NAME
const ilUserCertificateRepository::TABLE_NAME = 'il_cert_user_cert' |
The documentation for this class was generated from the following file: