19 declare(strict_types=1);
35 private readonly
IRSS $irss,
37 private readonly ilCertificateTemplateStakeholder $stakeholder
44 !$this->user_certificate_repo->isResourceUsed($background_image->
serialize()) &&
45 !$this->certificate_template_repo->isResourceUsed($background_image->
serialize()) &&
47 $this->global_certificate_settings->getBackgroundImageIdentification() ===
null ||
49 $this->global_certificate_settings
51 $this->global_certificate_settings
56 $this->irss->manage()->remove($background_image, $this->stakeholder);
__construct(private readonly ilUserCertificateRepository $user_certificate_repo, private readonly ilCertificateTemplateDatabaseRepository $certificate_template_repo, private readonly IRSS $irss, private readonly ilObjCertificateSettings $global_certificate_settings, private readonly ilCertificateTemplateStakeholder $stakeholder)
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Class ResourceIdentification.
handleResourceChange(ResourceIdentification $background_image)