ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
◀ ilDoc Overview
PHPExtensionLoadedCondition.php
Go to the documentation of this file.
1
<?php
2
3
/* Copyright (c) 2019 Richard Klees <richard.klees@concepts-and-training.de> Extended GPL, see docs/LICENSE */
4
5
namespace
ILIAS\Setup
;
6
7
class
PHPExtensionLoadedCondition
extends
ExternalConditionObjective
8
{
9
public
function
__construct
($which)
10
{
11
return
parent::__construct
(
12
"PHP extension \"$which\" loaded"
,
13
function
(
Environment
$env) use ($which) :
bool
{
14
return
in_array($which, get_loaded_extensions());
15
},
16
"ILIAS 6 requires the PHP extension $which."
17
);
18
}
19
}
ILIAS\Setup\ExternalConditionObjective
A condition that can't be met by ILIAS itself needs to be met by some external means.
Definition:
ExternalConditionObjective.php:16
ILIAS\Setup\PHPExtensionLoadedCondition
Definition:
PHPExtensionLoadedCondition.php:7
ILIAS\Setup
Definition:
AchievementTracker.php:5
ILIAS\Setup\Environment
An environment holds resources to be used in the setup process.
Definition:
Environment.php:11
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:30
ILIAS\Setup\PHPExtensionLoadedCondition\__construct
__construct($which)
Definition:
PHPExtensionLoadedCondition.php:9
src
Setup
PHPExtensionLoadedCondition.php
Generated on Mon Sep 1 2025 20:01:42 for ILIAS by
1.8.13 (using
Doxyfile
)