ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
◀ 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\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
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
DBUpdateSteps10
ilDatabaseUpdateStepsExecutedObjective
Config
ilPollSetupAgent\getUpdateObjective
getUpdateObjective(Config $config=null)
Definition:
class.ilPollSetupAgent.php:29
ILIAS\Setup\DBUpdateSteps10
Definition:
class.DBUpdateSteps10.php:24
ObjectiveCollection
ILIAS\Setup\Objective
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
AdminConfirmedObjective.php:21
ilPollSetupAgent\getMigrations
getMigrations(Config $config=null)
Definition:
class.ilPollSetupAgent.php:38
NullAgent
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilPollSetupAgent
Definition:
class.ilPollSetupAgent.php:27
components
ILIAS
Poll
classes
Setup
class.ilPollSetupAgent.php
Generated on Wed Sep 10 2025 15:16:08 for ILIAS by
1.8.13 (using
Doxyfile
)