◆ __construct()
◆ achieve()
ilFileSystemDirectoriesCreatedObjective::achieve |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 58 of file class.ilFileSystemDirectoriesCreatedObjective.php.
References $ini.
60 $ini = $environment->getResource(Setup\Environment::RESOURCE_ILIAS_INI);
62 $ini->setVariable(
"clients",
"datadir", $this->config->getDataDir());
65 throw new Setup\UnachievableException(
"Could not write ilias.ini.php");
◆ getHash()
ilFileSystemDirectoriesCreatedObjective::getHash |
( |
| ) |
|
◆ getLabel()
ilFileSystemDirectoriesCreatedObjective::getLabel |
( |
| ) |
|
◆ getPreconditions()
ilFileSystemDirectoriesCreatedObjective::getPreconditions |
( |
Setup\Environment |
$environment | ) |
|
Definition at line 36 of file class.ilFileSystemDirectoriesCreatedObjective.php.
References $client_id.
38 $client_id = $environment->getResource(Setup\Environment::RESOURCE_CLIENT_ID);
39 $data_dir = $this->config->getDataDir();
40 $web_dir = dirname(__DIR__, 4) .
"/data";
42 $client_data_dir = $data_dir .
'/' .
$client_id;
47 new Setup\Objective\DirectoryCreatedObjective($data_dir),
48 new Setup\Objective\DirectoryCreatedObjective($web_dir),
49 new Setup\Objective\DirectoryCreatedObjective(
52 new Setup\Objective\DirectoryCreatedObjective(
◆ isApplicable()
ilFileSystemDirectoriesCreatedObjective::isApplicable |
( |
Setup\Environment |
$environment | ) |
|
◆ isNotable()
ilFileSystemDirectoriesCreatedObjective::isNotable |
( |
| ) |
|
◆ $config
ilFileSystemDirectoriesCreatedObjective::$config |
|
protected |
The documentation for this class was generated from the following file: