ILIAS
trunk Revision v11.0_alpha-2662-g519ff7d528f
◀ 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\NullAgent
;
22
use
ILIAS\Setup\Agent
;
23
use
ILIAS\Setup\Objective
;
24
use
ILIAS\Setup\Config
;
25
use
ILIAS\Setup\ObjectiveCollection
;
26
use
ILIAS\Setup\Condition\PHPExtensionLoadedCondition
;
27
28
class
ilFileServicesSetupAgent
extends
NullAgent
implements
Agent
29
{
30
#[\Override]
31
public
function
getInstallObjective
(?
Config
$config =
null
):
Objective
32
{
33
return
new
ObjectiveCollection
(
34
"Check for several PHP-Extensions needed by FileServices."
,
35
true
,
36
new
PHPExtensionLoadedCondition
(
"gd"
),
37
new
PHPExtensionLoadedCondition
(
"imagick"
),
38
new
PHPExtensionLoadedCondition
(
"zip"
),
39
new
ilDatabaseUpdateStepsExecutedObjective
(
40
new
ilFileServicesDatabaseObjective
()
41
)
42
);
43
}
44
45
#[\Override]
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
ILIAS\Setup\Condition\PHPExtensionLoadedCondition
Definition:
PHPExtensionLoadedCondition.php:25
ILIAS\GlobalScreen_\UI\Footer\Setup\Agent\NullAgent
An agent that just doesn't do a thing.
Definition:
NullAgent.php:34
ilFileServicesSetupAgent\getUpdateObjective
getUpdateObjective(?Config $config=null)
Definition:
class.ilFileServicesSetupAgent.php:46
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
ILIAS\Setup\Agent
Definition:
class.Agent.php:26
ilDatabaseUpdateStepsExecutedObjective
Config
ilFileServicesSetupAgent\getInstallObjective
getInstallObjective(?Config $config=null)
Definition:
class.ilFileServicesSetupAgent.php:31
null
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
Definition:
shib_logout.php:144
ObjectiveCollection
PHPExtensionLoadedCondition
ILIAS\Setup\Objective
Definition:
AdminConfirmedObjective.php:21
NullAgent
ilFileServicesSetupAgent
Definition:
class.ilFileServicesSetupAgent.php:28
ILIAS\Setup\Config
A configuration for the setup.
Definition:
Config.php:26
ilFileServicesDatabaseObjective
Definition:
class.ilFileServicesDatabaseObjective.php:24
ILIAS\Setup\Agent
Definition:
HasNoNamedObjective.php:21
components
ILIAS
FileServices
classes
Setup
class.ilFileServicesSetupAgent.php
Generated on Wed Sep 3 2025 23:03:03 for ILIAS by
1.8.13 (using
Doxyfile
)