ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ 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
ilPollSetupAgent\getMigrations
getMigrations(?Config $config=null)
Definition:
class.ilPollSetupAgent.php:38
ILIAS\Setup\DBUpdateSteps10
Definition:
class.DBUpdateSteps10.php:24
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ObjectiveCollection
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
NullAgent
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 3 2025 23:03:36 for ILIAS by
1.8.13 (using
Doxyfile
)