ILIAS
trunk Revision v11.0_alpha-1715-g7fc467680fb
|
Class ilStorageContainersExistingObjective. More...
Public Member Functions | |
__construct (?array $storage_handler_ids=null) | |
getPreconditions (Environment $environment) | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
isApplicable (Environment $environment) | |
![]() | |
__construct (string $path, int $permissions=self::DEFAULT_DIRECTORY_PERMISSIONS) | |
getHash () | |
Uses hashed Path. More... | |
getLabel () | |
Defaults to "Build $this->getArtifactPath()". More... | |
isNotable () | |
Defaults to 'true'. More... | |
getPreconditions (Setup\Environment $environment) | |
achieve (Setup\Environment $environment) | |
isApplicable (Setup\Environment $environment) | |
Protected Member Functions | |
buildStorageBasePath (Environment $environment) | |
Protected Attributes | |
string | $base_dir = StorageHandlerFactory::BASE_DIRECTORY |
array | $storage_handler_ids |
![]() | |
string | $path |
int | $permissions |
Additional Inherited Members | |
![]() | |
const | DEFAULT_DIRECTORY_PERMISSIONS = 0755 |
Class ilStorageContainersExistingObjective.
Definition at line 29 of file class.ilStorageContainersExistingObjective.php.
ilStorageContainersExistingObjective::__construct | ( | ?array | $storage_handler_ids = null | ) |
Definition at line 40 of file class.ilStorageContainersExistingObjective.php.
References $storage_handler_ids, and ILIAS\GlobalScreen\Provider\__construct().
ilStorageContainersExistingObjective::achieve | ( | Environment | $environment | ) |
Objectives can be achieved.
They might add resources to the environment when they have been achieved.
This method needs to be idempotent for a given environment. That means: if this is executed a second time, nothing new should happen. Or the other way round: if the environment already looks like desired, the objective should not take any further actions when this is called.
Implements ILIAS\Setup\Objective.
Definition at line 77 of file class.ilStorageContainersExistingObjective.php.
References buildStorageBasePath().
|
protected |
Definition at line 46 of file class.ilStorageContainersExistingObjective.php.
References $base_dir, $client_id, $ini, and ILIAS\Setup\Environment\getResource().
Referenced by achieve(), and isApplicable().
ilStorageContainersExistingObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 60 of file class.ilStorageContainersExistingObjective.php.
References ILIAS\Setup\Environment\getConfigFor(), and ILIAS\Setup\Environment\hasConfigFor().
ilStorageContainersExistingObjective::isApplicable | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 94 of file class.ilStorageContainersExistingObjective.php.
References buildStorageBasePath().
|
protected |
Definition at line 31 of file class.ilStorageContainersExistingObjective.php.
Referenced by buildStorageBasePath().
|
protected |
Definition at line 36 of file class.ilStorageContainersExistingObjective.php.
Referenced by __construct().