19 declare(strict_types=1);
39 return hash(
"sha256", self::class);
47 return $this->il_setup_language->getInstalledLanguages() ?: [
'en'];
55 return $this->il_setup_language->getInstalledLocalLanguages();
96 $this->il_setup_language->setDbHandler($db);
97 $this->il_setup_language->installLanguages(
getInstallLocalLanguages()
Return installed local languages.
language handling for setup
getPreconditions(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...
achieve(Setup\Environment $environment)
__construct(\ilSetupLanguage $il_setup_language)
An environment holds resources to be used in the setup process.
isApplicable(Setup\Environment $environment)
__construct(Container $dic, ilPlugin $plugin)
getInstallLanguages()
Return installed languages.
ilSetupLanguage $il_setup_language