ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.Agent.php
Go to the documentation of this file.
1
<?php
2
19
namespace
ILIAS\COPage\Setup
;
20
21
use
ILIAS\Setup
;
22
use
ILIAS\Setup\Objective
;
23
use
ILIAS\Setup\Metrics
;
24
28
class
Agent
extends
Setup\Agent\NullAgent
29
{
30
public
function
getUpdateObjective
(?
Setup
\
Config
$config =
null
):
Setup
\
Objective
31
{
32
return
new
Setup\ObjectiveCollection
(
33
'COPage Update'
,
34
true
,
35
new
\
ilDatabaseUpdateStepsExecutedObjective
(
new
ilCOPageDBUpdateSteps
()),
36
new
\
ilDatabaseUpdateStepsExecutedObjective
(
new
ilCOPageHotfix9DBUpdateSteps
())
37
);
38
39
}
40
41
public
function
getStatusObjective
(Metrics\
Storage
$storage):
Objective
42
{
43
return
new \ilDatabaseUpdateStepsMetricsCollectedObjective($storage,
new
ilCOPageDBUpdateSteps
());
44
}
45
}
ILIAS\COPage\Setup\Agent
Definition:
class.Agent.php:29
ILIAS\COPage\Setup\Agent\getStatusObjective
getStatusObjective(Metrics\Storage $storage)
@inheritdocs
Definition:
class.Agent.php:41
ILIAS\COPage\Setup\Agent\getUpdateObjective
getUpdateObjective(?Setup\Config $config=null)
Definition:
class.Agent.php:30
ILIAS\COPage\Setup\ilCOPageDBUpdateSteps
Definition:
class.ilCOPageDBUpdateSteps.php:25
ILIAS\COPage\Setup\ilCOPageHotfix9DBUpdateSteps
Definition:
class.ilCOPageHotfix9DBUpdateSteps.php:22
ILIAS\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:35
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved.
Definition:
ObjectiveCollection.php:27
ILIAS\Setup
Definition:
Setup.php:26
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:27
ILIAS\Setup\Metrics\Storage
Definition:
Storage.php:24
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\COPage\Setup
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
class.Agent.php:19
ILIAS\Setup\Metrics
Definition:
ArrayStorage.php:21
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
components
ILIAS
COPage
classes
Setup
class.Agent.php
Generated on Sat Oct 18 2025 23:02:28 for ILIAS by
1.9.4 (using
Doxyfile
)