ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilContentPageSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Refinery
;
23
28
class
ilContentPageSetupAgent
implements
Setup\Agent
29
{
30
use Setup\Agent\HasNoNamedObjective;
31
32
public
function
hasConfig
(): bool
33
{
34
return
false
;
35
}
36
37
public
function
getArrayToConfigTransformation
():
Refinery
\
Transformation
38
{
39
throw
new
LogicException(
'Agent has no config.'
);
40
}
41
42
public
function
getInstallObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
43
{
44
return
new
Setup\Objective\NullObjective
();
45
}
46
47
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
48
{
49
return
new
ilDatabaseUpdateStepsExecutedObjective
(
new
ilContentPageUpdateSteps
());
50
}
51
52
public
function
getBuildObjective
():
Setup
\
Objective
53
{
54
return
new
Setup\Objective\NullObjective
();
55
}
56
57
public
function
getStatusObjective
(
Setup
\Metrics\
Storage
$storage):
Setup
\
Objective
58
{
59
return
new
ilDatabaseUpdateStepsMetricsCollectedObjective
($storage,
new
ilContentPageUpdateSteps
());
60
}
61
62
public
function
getMigrations
(): array
63
{
64
return
[];
65
}
66
}
ILIAS\Refinery
Definition:
Refinery.php:24
ILIAS\Setup\Objective\NullObjective
A non-objective, nothing to do to achieve it...
Definition:
NullObjective.php:29
ILIAS\Setup
Definition:
Setup.php:26
ilContentPageSetupAgent
Class ilContentPageSetupAgent.
Definition:
class.ilContentPageSetupAgent.php:29
ilContentPageSetupAgent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.ilContentPageSetupAgent.php:47
ilContentPageSetupAgent\hasConfig
hasConfig()
Definition:
class.ilContentPageSetupAgent.php:32
ilContentPageSetupAgent\getStatusObjective
getStatusObjective(Setup\Metrics\Storage $storage)
Definition:
class.ilContentPageSetupAgent.php:57
ilContentPageSetupAgent\getMigrations
getMigrations()
Definition:
class.ilContentPageSetupAgent.php:62
ilContentPageSetupAgent\getBuildObjective
getBuildObjective()
Definition:
class.ilContentPageSetupAgent.php:52
ilContentPageSetupAgent\getInstallObjective
getInstallObjective(?Setup\Config $config=null)
Definition:
class.ilContentPageSetupAgent.php:42
ilContentPageSetupAgent\getArrayToConfigTransformation
getArrayToConfigTransformation()
Definition:
class.ilContentPageSetupAgent.php:37
ilContentPageUpdateSteps
Class ilContentPageUpdateSteps.
Definition:
class.ilContentPageUpdateSteps.php:26
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ilDatabaseUpdateStepsMetricsCollectedObjective
Definition:
class.ilDatabaseUpdateStepsMetricsCollectedObjective.php:27
ILIAS\Refinery\Transformation
A transformation is a function from one datatype to another.
Definition:
Transformation.php:35
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:30
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\Refinery
Definition:
ByTrying.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
components
ILIAS
ContentPage
classes
Setup
class.ilContentPageSetupAgent.php
Generated on Sat Oct 18 2025 23:02:50 for ILIAS by
1.9.4 (using
Doxyfile
)