ILIAS
trunk Revision v11.0_alpha-1843-g9e1fad99175
|
Public Member Functions | |
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) | |
isApplicable (Environment $environment) | |
![]() | |
__construct (protected \ilDatabaseSetupConfig $config) | |
![]() | |
achieve (Environment $environment) | |
Objectives can be achieved. More... | |
Data Fields | |
const | MIN_NUMBER_OF_ILIAS_TABLES = 200 |
Protected Member Functions | |
isDatabasePopulated (ilDBInterface $db) | |
Private Member Functions | |
readDumpFile (ilDBInterface $db) | |
queryReader (string $path_to_db_dump) | |
setDefaultEngine (ilDBInterface $db) | |
getDefaultEngine (ilDBInterface $db) | |
Definition at line 27 of file class.ilDatabasePopulatedObjective.php.
|
private |
Definition at line 192 of file class.ilDatabasePopulatedObjective.php.
References Vendor\Package\$d, $r, ilDBInterface\fetchObject(), and ilDBInterface\query().
Referenced by getPreconditions().
ilDatabasePopulatedObjective::getHash | ( | ) |
Get a hash for this objective.
The hash of two objectives must be the same, if they are the same objective, with the same config on the same environment, i.e. if the one is achieved the other is achieved as well because they are the same.
Implements ILIAS\Setup\Objective.
Definition at line 31 of file class.ilDatabasePopulatedObjective.php.
ilDatabasePopulatedObjective::getLabel | ( | ) |
Get a label that describes this objective.
Implements ILIAS\Setup\Objective.
Definition at line 41 of file class.ilDatabasePopulatedObjective.php.
ilDatabasePopulatedObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 54 of file class.ilDatabasePopulatedObjective.php.
References ILIAS\Setup\Objective\achieve(), ILIAS\Setup\Environment\getConfigFor(), getDefaultEngine(), ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Environment\hasConfigFor(), and readDumpFile().
ilDatabasePopulatedObjective::isApplicable | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 103 of file class.ilDatabasePopulatedObjective.php.
References ILIAS\Setup\Environment\getResource(), ILIAS\Setup\Environment\hasConfigFor(), and isDatabasePopulated().
|
protected |
Definition at line 114 of file class.ilDatabasePopulatedObjective.php.
References ilDBInterface\listTables().
Referenced by isApplicable().
ilDatabasePopulatedObjective::isNotable | ( | ) |
Get to know if this is an interesting objective for a human.
Implements ILIAS\Setup\Objective.
Definition at line 46 of file class.ilDatabasePopulatedObjective.php.
|
private |
Definition at line 151 of file class.ilDatabasePopulatedObjective.php.
Referenced by readDumpFile().
|
private |
ilDatabaseException |
Definition at line 129 of file class.ilDatabasePopulatedObjective.php.
References Vendor\Package\$e, ilDBInterface\execute(), ilDBInterface\prepareManip(), and queryReader().
Referenced by getPreconditions().
|
private |
ilDBInterface | null | $db |
Definition at line 180 of file class.ilDatabasePopulatedObjective.php.
References ilDBInterface\getDBType(), ilDBInterface\manipulate(), ilDBConstants\TYPE_GALERA, ilDBConstants\TYPE_INNODB, and ilDBConstants\TYPE_MYSQL.
const ilDatabasePopulatedObjective::MIN_NUMBER_OF_ILIAS_TABLES = 200 |
Definition at line 29 of file class.ilDatabasePopulatedObjective.php.