34 return implode(
", ", $this->config->getInstallLanguages());
39 return implode(
", ", $this->config->getInstallLocalLanguages());
54 $db_config = $environment->getConfigFor(
"database");
62 $db = $environment->
getResource(Setup\Environment::RESOURCE_DATABASE);
68 $this->il_setup_language->setDbHandler($db);
69 $this->il_setup_language->installLanguages(
70 $this->config->getInstallLanguages(),
71 $this->config->getInstallLocalLanguages()
__construct(\ilLanguageSetupConfig $config, \ilSetupLanguage $il_setup_language)
getInstallLanguagesAsString()
language handling for setup
getInstallLocalLanguagesAsString()
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
getPreconditions(Setup\Environment $environment)
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
An environment holds resources to be used in the setup process.
__construct(Container $dic, ilPlugin $plugin)
achieve(Setup\Environment $environment)