◆ __construct()
ilSetupConfigStoredObjective::__construct |
( |
\ilSetupConfig |
$config | ) |
|
◆ achieve()
ilSetupConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 38 of file class.ilSetupConfigStoredObjective.php.
References $ini.
40 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
42 $ini->setVariable(
"server",
"absolute_path", dirname(__DIR__, 2));
46 $this->config->getServerTimeZone()->getName()
49 $ini->setVariable(
"clients",
"default", $this->config->getClientId());
52 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
◆ getHash()
ilSetupConfigStoredObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilSetupConfigStoredObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilSetupConfigStoredObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
◆ isApplicable()
ilSetupConfigStoredObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 61 of file class.ilSetupConfigStoredObjective.php.
References $ini.
63 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
66 $ini->readVariable(
"server",
"absolute_path") !== dirname(__DIR__, 2) ||
67 $ini->readVariable(
"server",
"timezone") !== $this->config->getServerTimeZone()->getName() ||
68 $ini->readVariable(
"clients",
"default") !== $this->config->getClientId()
◆ isNotable()
ilSetupConfigStoredObjective::isNotable |
( |
| ) |
|
The documentation for this class was generated from the following file: