1<?
php declare(strict_types=1);
 
   26        $this->base_dir = StorageHandlerFactory::BASE_DIRECTORY;
 
   31        $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
 
   32        $client_id = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_ID);
 
   34        $storage_directory_full_path = 
$ini->readVariable(
'clients',
 
   36        return $storage_directory_full_path;
 
   42        if ($environment->hasConfigFor(
"filesystem")) {
 
   43            $config = $environment->getConfigFor(
"filesystem");
 
   45                new \ilFileSystemDirectoriesCreatedObjective(
$config)
 
   51            new \ilIniFilesLoadedObjective()
 
   58        $this->path = $base_path;
 
   59        $environment = parent::achieve($environment);
 
   61        foreach ($this->storage_handler_ids as $storage_handler_id) {
 
   62            $this->path = $base_path . 
'/' . $storage_handler_id;
 
   63            $environment = parent::achieve($environment);
 
   74        $this->path = $base_path;
 
   75        if (parent::isApplicable($environment)) {
 
   79        foreach ($this->storage_handler_ids as $storage_handler_id) {
 
   80            $this->path = $base_path . 
'/' . $storage_handler_id;
 
   81            if (parent::isApplicable($environment)) {
 
An exception for terminatinating execution or to throw for unit testing.
Class StorageHandlerFactory.
Class ilStorageContainersExistingObjective.
getPreconditions(Setup\Environment $environment)
@inheritdocs
achieve(Setup\Environment $environment)
@inheritdocs
buildStorageBasePath(Setup\Environment $environment)
__construct(array $storage_handler_ids=null)
isApplicable(Setup\Environment $environment)
@inheritDoc
An environment holds resources to be used in the setup process.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...