|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilDatabaseSetupConfig:
Collaboration diagram for ilDatabaseSetupConfig:Public Member Functions | |
| __construct (string $type, string $host, string $database, string $user, Password $password=null, bool $create_database=true, string $collation=null, int $port=null, string $path_to_db_dump=null) | |
| getType () | |
| getHost () | |
| getPort () | |
| getDatabase () | |
| getCreateDatabase () | |
| getCollation () | |
| getUser () | |
| getPassword () | |
| getPathToDBDump () | |
| toMockIniFile () | |
| Adapter to current database-handling via a mock of \ilIniFile. More... | |
Data Fields | |
| const | DEFAULT_COLLATION = "utf8_general_ci" |
| const | DEFAULT_PATH_TO_DB_DUMP = "./setup/sql/ilias3.sql" |
| ilDatabaseSetupConfig | $config |
Protected Attributes | |
| string | $type |
| string | $host |
| int | $port = null |
| string | $database |
| bool | $create_database |
| string | $collation |
| string | $user |
| ILIAS Data Password | $password = null |
| string | $path_to_db_dump |
Definition at line 24 of file class.ilDatabaseSetupConfig.php.
| ilDatabaseSetupConfig::__construct | ( | string | $type, |
| string | $host, | ||
| string | $database, | ||
| string | $user, | ||
| Password | $password = null, |
||
| bool | $create_database = true, |
||
| string | $collation = null, |
||
| int | $port = null, |
||
| string | $path_to_db_dump = null |
||
| ) |
Definition at line 49 of file class.ilDatabaseSetupConfig.php.
References $collation, $create_database, $database, $host, $password, $path_to_db_dump, $port, $type, $user, DEFAULT_COLLATION, DEFAULT_PATH_TO_DB_DUMP, ilDBConstants\getAvailableCollations(), ilDBConstants\getInstallableTypes(), and ILIAS\Repository\user().
Referenced by toMockIniFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilDatabaseSetupConfig::getCollation | ( | ) |
Definition at line 106 of file class.ilDatabaseSetupConfig.php.
References $collation.
| ilDatabaseSetupConfig::getCreateDatabase | ( | ) |
Definition at line 101 of file class.ilDatabaseSetupConfig.php.
References $create_database.
| ilDatabaseSetupConfig::getDatabase | ( | ) |
Definition at line 96 of file class.ilDatabaseSetupConfig.php.
References $database.
| ilDatabaseSetupConfig::getHost | ( | ) |
Definition at line 86 of file class.ilDatabaseSetupConfig.php.
References $host.
| ilDatabaseSetupConfig::getPassword | ( | ) |
Definition at line 116 of file class.ilDatabaseSetupConfig.php.
References $password.
| ilDatabaseSetupConfig::getPathToDBDump | ( | ) |
Definition at line 121 of file class.ilDatabaseSetupConfig.php.
References $path_to_db_dump.
| ilDatabaseSetupConfig::getPort | ( | ) |
Definition at line 91 of file class.ilDatabaseSetupConfig.php.
References $port.
| ilDatabaseSetupConfig::getType | ( | ) |
Definition at line 81 of file class.ilDatabaseSetupConfig.php.
References $type.
| ilDatabaseSetupConfig::getUser | ( | ) |
Definition at line 111 of file class.ilDatabaseSetupConfig.php.
References $user.
| ilDatabaseSetupConfig::toMockIniFile | ( | ) |
Adapter to current database-handling via a mock of \ilIniFile.
reads a single variable from a group @access public
| string | group name |
| string | value |
Definition at line 129 of file class.ilDatabaseSetupConfig.php.
References $config, __construct(), addGroup(), error(), getError(), getGroupCount(), groupExists(), readGroup(), readGroups(), readVariable(), removeGroup(), setVariable(), show(), and variableExists().
Here is the call graph for this function:
|
protected |
Definition at line 39 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getCollation().
| ilDatabaseSetupConfig ilDatabaseSetupConfig::$config |
Definition at line 47 of file class.ilDatabaseSetupConfig.php.
Referenced by toMockIniFile().
|
protected |
Definition at line 37 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getCreateDatabase().
|
protected |
Definition at line 35 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getDatabase().
|
protected |
Definition at line 31 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getHost().
Definition at line 43 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPassword().
|
protected |
Definition at line 45 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPathToDBDump().
|
protected |
Definition at line 33 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPort().
|
protected |
Definition at line 29 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getType().
|
protected |
Definition at line 41 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getUser().
| const ilDatabaseSetupConfig::DEFAULT_COLLATION = "utf8_general_ci" |
Definition at line 26 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct().
| const ilDatabaseSetupConfig::DEFAULT_PATH_TO_DB_DUMP = "./setup/sql/ilias3.sql" |
Definition at line 27 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct().