◆ __construct()
ilSetupConfigStoredObjective::__construct |
( |
Setup\Config |
$config | ) |
|
◆ achieve()
ilSetupConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 53 of file class.ilSetupConfigStoredObjective.php.
References $ini.
55 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
57 $ini->setVariable(
"server",
"absolute_path", dirname(__DIR__, 2));
61 $this->config->getServerTimeZone()->getName()
64 $ini->setVariable(
"clients",
"default", (
string) $this->config->getClientId());
67 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 76 of file class.ilSetupConfigStoredObjective.php.
References $ini.
78 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
81 $ini->readVariable(
"server",
"absolute_path") !== dirname(__DIR__, 2) ||
82 $ini->readVariable(
"server",
"timezone") !== $this->config->getServerTimeZone()->getName() ||
83 $ini->readVariable(
"clients",
"default") !== (string) $this->config->getClientId()
◆ isNotable()
ilSetupConfigStoredObjective::isNotable |
( |
| ) |
|
The documentation for this class was generated from the following file: