PHP Класс phpbb\install\module\obtain_data\task\obtain_database_data

Наследование: extends phpbb\install\task_base, implements phpbb\install\task_interface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$database_helper phpbb\install\helper\database
$install_config phpbb\install\helper\config
$io_handler phpbb\install\helper\iohandler\iohandler_interface

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
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

Описание методов

__construct() публичный Метод

Constructor
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

check_database_data() защищенный Метод

Check database data
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
Результат boolean True if database data is correct, false otherwise

get_step_count() публичный статический Метод

public static get_step_count ( )

get_task_lang_name() публичный Метод

public get_task_lang_name ( )

process_form() защищенный Метод

Process form data
protected process_form ( )

request_form_data() защищенный Метод

Request data from the user
protected request_form_data ( boolean $use_request_data = false )
$use_request_data boolean Whether to use submited data

run() публичный Метод

public run ( )

Описание свойств

$database_helper защищенное свойство

protected database,phpbb\install\helper $database_helper
Результат phpbb\install\helper\database

$install_config защищенное свойство

protected config,phpbb\install\helper $install_config
Результат phpbb\install\helper\config

$io_handler защищенное свойство

protected iohandler_interface,phpbb\install\helper\iohandler $io_handler
Результат phpbb\install\helper\iohandler\iohandler_interface