ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
◀ ilDoc Overview
class.ilFileServicesSetupAgent.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
use
ILIAS\Setup\Agent
;
22
use
ILIAS\Setup\Objective
;
23
use
ILIAS\Refinery\Transformation
;
24
use
ILIAS\Setup\Metrics
;
25
use
ILIAS\Setup\Config
;
26
use
ILIAS\Setup\Migration
;
27
use
ILIAS\Setup\ObjectiveCollection
;
28
use
ILIAS\Setup\Condition\PHPExtensionLoadedCondition
;
29
30
class
ilFileServicesSetupAgent
extends
Agent\NullAgent implements
Agent
31
{
32
public
function
getInstallObjective
(
Config
$config = null):
Objective
33
{
34
return
new
ObjectiveCollection
(
35
"Check for several PHP-Extensions needed by FileServices."
,
36
true
,
37
new
PHPExtensionLoadedCondition
(
"gd"
),
38
new
PHPExtensionLoadedCondition
(
"imagick"
),
39
new
PHPExtensionLoadedCondition
(
"zip"
),
40
new
ilDatabaseUpdateStepsExecutedObjective
(
41
new
ilFileServicesDatabaseObjective
()
42
)
43
);
44
}
45
46
public
function
getUpdateObjective
(
Config
$config = null):
Objective
47
{
48
return
$this->
getInstallObjective
($config);
49
}
50
}
ILIAS\Setup\ObjectiveCollection
A objective collection is a objective that is achieved once all subobjectives are achieved...
Definition:
ObjectiveCollection.php:26
ilFileServicesSetupAgent\getInstallObjective
getInstallObjective(Config $config=null)
Get the goals the agent wants to achieve on setup.
Definition:
class.ilFileServicesSetupAgent.php:32
ILIAS\Setup\Condition\PHPExtensionLoadedCondition
Definition:
PHPExtensionLoadedCondition.php:25
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
Migration
ilDatabaseUpdateStepsExecutedObjective
Config
ilFileServicesSetupAgent\getUpdateObjective
getUpdateObjective(Config $config=null)
Get the goal the agent wants to achieve on update.
Definition:
class.ilFileServicesSetupAgent.php:46
Transformation
ILIAS\Setup\Agent
A agent is some component that performs part of the setup process.
Definition:
Agent.php:29
ILIAS\Setup\Metrics
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
ArrayStorage.php:21
ObjectiveCollection
PHPExtensionLoadedCondition
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
ilFileServicesSetupAgent
Definition:
class.ilFileServicesSetupAgent.php:30
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilFileServicesDatabaseObjective
Definition:
class.ilFileServicesDatabaseObjective.php:23
ILIAS\Setup\Agent
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition:
HasNoNamedObjective.php:21
Services
FileServices
classes
Setup
class.ilFileServicesSetupAgent.php
Generated on Wed Sep 10 2025 14:11:29 for ILIAS by
1.8.13 (using
Doxyfile
)