ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ ilDoc Overview
ilCourseObjectiveSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Setup\Config
;
23
use
ILIAS\Setup\Metrics
;
24
use
ILIAS\Setup\Objective
;
25
use
ILIAS\Setup\Agent\NullAgent
;
26
use
ILIAS\Refinery\Transformation
;
27
use
ILIAS\Setup\ObjectiveCollection
;
28
29
class
ilCourseObjectiveSetupAgent
extends
NullAgent
30
{
31
use
Setup\Agent\HasNoNamedObjective
;
32
33
public
function
getUpdateObjective
(?
Config
$config =
null
):
Objective
34
{
35
return
new
ObjectiveCollection
(
36
'Database is updated for component/ILIAS/Course'
,
37
false
,
38
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilCourseObjectiveDBUpdateSteps
()),
39
);
40
}
41
42
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
43
{
44
return
new
ObjectiveCollection
(
45
'Database is updated for component/ILIAS/Course'
,
46
true
,
47
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilCourseObjectiveDBUpdateSteps
()),
48
);
49
}
50
51
public
function
getArrayToConfigTransformation
():
Transformation
52
{
53
throw
new
LogicException
(
'Agent has no config.'
);
54
}
55
56
public
function
getInstallObjective
(?
Config
$config =
null
):
Objective
57
{
58
return
new
Objective\NullObjective();
59
}
60
61
public
function
getBuildObjective
():
Objective
62
{
63
return
new
Objective\NullObjective();
64
}
65
}
ilCourseObjectiveDBUpdateSteps
Definition:
ilCourseObjectiveDBUpdateSteps.php:21
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
LogicException
ilCourseObjectiveSetupAgent
Definition:
ilCourseObjectiveSetupAgent.php:29
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:34
ilCourseObjectiveSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
ilCourseObjectiveSetupAgent.php:51
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
ilDatabaseUpdateStepsExecutedObjective
Config
Transformation
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ilCourseObjectiveSetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
Definition:
ilCourseObjectiveSetupAgent.php:33
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:21
ilCourseObjectiveSetupAgent\getBuildObjective
getBuildObjective()
Definition:
ilCourseObjectiveSetupAgent.php:61
ObjectiveCollection
ilCourseObjectiveSetupAgent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
Definition:
ilCourseObjectiveSetupAgent.php:42
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.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
HasNoNamedObjective
ilCourseObjectiveSetupAgent\getInstallObjective
getInstallObjective(?Config $config=null)
Definition:
ilCourseObjectiveSetupAgent.php:56
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
components
ILIAS
Course
classes
Objectives
Setup
ilCourseObjectiveSetupAgent.php
Generated on Wed Sep 3 2025 23:02:47 for ILIAS by
1.8.13 (using
Doxyfile
)