[ Index ]

PHP Cross Reference of phpBB-3.3.5-deutsch

title

Body

[close]

/phpbb/install/module/obtain_data/task/ -> obtain_database_data.php (summary)

This file is part of the phpBB Forum Software package.

Copyright: (c) phpBB Limited
License: GNU General Public License, version 2 (GPL-2.0)
File Size: 270 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

obtain_database_data:: (7 methods):
  __construct()
  run()
  process_form()
  request_form_data()
  check_database_data()
  get_step_count()
  get_task_lang_name()


Class: obtain_database_data  - X-Ref

This class requests and validates database information from the user

__construct(\phpbb\install\helper\database $database_helper,\phpbb\install\helper\config $install_config,\phpbb\install\helper\iohandler\iohandler_interface $iohandler)   X-Ref
Constructor

param: \phpbb\install\helper\database                        $database_helper    Installer's database helper
param: \phpbb\install\helper\config                            $install_config        Installer's config helper
param: \phpbb\install\helper\iohandler\iohandler_interface    $iohandler            Installer's input-output handler

run()   X-Ref
{@inheritdoc}


process_form()   X-Ref
Process form data


request_form_data($use_request_data = false)   X-Ref
Request data from the user

param: bool $use_request_data Whether to use submited data

check_database_data($dbms, $dbhost, $dbport, $dbuser, $dbpass, $dbname, $table_prefix)   X-Ref
Check database data

param: string    $dbms            Selected database type
param: string    $dbhost            Database host address
param: int        $dbport            Database port number
param: string    $dbuser            Database username
param: string    $dbpass            Database password
param: string    $dbname            Database name
param: string    $table_prefix    Database table prefix
return: bool    True if database data is correct, false otherwise

get_step_count()   X-Ref
{@inheritdoc}


get_task_lang_name()   X-Ref
{@inheritdoc}




Generated: Mon Oct 4 17:42:11 2021 Cross-referenced by PHPXref 0.7.1