19declare(strict_types=1);
23 protected \ilLogger
$log;
29 public function init(): void
32 $this->log =
$DIC[
'ilLog'];
44 $class_name = $this->certificate_type_class_map->getPlaceHolderClassNameByType(
'prg');
45 $template = $this->certificate_template_repository->fetchCurrentlyActiveCertificate($obj_id);
56 $this->log->warning($exception->getMessage());
83 $this->certificate_cron->init();
84 $this->certificate_cron->processEntry(0, $entry, []);
Base class for ILIAS Exception handling.
deleteUserCertificatesForObject(int $userId, int $obj_id)
ilCertificateTypeClassMap $certificate_type_class_map
updateCertificateForPrg(int $obj_id, int $usr_id)
ilUserCertificateRepository $user_certificate_repository
processEntry(string $class_name, int $obj_id, int $usr_id, \ilCertificateTemplate $template)
ilCertificateCron $certificate_cron
trait ilPRGCertificateHelper
removeCertificateForUser(int $node_id, int $usr_id,)
ilCertificateTemplateRepository $certificate_template_repository