PHP 클래스 phpbb\install\module\obtain_data\task\obtain_database_data

상속: extends phpbb\install\task_base, implements phpbb\install\task_interface
파일 보기 프로젝트 열기: phpbb/phpbb

보호된 프로퍼티들

프로퍼티 타입 설명
$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