ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ilCourseSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup\Agent\NullAgent
;
22
use
ILIAS\Setup\Objective
;
23
use
ILIAS\Setup\Metrics
;
24
use
ILIAS\Setup\Config
;
25
use
ILIAS\Setup
;
26
use
ILIAS\Refinery\Transformation
;
27
28
class
ilCourseSetupAgent
extends
NullAgent
29
{
30
use
Setup\Agent\HasNoNamedObjective
;
31
32
public
function
getUpdateObjective
(?
ILIAS
\
Setup
\
Config
$config =
null
):
Objective
33
{
34
return
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilCourseDBUpdateSteps
());
35
}
36
37
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
38
{
39
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilCourseDBUpdateSteps
());
40
}
41
42
public
function
getArrayToConfigTransformation
():
Transformation
43
{
44
throw
new \LogicException(
"Agent has no config."
);
45
}
46
47
public
function
getInstallObjective
(?
Config
$config =
null
):
Objective
48
{
49
return
new
Setup\Objective\NullObjective();
50
}
51
52
public
function
getBuildObjective
():
Objective
53
{
54
return
new
Setup\Objective\NullObjective();
55
}
56
}
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:34
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
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:23
ILIAS
Interface Observer Contains several chained tasks and infos about them.
Definition:
AccessControl.php:21
ilDatabaseUpdateStepsExecutedObjective
Config
ilDatabaseUpdateStepsMetricsCollectedObjective
Transformation
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:21
ilCourseSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
ilCourseSetupAgent.php:42
ilCourseSetupAgent
Definition:
ilCourseSetupAgent.php:28
ilCourseSetupAgent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
Definition:
ilCourseSetupAgent.php:37
ilCourseSetupAgent\getInstallObjective
getInstallObjective(?Config $config=null)
Definition:
ilCourseSetupAgent.php:47
ilCourseSetupAgent\getUpdateObjective
getUpdateObjective(?ILIAS\Setup\Config $config=null)
Definition:
ilCourseSetupAgent.php:32
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
ilCourseDBUpdateSteps
Definition:
ilCourseDBUpdateSteps.php:21
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
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:34
NullAgent
ILIAS\Setup
Definition:
Setup.php:25
HasNoNamedObjective
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilCourseSetupAgent\getBuildObjective
getBuildObjective()
Definition:
ilCourseSetupAgent.php:52
components
ILIAS
Course
Setup
ilCourseSetupAgent.php
Generated on Wed Sep 3 2025 23:02:47 for ILIAS by
1.8.13 (using
Doxyfile
)