ILIAS
release_8 Revision v8.23
|
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 . 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 $create_database, $password, $port, ilDBConstants\getAvailableCollations(), ilDBConstants\getInstallableTypes(), and ILIAS\Repository\user().
Referenced by toMockIniFile().
ilDatabaseSetupConfig::getCollation | ( | ) |
ilDatabaseSetupConfig::getCreateDatabase | ( | ) |
Definition at line 101 of file class.ilDatabaseSetupConfig.php.
References $create_database.
ilDatabaseSetupConfig::getDatabase | ( | ) |
ilDatabaseSetupConfig::getHost | ( | ) |
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 | ( | ) |
ilDatabaseSetupConfig::getType | ( | ) |
ilDatabaseSetupConfig::getUser | ( | ) |
ilDatabaseSetupConfig::toMockIniFile | ( | ) |
Adapter to current database-handling via a mock of .
reads a single variable from a group public
string | group name |
string | value |
Definition at line 129 of file class.ilDatabaseSetupConfig.php.
References $config, and __construct().
|
protected |
Definition at line 39 of file class.ilDatabaseSetupConfig.php.
Referenced by 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 getDatabase().
|
protected |
Definition at line 31 of file class.ilDatabaseSetupConfig.php.
Referenced by 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 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 getType().
|
protected |
Definition at line 41 of file class.ilDatabaseSetupConfig.php.
Referenced by getUser().
const ilDatabaseSetupConfig::DEFAULT_COLLATION = "utf8_general_ci" |
Definition at line 26 of file class.ilDatabaseSetupConfig.php.
const ilDatabaseSetupConfig::DEFAULT_PATH_TO_DB_DUMP = "./setup/sql/ilias3.sql" |
Definition at line 27 of file class.ilDatabaseSetupConfig.php.