ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct ( $type, string $host, string $database, string $user, Password $password=null, bool $create_database=true, string $collation=null, string $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" |
Protected Attributes | |
$type | |
$host | |
$port | |
$database | |
$create_database | |
$collation | |
$user | |
$password | |
$path_to_db_dump | |
Definition at line 8 of file class.ilDatabaseSetupConfig.php.
ilDatabaseSetupConfig::__construct | ( | $type, | |
string | $host, | ||
string | $database, | ||
string | $user, | ||
Password | $password = null , |
||
bool | $create_database = true , |
||
string | $collation = null , |
||
string | $port = null , |
||
string | $path_to_db_dump = null |
||
) |
Definition at line 58 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 user().
Referenced by toMockIniFile().
ilDatabaseSetupConfig::getCollation | ( | ) |
Definition at line 115 of file class.ilDatabaseSetupConfig.php.
References $collation.
ilDatabaseSetupConfig::getCreateDatabase | ( | ) |
Definition at line 110 of file class.ilDatabaseSetupConfig.php.
References $create_database.
ilDatabaseSetupConfig::getDatabase | ( | ) |
Definition at line 105 of file class.ilDatabaseSetupConfig.php.
References $database.
ilDatabaseSetupConfig::getHost | ( | ) |
Definition at line 95 of file class.ilDatabaseSetupConfig.php.
References $host.
ilDatabaseSetupConfig::getPassword | ( | ) |
Definition at line 125 of file class.ilDatabaseSetupConfig.php.
References $password.
ilDatabaseSetupConfig::getPathToDBDump | ( | ) |
Definition at line 130 of file class.ilDatabaseSetupConfig.php.
References $path_to_db_dump.
ilDatabaseSetupConfig::getPort | ( | ) |
Definition at line 100 of file class.ilDatabaseSetupConfig.php.
References $port.
ilDatabaseSetupConfig::getType | ( | ) |
Definition at line 90 of file class.ilDatabaseSetupConfig.php.
References $type.
ilDatabaseSetupConfig::getUser | ( | ) |
Definition at line 120 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 138 of file class.ilDatabaseSetupConfig.php.
References $config, __construct(), addGroup(), error(), getError(), getGroupCount(), groupExists(), readGroup(), readGroups(), readVariable(), removeGroup(), setVariable(), show(), and variableExists().
|
protected |
Definition at line 41 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getCollation().
|
protected |
Definition at line 36 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getCreateDatabase().
|
protected |
Definition at line 31 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getDatabase().
|
protected |
Definition at line 21 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getHost().
|
protected |
Definition at line 51 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPassword().
|
protected |
Definition at line 56 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPathToDBDump().
|
protected |
Definition at line 26 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getPort().
|
protected |
Definition at line 16 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getType().
|
protected |
Definition at line 46 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct(), and getUser().
const ilDatabaseSetupConfig::DEFAULT_COLLATION = "utf8_general_ci" |
Definition at line 10 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct().
const ilDatabaseSetupConfig::DEFAULT_PATH_TO_DB_DUMP = "./setup/sql/ilias3.sql" |
Definition at line 11 of file class.ilDatabaseSetupConfig.php.
Referenced by __construct().