Property | Type | Description | |
---|---|---|---|
$database_helper | phpbb\install\helper\database | ||
$install_config | phpbb\install\helper\config | ||
$io_handler | phpbb\install\helper\iohandler\iohandler_interface |
Method | Description | |
---|---|---|
__construct ( phpbb\install\helper\database $database_helper, phpbb\install\helper\config $install_config, phpbb\install\helper\iohandler\iohandler_interface $iohandler ) | Constructor | |
get_step_count ( ) | ||
get_task_lang_name ( ) | ||
run ( ) |
Method | Description | |
---|---|---|
check_database_data ( string $dbms, string $dbhost, integer $dbport, string $dbuser, string $dbpass, string $dbname, string $table_prefix ) : boolean | Check database data | |
process_form ( ) | Process form data | |
request_form_data ( boolean $use_request_data = false ) | Request data from the user |
public __construct ( phpbb\install\helper\database $database_helper, phpbb\install\helper\config $install_config, phpbb\install\helper\iohandler\iohandler_interface $iohandler ) | ||
$database_helper | phpbb\install\helper\database | Installer's database helper |
$install_config | phpbb\install\helper\config | Installer's config helper |
$iohandler | phpbb\install\helper\iohandler\iohandler_interface | Installer's input-output handler |
protected check_database_data ( string $dbms, string $dbhost, integer $dbport, string $dbuser, string $dbpass, string $dbname, string $table_prefix ) : boolean | ||
$dbms | string | Selected database type |
$dbhost | string | Database host address |
$dbport | integer | Database port number |
$dbuser | string | Database username |
$dbpass | string | Database password |
$dbname | string | Database name |
$table_prefix | string | Database table prefix |
return | boolean | True if database data is correct, false otherwise |
protected request_form_data ( boolean $use_request_data = false ) | ||
$use_request_data | boolean | Whether to use submited data |
protected database,phpbb\install\helper $database_helper | ||
return | phpbb\install\helper\database |
protected config,phpbb\install\helper $install_config | ||
return | phpbb\install\helper\config |