PHP Класс phpbb\convert\convertor

WARNING: This file did not meant to be present in a production environment, so moving this file to a location which is accessible after board installation might lead to security issues.
Показать файл Открыть проект

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

Свойство Тип Описание
$controller_helper phpbb\install\controller\helper
$filesystem phpbb\filesystem\filesystem
$template phpbb\template\template

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

Метод Описание
__construct ( phpbb\template\template $template, phpbb\install\controller\helper $controller_helper ) Constructor
build_insert_query ( &$schema, &$sql_data, $current_table )
convert_data ( $converter ) The function which does the actual work (or dispatches it to the relevant places)
db_error ( $error, $sql, $line, $file, boolean | false $skip = false ) Database error handler function
error ( $error, $line, $file, boolean | false $skip = false ) Error handler function
final_jump ( $final_jump ) This function marks the steps after syncing
finish_conversion ( ) Finish conversion, the last function to be called.
jump ( $converter, $jump, $last_statement ) This function marks the steps before syncing (jump=1)
meta_refresh ( $url ) Own meta refresh function to be able to change the global time used
process_row ( &$schema, &$sql_data, &$insert_values ) Function for processing the currently handled row
save_convert_progress ( $convertor_tag, $step ) Save the convertor status
sync_forums ( $converter, $sync_batch ) Sync function being executed at the middle, some functions need to be executed after a successful sync.

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

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

Constructor
public __construct ( phpbb\template\template $template, phpbb\install\controller\helper $controller_helper )
$template phpbb\template\template
$controller_helper phpbb\install\controller\helper

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

public build_insert_query ( &$schema, &$sql_data, $current_table )

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

The function which does the actual work (or dispatches it to the relevant places)
public convert_data ( $converter )

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

This function needs to be kept for BC
public db_error ( $error, $sql, $line, $file, boolean | false $skip = false )
$error
$sql
$line
$file
$skip boolean | false

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

This function needs to be kept for BC
public error ( $error, $line, $file, boolean | false $skip = false )
$error
$line
$file
$skip boolean | false

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

This function marks the steps after syncing
public final_jump ( $final_jump )

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

Finish conversion, the last function to be called.
public finish_conversion ( )

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

This function marks the steps before syncing (jump=1)
public jump ( $converter, $jump, $last_statement )

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

Own meta refresh function to be able to change the global time used
public meta_refresh ( $url )

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

Function for processing the currently handled row
public process_row ( &$schema, &$sql_data, &$insert_values )

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

Save the convertor status
public save_convert_progress ( $convertor_tag, $step )

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

Sync function being executed at the middle, some functions need to be executed after a successful sync.
public sync_forums ( $converter, $sync_batch )

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

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

protected helper,phpbb\install\controller $controller_helper
Результат phpbb\install\controller\helper

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

protected filesystem,phpbb\filesystem $filesystem
Результат phpbb\filesystem\filesystem

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

protected template,phpbb\template $template
Результат phpbb\template\template