ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
Read the client id of the installation from the data directory. More...
Public Member Functions | |
getHash () | |
Uses hashed Path. More... | |
getLabel () | |
isNotable () | |
Defaults to 'true'. More... | |
getPreconditions (Setup\Environment $environment) | |
achieve (Setup\Environment $environment) | |
isApplicable (Setup\Environment $environment) | |
![]() | |
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 32 of file ClientIdReadObjective.php.
ILIAS\Setup\Objective\ClientIdReadObjective::achieve | ( | Setup\Environment | $environment | ) |
Definition at line 73 of file ClientIdReadObjective.php.
References $c, ILIAS\$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().
|
protected |
Definition at line 108 of file ClientIdReadObjective.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve().
ILIAS\Setup\Objective\ClientIdReadObjective::getHash | ( | ) |
Uses hashed Path.
Implements ILIAS\Setup\Objective.
Definition at line 39 of file ClientIdReadObjective.php.
ILIAS\Setup\Objective\ClientIdReadObjective::getLabel | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 47 of file ClientIdReadObjective.php.
ILIAS\Setup\Objective\ClientIdReadObjective::getPreconditions | ( | Setup\Environment | $environment | ) |
Definition at line 65 of file ClientIdReadObjective.php.
ILIAS\Setup\Objective\ClientIdReadObjective::isApplicable | ( | Setup\Environment | $environment | ) |
Definition at line 130 of file ClientIdReadObjective.php.
References null, and ILIAS\Setup\Environment\RESOURCE_CLIENT_ID.
|
protected |
Definition at line 122 of file ClientIdReadObjective.php.
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve(), and ILIAS\Setup\Objective\ClientIdReadObjective\scanDirectory().
ILIAS\Setup\Objective\ClientIdReadObjective::isNotable | ( | ) |
Defaults to 'true'.
Implements ILIAS\Setup\Objective.
Definition at line 57 of file ClientIdReadObjective.php.
|
protected |
Definition at line 113 of file ClientIdReadObjective.php.
References ILIAS\Setup\Objective\ClientIdReadObjective\isDirectory().
Referenced by ILIAS\Setup\Objective\ClientIdReadObjective\achieve().