Implementation of phpBB v3 Converter.
phpcs:disable WordPress.DB.PreparedSQL.InterpolatedNotPrepared
| since | 2.3.0 bbPress (r4689) |
|---|---|
| link | Docs https://codex.bbpress.org/import-forums/phpbb |
| package | bbPress |
| inherited_from | \BBP_Converter_Base |
__construct()
authenticate_pass(string $password, $serialized_pass) : boolean
| link | source for password functions http://openwall.com/phpass/ |
|---|---|
| link | is now included in WP Core https://core.trac.wordpress.org/browser/trunk/wp-includes/class-phpass.php |
| inherited_from | \BBP_Converter_Base::authenticate_pass() |
stringThe password in plain text
booleanReturns true if the password is correct, false if not.callback_forum_status(integer $status = 0) : string
integerphpBB v3.x numeric forum status
stringWordPress safecallback_forum_type(integer $status = 1) : string
integerphpBB v3.x numeric forum type
stringWordPress safecallback_pass(string $username= '', string $password= '')
string
string
callback_savepass($field, $row)
callback_sticky_status(integer $status = 0) : string
integerphpBB 3.x numeric forum type
stringWordPress safecallback_topic_reply_count(integer $count = 1) : string
integerphpBB v3.x reply count
stringWordPress safecallback_topic_status(integer $status = 0) : string
integerphpBB v3.x numeric topic status
stringWordPress safeclean()
| since | 2.6.0 bbPress (r6456) |
|---|
clean_passwords(integer $start = 1)
integerStart row
convert_favorites($start = 1)
convert_forum_parents($start = 1)
convert_forum_subscriptions($start = 1)
convert_forums($start = 1)
convert_replies($start = 1)
convert_reply_to_parents($start = 1)
| since | 2.4.0 bbPress (r5093) |
|---|
convert_table(string $to_type, integer $start)
stringto type
integerStart row
convert_topic_closed_topics($start = 1)
| since | 2.6.0 bbPress (r5425) |
|---|
convert_topic_stickies($start = 1)
| since | 2.5.0 bbPress (r5170) |
|---|
convert_topic_subscriptions($start = 1)
convert_topic_super_stickies($start = 1)
| since | 2.5.0 bbPress (r5170) |
|---|
convert_topics($start = 1)
convert_users($start = 1)
info()
| inherited_from | \BBP_Converter_Base::info() |
|---|
setup_globals()
| inherited_from | \BBP_Converter_Base::setup_globals() |
|---|
setup_globals()
authenticate_pass(string $password, $hash)
stringUn-encoded password.
callback_datetime($field)
callback_html($field)
| inherited_from | \BBP_Converter_Base::callback_html() |
|---|
callback_html($field)
callback_negative($field)
callback_null($field)
callback_slug($field)
info()
callback_check_anonymous(string $field) : string
| since | 2.6.0 bbPress (r5544) |
|---|
string
stringcallback_forumid(string $field) : string
string
stringcallback_reply_to(string $field) : string
| since | 2.4.0 bbPress (r5093) |
|---|
string
stringcallback_topicid(string $field) : string
string
stringcallback_topicid_to_forumid(string $field) : string
string
stringcallback_userid(string $field) : string
string
stringcount_rows_by_results(string $query = '') : boolean
| since | 2.6.0 bbPress (r6637) |
|---|
stringThe literal MySQL query.
booleancount_rows_by_table(string $table_name = '') : boolean
| since | 2.6.0 bbPress (r6637) |
|---|
stringThe literal MySQL query.
booleanget_fields(string $tablename = '')
stringThe table name to grab fields from.
get_results(string $query= '', string $output= OBJECT)
string
string
get_row(string $query = '')
string
hash_crypt_private($password, $setting, $itoa64)
hash_encode64($input, $count, $itoa64)
init()
| since | 2.1.0 |
|---|
query(string $query = '')
string
update_query(string $query = '') : boolean
| since | 2.6.0 bbPress (r6637) |
|---|
stringThe literal MySQL query.
boolean$bbcode_parser_properties : array
array()$charset : \str
''$clean : boolean
false$convert_users : boolean
false$sync_table : boolean
false$sync_table_name : \str
''$field_map : \array()
array()$map_forumid : \array()
array()$map_reply_to : \array()
array()$map_topicid : \array()
array()$map_topicid_to_forumid : \array()
array()$map_userid : \array()
array()$max_rows : integer
100$opdb : object
$wpdb : object