ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
class.ilPollSetupAgent.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\Config
;
23
use
ILIAS\Setup\Objective
;
24
use
ILIAS\Setup\ObjectiveCollection
;
25
use
ILIAS\Poll\Setup\DBUpdateSteps10
;
26
27
class
ilPollSetupAgent
extends
NullAgent
28
{
29
public
function
getUpdateObjective
(?
Config
$config =
null
):
Objective
30
{
31
return
new
ObjectiveCollection
(
32
'Poll'
,
33
false
,
34
new
ilDatabaseUpdateStepsExecutedObjective
(
new
DBUpdateSteps10
())
35
);
36
}
37
38
public
function
getMigrations
(?
Config
$config =
null
): array
39
{
40
return
[
41
new \ilPollImagesMigration()
42
];
43
}
44
}
ILIAS\Poll\Setup\DBUpdateSteps10
Definition:
DBUpdateSteps10.php:28
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
ilDatabaseUpdateStepsExecutedObjective
This class attempt to achieve a set of database update steps.
Definition:
class.ilDatabaseUpdateStepsExecutedObjective.php:28
ilPollSetupAgent
Definition:
class.ilPollSetupAgent.php:28
ilPollSetupAgent\getMigrations
getMigrations(?Config $config=null)
Definition:
class.ilPollSetupAgent.php:38
ilPollSetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
@inheritdocs
Definition:
class.ilPollSetupAgent.php:29
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\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
components
ILIAS
Poll
classes
Setup
class.ilPollSetupAgent.php
Generated on Sun Oct 19 2025 23:03:25 for ILIAS by
1.9.4 (using
Doxyfile
)