ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ 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
}
ilBadgeDBUpdateSteps
Definition:
class.ilBadgeDBUpdateSteps.php:21
ILIAS\Setup\Objective
An objective is a desired state of the system that is supposed to be created by the setup...
Definition:
Objective.php:30
ilDatabaseUpdateStepsExecutedObjective
ilDatabaseUpdateStepsMetricsCollectedObjective
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilBadgeSetupAgent
Definition:
class.ilBadgeSetupAgent.php:23
ILIAS\UI\Storage
Storage is simple key/value store without further schema definition.
Definition:
Storage.php:29
ilBadgeSetupAgent\getMigrations
getMigrations()
Definition:
class.ilBadgeSetupAgent.php:35
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
ilBadgeSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilBadgeSetupAgent.php:25
ilBadgesFilesMigration
Definition:
class.ilBadgesFilesMigration.php:26
ILIAS\Setup
Definition:
Setup.php:25
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilBadgeTemplatesFilesMigration
Definition:
class.ilBadgeTemplatesFilesMigration.php:26
ilBadgeSetupAgent\getStatusObjective
getStatusObjective(?Setup\Metrics\Storage $storage)
Definition:
class.ilBadgeSetupAgent.php:30
components
ILIAS
Badge
classes
Setup
class.ilBadgeSetupAgent.php
Generated on Sun Aug 31 2025 23:02:18 for ILIAS by
1.8.13 (using
Doxyfile
)