19 declare(strict_types=1);
31 protected string $base_dir = StorageHandlerFactory::BASE_DIRECTORY;
50 return $ini->readVariable(
66 new \ilFileSystemDirectoriesCreatedObjective($config)
72 new \ilIniFilesLoadedObjective()
80 $this->path = $base_path;
81 $environment = parent::achieve($environment);
83 foreach ($this->storage_handler_ids as $storage_handler_id) {
84 $this->path = $base_path .
'/' . $storage_handler_id;
85 $environment = parent::achieve($environment);
97 $this->path = $base_path;
98 if (parent::isApplicable($environment)) {
102 foreach ($this->storage_handler_ids as $storage_handler_id) {
103 $this->path = $base_path .
'/' . $storage_handler_id;
104 if (parent::isApplicable($environment)) {
achieve(Environment $environment)
Objectives can be achieved.
buildStorageBasePath(Environment $environment)
__construct(?array $storage_handler_ids=null)
Class ilStorageContainersExistingObjective.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
array $storage_handler_ids
getResource(string $id)
Consumers of this method should check if the result is what they expect, e.g.
isApplicable(Environment $environment)
An environment holds resources to be used in the setup process.
__construct(Container $dic, ilPlugin $plugin)
hasConfigFor(string $component)
getConfigFor(string $component)
getPreconditions(Environment $environment)