11 return hash(
"sha256", self::class);
16 return "Fill ini with settings for Services/Language";
33 $client_ini = $environment->
getResource(Setup\Environment::RESOURCE_CLIENT_INI);
35 $client_ini->setVariable(
"language",
"default", $this->config->getDefaultLanguage());
37 if (!$client_ini->write()) {
38 throw new Setup\UnachievableException(
"Could not write client.ini.php");
49 $client_ini = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_INI);
52 $client_ini->readVariable(
"language",
"default") !== $this->config->getDefaultLanguage()
isApplicable(Setup\Environment $environment)
achieve(Setup\Environment $environment)
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
An environment holds resources to be used in the setup process.
getPreconditions(Setup\Environment $environment)