ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilBadgeSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
23
class
ilBadgeSetupAgent
extends
Setup\Agent\NullAgent
24
{
25
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
26
{
27
return
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilBadgeDBUpdateSteps
());
28
}
29
30
public
function
getStatusObjective
(?
Setup
\Metrics\
Storage
$storage):
Setup
\
Objective
31
{
32
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilBadgeDBUpdateSteps
());
33
}
34
35
public
function
getMigrations
(): array
36
{
37
return
[
38
new
ilBadgesFilesMigration
(),
39
new
ilBadgeTemplatesFilesMigration
()
40
];
41
}
42
}
ILIAS\Setup
Definition:
Setup.php:26
Setup\Agent\NullAgent
ilBadgeDBUpdateSteps
Definition:
class.ilBadgeDBUpdateSteps.php:22
ilBadgeSetupAgent
Definition:
class.ilBadgeSetupAgent.php:24
ilBadgeSetupAgent\getStatusObjective
getStatusObjective(?Setup\Metrics\Storage $storage)
Definition:
class.ilBadgeSetupAgent.php:30
ilBadgeSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilBadgeSetupAgent.php:25
ilBadgeSetupAgent\getMigrations
getMigrations()
Definition:
class.ilBadgeSetupAgent.php:35
ilBadgeTemplatesFilesMigration
Definition:
class.ilBadgeTemplatesFilesMigration.php:27
ilBadgesFilesMigration
Definition:
class.ilBadgesFilesMigration.php:27
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ilDatabaseUpdateStepsMetricsCollectedObjective
Definition:
class.ilDatabaseUpdateStepsMetricsCollectedObjective.php:27
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup.
Definition:
Objective.php:31
ILIAS\UI\Storage
Storage is simple key/value store without further schema definition.
Definition:
Storage.php:30
ILIAS\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.ilMysqlMyIsamToInnoDbMigration.php:19
components
ILIAS
Badge
classes
Setup
class.ilBadgeSetupAgent.php
Generated on Sat Oct 18 2025 23:02:37 for ILIAS by
1.9.4 (using
Doxyfile
)