19 declare(strict_types=1);
    32         return hash(
"sha256", self::class);
    37         return "Store information about chatroom server to db";
    57         $common_config = $environment->getConfigFor(
"common");
    58         $filesystem_config = $environment->getConfigFor(
"filesystem");
    65         $GLOBALS[
"DIC"] = 
new DI\Container();
    70         $chatAdministration = current($chatAdministrations);
    73         $settings = $chat_admin->loadGeneralSettings();
    75         $settings[
'address'] = $this->config->getAddress();
    76         $settings[
'port'] = $this->config->getPort();
    77         $settings[
'sub_directory'] = $this->config->getSubDirectory();
    78         $settings[
'protocol'] = $this->config->getProtocol();
    79         $settings[
'cert'] = $this->config->getCert();
    80         $settings[
'key'] = $this->config->getKey();
    81         $settings[
'dhparam'] = $this->config->getDhparam();
    82         $settings[
'log'] = $this->config->getLog();
    83         $settings[
'log_level'] = $this->config->getLogLevel();
    84         $settings[
'error_log'] = $this->config->getErrorLog();
    85         $settings[
'ilias_proxy'] = (
int) $this->config->hasIliasProxy();
    86         $settings[
'ilias_url'] = $this->config->getIliasUrl();
    87         $settings[
'client_proxy'] = (
int) $this->config->hasClientProxy();
    88         $settings[
'client_url'] = $this->config->getClientUrl();
    89         $settings[
'deletion_mode'] = (
int) $this->config->hasDeletionMode();
    90         $settings[
'deletion_unit'] = $this->config->getDeletionUnit();
    91         $settings[
'deletion_value'] = $this->config->getDeletionValue();
    92         $settings[
'deletion_time'] = $this->config->getDeletionTime();
    94         $chat_admin->saveGeneralSettings((
object) $settings);
    96         if (!defined(
"CLIENT_DATA_DIR")) {
    99                 $filesystem_config->getDataDir() . 
"/" . ((string) $common_config->getClientId())
   104         $fileHandler->createServerConfigFile($settings);
   113         return $this->config->getAddress() !== 
'' && $this->config->getPort() > 0;
 
static _getObjectsByType(string $obj_type="", int $owner=null)
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
isApplicable(Setup\Environment $environment)
 
achieve(Setup\Environment $environment)
 
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...
 
An environment holds resources to be used in the setup process. 
 
__construct(protected ilChatroomSetupConfig $config)