ILIAS  release_8 Revision v8.24
class.ilCertificateScormTemplateDeleteAction.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22{
25
27 {
28 $this->deleteAction = $deleteAction;
29
30 if (null === $setting) {
31 $setting = new ilSetting('scorm');
32 }
33 $this->setting = $setting;
34 }
35
36 public function delete(int $templateId, int $objectId): void
37 {
38 $this->deleteAction->delete($templateId, $objectId);
39
40 $this->setting->delete('certificate_' . $objectId);
41 }
42}
__construct(ilCertificateTemplateDeleteAction $deleteAction, ?ilSetting $setting=null)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
delete(string $a_keyword)