ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilCertificateScormTemplateDeleteAction.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2018 ILIAS open source, Extended GPL, see docs/LICENSE */
3
7
class
ilCertificateScormTemplateDeleteAction
implements
ilCertificateDeleteAction
8
{
12
private
$deleteAction
;
13
17
private
$setting
;
18
23
public
function
__construct
(
ilCertificateTemplateDeleteAction
$deleteAction
,
ilSetting
$setting
= null)
24
{
25
$this->deleteAction =
$deleteAction
;
26
27
if
(null ===
$setting
) {
28
$setting
=
new
ilSetting
(
'scorm'
);
29
}
30
$this->setting =
$setting
;
31
}
32
39
public
function
delete
($templateId, $objectId)
40
{
41
$this->deleteAction->delete($templateId, $objectId);
42
43
$this->setting->delete(
'certificate_'
. $objectId);
44
}
45
}
ilCertificateScormTemplateDeleteAction\__construct
__construct(ilCertificateTemplateDeleteAction $deleteAction, ilSetting $setting=null)
Definition:
class.ilCertificateScormTemplateDeleteAction.php:23
ilCertificateTemplateDeleteAction
Definition:
class.ilCertificateTemplateDeleteAction.php:7
ilCertificateScormTemplateDeleteAction\$setting
$setting
Definition:
class.ilCertificateScormTemplateDeleteAction.php:17
ilCertificateScormTemplateDeleteAction\$deleteAction
$deleteAction
Definition:
class.ilCertificateScormTemplateDeleteAction.php:12
ilCertificateScormTemplateDeleteAction
Definition:
class.ilCertificateScormTemplateDeleteAction.php:7
ilCertificateDeleteAction
Definition:
ilCertificateDeleteAction.php:7
php
ilSetting
Services
Certificate
classes
Template
Action
Delete
class.ilCertificateScormTemplateDeleteAction.php
Generated on Thu Jan 16 2025 19:02:18 for ILIAS by
1.8.13 (using
Doxyfile
)