class convertor
Convertor backend class
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.
Methods
__construct(template $template, helper $controller_helper)
Constructor |
||
convert_data($converter)
The function which does the actual work (or dispatches it to the relevant places) |
||
sync_forums($converter, $sync_batch)
Sync function being executed at the middle, some functions need to be executed after a successful sync. |
||
save_convert_progress($convertor_tag, $step)
Save the convertor status |
||
finish_conversion()
Finish conversion, the last function to be called. |
||
final_jump($final_jump)
This function marks the steps after syncing |
||
jump($converter, $jump, $last_statement)
This function marks the steps before syncing (jump=1) |
||
build_insert_query($schema, $sql_data, $current_table)
|
||
process_row($schema, $sql_data, $insert_values)
Function for processing the currently handled row |
||
meta_refresh($url)
Own meta refresh function to be able to change the global time used |
||
error($error $error, $line $line, $file $file, bool|false $skip = false)
Error handler function |
||
db_error($error $error, $sql $sql, $line $line, $file $file, bool|false $skip = false)
Database error handler function |
Details
at line 48
public
__construct(template $template, helper $controller_helper)
Constructor
at line 62
public
convert_data($converter)
The function which does the actual work (or dispatches it to the relevant places)
at line 919
public
sync_forums($converter, $sync_batch)
Sync function being executed at the middle, some functions need to be executed after a successful sync.
at line 1000
public
save_convert_progress($convertor_tag, $step)
Save the convertor status
at line 1029
public
finish_conversion()
Finish conversion, the last function to be called.
at line 1063
public
final_jump($final_jump)
This function marks the steps after syncing
at line 1102
public
jump($converter, $jump, $last_statement)
This function marks the steps before syncing (jump=1)
at line 1255
public
build_insert_query($schema, $sql_data, $current_table)
at line 1410
public
process_row($schema, $sql_data, $insert_values)
Function for processing the currently handled row
at line 1564
public
meta_refresh($url)
Own meta refresh function to be able to change the global time used
at line 1588
public
error($error $error, $line $line, $file $file, bool|false $skip = false)
Error handler function
This function needs to be kept for BC
at line 1607
public
db_error($error $error, $sql $sql, $line $line, $file $file, bool|false $skip = false)
Database error handler function
This function needs to be kept for BC