Stores configuration for the Utilities service (paths to various tools) in the according ini-fields.
More...
Stores configuration for the Utilities service (paths to various tools) in the according ini-fields.
Definition at line 11 of file class.ilUtilitiesConfigStoredObjective.php.
◆ __construct()
◆ achieve()
ilUtilitiesConfigStoredObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 46 of file class.ilUtilitiesConfigStoredObjective.php.
References $ini.
48 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
50 $ini->setVariable(
"tools",
"convert", $this->config->getPathToConvert());
51 $ini->setVariable(
"tools",
"zip", $this->config->getPathToZip());
52 $ini->setVariable(
"tools",
"unzip", $this->config->getPathToUnzip());
55 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
◆ getHash()
ilUtilitiesConfigStoredObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilUtilitiesConfigStoredObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilUtilitiesConfigStoredObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
◆ isApplicable()
ilUtilitiesConfigStoredObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 64 of file class.ilUtilitiesConfigStoredObjective.php.
References $ini.
66 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
69 $ini->readVariable(
"tools",
"convert") !== $this->config->getPathToConvert() ||
70 $ini->readVariable(
"tools",
"zip") !== $this->config->getPathToZip() ||
71 $ini->readVariable(
"tools",
"unzip") !== $this->config->getPathToUnzip()
◆ isNotable()
ilUtilitiesConfigStoredObjective::isNotable |
( |
| ) |
|
◆ $config
ilUtilitiesConfigStoredObjective::$config |
|
protected |
The documentation for this class was generated from the following file: