|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Read the client id of the installation from the data directory. More...
Inheritance diagram for ILIAS\Setup\Objective\ClientIdReadObjective:
Collaboration diagram for ILIAS\Setup\Objective\ClientIdReadObjective:Public Member Functions | |
| getHash () | |
| Uses hashed Path. More... | |
| getLabel () | |
| @inheritdocs More... | |
| isNotable () | |
| Defaults to 'true'. More... | |
| getPreconditions (Setup\Environment $environment) | |
| @inheritdocs More... | |
| achieve (Setup\Environment $environment) | |
| @inheritdocs More... | |
| isApplicable (Setup\Environment $environment) | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Setup\Objective | |
| getHash () | |
| Get a hash for this objective. More... | |
| getLabel () | |
| Get a label that describes this objective. More... | |
| isNotable () | |
| Get to know if this is an interesting objective for a human. More... | |
| getPreconditions (Environment $environment) | |
| Objectives might depend on other objectives. More... | |
| achieve (Environment $environment) | |
| Objectives can be achieved. More... | |
| isApplicable (Environment $environment) | |
| Get to know whether the objective is applicable. More... | |
Protected Member Functions | |
| getDataDirectoryPath () | |
| scanDirectory (string $path) | |
| isDirectory (string $path) | |
Read the client id of the installation from the data directory.
ATTENTION: This might be placed better in some service, rather then being located here in the Setup-library. Currently I don't know where, though. Maybe we also might be able to remove this altogether if the multi-client code has been removed.
Definition at line 17 of file ClientIdReadObjective.php.
| ILIAS\Setup\Objective\ClientIdReadObjective::achieve | ( | Setup\Environment | $environment | ) |
@inheritdocs
Definition at line 58 of file ClientIdReadObjective.php.
References $c, $client_id, ILIAS\Setup\Objective\ClientIdReadObjective\getDataDirectoryPath(), ILIAS_VERSION_NUMERIC, ILIAS\Setup\Objective\ClientIdReadObjective\isDirectory(), ILIAS\Setup\Environment\RESOURCE_CLIENT_ID, and ILIAS\Setup\Objective\ClientIdReadObjective\scanDirectory().
Here is the call graph for this function:
|
protected |
Definition at line 93 of file ClientIdReadObjective.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve().
Here is the caller graph for this function:| ILIAS\Setup\Objective\ClientIdReadObjective::getHash | ( | ) |
Uses hashed Path.
@inheritdocs
Implements ILIAS\Setup\Objective.
Definition at line 24 of file ClientIdReadObjective.php.
| ILIAS\Setup\Objective\ClientIdReadObjective::getLabel | ( | ) |
@inheritdocs
Implements ILIAS\Setup\Objective.
Definition at line 32 of file ClientIdReadObjective.php.
| ILIAS\Setup\Objective\ClientIdReadObjective::getPreconditions | ( | Setup\Environment | $environment | ) |
@inheritdocs
Definition at line 50 of file ClientIdReadObjective.php.
| ILIAS\Setup\Objective\ClientIdReadObjective::isApplicable | ( | Setup\Environment | $environment | ) |
@inheritDoc
Definition at line 111 of file ClientIdReadObjective.php.
References ILIAS\Setup\Environment\RESOURCE_CLIENT_ID.
|
protected |
Definition at line 103 of file ClientIdReadObjective.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve().
Here is the caller graph for this function:| ILIAS\Setup\Objective\ClientIdReadObjective::isNotable | ( | ) |
Defaults to 'true'.
@inheritdocs
Implements ILIAS\Setup\Objective.
Definition at line 42 of file ClientIdReadObjective.php.
|
protected |
Definition at line 98 of file ClientIdReadObjective.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve().
Here is the caller graph for this function: