Class BBP_Converter_Base

Description

Base class to be extended by specific individual importers

  • abstract:
  • since: bbPress (r3813)

Located in /bbp-admin/bbp-converter.php (line 520)


	
			
Direct descendents
Class Description
Invision Implementation of Invision Power Board converter.
vBulletin Implementation of vBulletin converter.
bbPress1 bbPress 1.1 Converter
Example_Converter Implementation of Example converter.
phpBB Implementation of phpBB converter.
Variable Summary
str $charset
array() $field_map
int $max_rows
object This $opdb
boolean $sync_table
object This $wpdb
Method Summary
BBP_Converter_Base __construct ()
void authenticate_pass (string $password,  $hash)
void callback_datetime ( $field)
void callback_html ( $field)
void callback_negative ( $field)
void callback_null ( $field)
void callback_pass (string $username, string $password)
void callback_slug ( $field)
void clean ( $start)
void clean_passwords (int $start)
void convert_forums ([ $start = 1])
void convert_forum_parents ( $start)
void convert_replies ([ $start = 1])
void convert_table (string $to_type, int $start)
void convert_tags ([ $start = 1])
void convert_topics ([ $start = 1])
void convert_users ([ $start = 1])
void info ()
Variables
str $charset (line 565)
  • var: This is the charset for your wp database.
  • access: public
array() $field_map = array() (line 525)
  • var: This is the field mapping array to process.
  • access: protected
int $max_rows (line 540)
  • var: This is the max rows to process at a time.
  • access: public
object This $opdb (line 535)
  • var: is the connection to the other platforms database.
  • access: protected
boolean $sync_table = false (line 570)
  • var: Sync table available.
  • access: public
str $sync_table_name (line 575)
  • var: Sync table name.
  • access: public
object This $wpdb (line 530)
  • var: is the connection to the wordpress datbase.
  • access: protected
Methods
Constructor __construct (line 582)

This is the constructor and it connects to the platform databases.

  • access: public
BBP_Converter_Base __construct ()

Redefined in descendants as:
authenticate_pass (line 1080)

This method implements the authentication for the different forums.

  • abstract:
  • access: protected
void authenticate_pass (string $password,  $hash)
  • string $password: Unencoded password.
  • $hash

Redefined in descendants as:
callback_datetime (line 1253)
  • access: protected
void callback_datetime ( $field)
  • $field
callback_html (line 1239)
  • access: protected
void callback_html ( $field)
  • $field
callback_negative (line 1231)
  • access: protected
void callback_negative ( $field)
  • $field
callback_null (line 1245)
  • access: protected
void callback_null ( $field)
  • $field
callback_pass (line 1117)

Run password through wp_hash_password()

  • access: public
void callback_pass (string $username, string $password)
  • string $username
  • string $password
callback_slug (line 1227)
  • access: protected
void callback_slug ( $field)
  • $field
clean (line 996)

This method deletes data from the wp database.

  • access: public
void clean ( $start)
  • $start
clean_passwords (line 1048)

This method deletes passwords from the wp database.

  • access: public
void clean_passwords (int $start)
  • int $start: Start row
convert_forums (line 706)

Convert Forums

  • access: public
void convert_forums ([ $start = 1])
  • $start
convert_forum_parents (line 971)
  • access: public
void convert_forum_parents ( $start)
  • $start
convert_replies (line 720)

Convert Posts

  • access: public
void convert_replies ([ $start = 1])
  • $start
convert_table (line 744)

Convert Table

  • access: public
void convert_table (string $to_type, int $start)
  • string $to_type: to type
  • int $start: Start row
convert_tags (line 734)

Convert Tags

  • access: public
void convert_tags ([ $start = 1])
  • $start
convert_topics (line 713)

Convert Topics / Threads

  • access: public
void convert_topics ([ $start = 1])
  • $start
convert_users (line 727)

Convert Users

  • access: public
void convert_users ([ $start = 1])
  • $start
info (line 1085)

Info

  • abstract:
  • access: protected
void info ()

Redefined in descendants as:
  • Invision::info() : This method allows us to indicates what is or is not converted for each converter.
  • vBulletin::info() : This method allows us to indicates what is or is not converted for each converter.
  • bbPress1::info() : This method allows us to indicates what is or is not converted for each converter.
  • Example_Converter::info() : This method allows us to indicates what is or is not converted for each converter.
  • phpBB::info() : This method allows us to indicates what is or is not converted for each converter.

Documentation generated on Tue, 18 Jun 2013 01:37:32 +0100 by phpDocumentor 1.4.3