[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

/install/convert/ -> convertor.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: 1614 lines (47 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

convertor:: (12 methods):
  __construct()
  convert_data()
  sync_forums()
  save_convert_progress()
  finish_conversion()
  final_jump()
  jump()
  build_insert_query()
  process_row()
  meta_refresh()
  error()
  db_error()


Class: convertor  - X-Ref

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.
__construct(template $template, helper $controller_helper)   X-Ref
Constructor

param: template    $template
param: helper    $controller_helper

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


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


save_convert_progress($convertor_tag, $step)   X-Ref
Save the convertor status


finish_conversion()   X-Ref
Finish conversion, the last function to be called.


final_jump($final_jump)   X-Ref
This function marks the steps after syncing


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


build_insert_query(&$schema, &$sql_data, $current_table)   X-Ref
No description

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


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


error($error, $line, $file, $skip = false)   X-Ref
Error handler function

This function needs to be kept for BC

param: $error
param: $line
param: $file
param: bool|false $skip

db_error($error, $sql, $line, $file, $skip = false)   X-Ref
Database error handler function

This function needs to be kept for BC

param: $error
param: $sql
param: $line
param: $file
param: bool|false $skip



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1