Class bbPress1

Description

bbPress 1.1 Converter

  • since: bbPress (rxxxx)

Located in /bbp-admin/converters/bbPress1.php (line 8)

BBP_Converter_Base
   |
   --bbPress1
Method Summary
bbPress1 __construct ()
void authenticate_pass ( $password,  $serialized_pass)
string callback_reply_title ([string $title = ''])
void callback_savepass ( $field,  $row)
string callback_status ([int $status = 0])
string callback_topic_reply_count ([int $count = 1])
void info ()
void setup_globals ()
Variables
Methods
Constructor __construct (line 15)

Main constructor

bbPress1 __construct ()

Redefinition of:
BBP_Converter_Base::__construct()
This is the constructor and it connects to the platform databases.
authenticate_pass (line 557)

This method is to take the pass out of the database and compare to a pass the user has typed in.

  • access: public
void authenticate_pass ( $password,  $serialized_pass)
  • $password
  • $serialized_pass

Redefinition of:
BBP_Converter_Base::authenticate_pass()
This method implements the authentication for the different forums.
callback_reply_title (line 539)

Set the reply title

  • return: Prefixed topic title, or empty string
  • access: public
string callback_reply_title ([string $title = ''])
  • string $title: bbPress 1.x topic title of this reply
callback_savepass (line 549)

This method is to save the salt and password together. That way when we authenticate it we can get it out of the database as one value. Array values are auto sanitized by wordpress.

  • access: public
void callback_savepass ( $field,  $row)
  • $field
  • $row
callback_status (line 504)

Translate the post status from bbPress 1's numeric's to WordPress's strings.

  • return: WordPress safe
  • access: public
string callback_status ([int $status = 0])
  • int $status: bbPress 1.x numeric status
callback_topic_reply_count (line 528)

Verify the topic reply count.

  • return: WordPress safe
  • access: public
string callback_topic_reply_count ([int $count = 1])
  • int $count: bbPress 1.x reply count
info (line 493)

This method allows us to indicates what is or is not converted for each converter.

  • access: public
void info ()

Redefinition of:
BBP_Converter_Base::info()
Info
setup_globals (line 23)

Sets up the field mappings

void setup_globals ()

Inherited Methods

Inherited From BBP_Converter_Base

BBP_Converter_Base::__construct()
BBP_Converter_Base::authenticate_pass()
BBP_Converter_Base::callback_datetime()
BBP_Converter_Base::callback_html()
BBP_Converter_Base::callback_negative()
BBP_Converter_Base::callback_null()
BBP_Converter_Base::callback_pass()
BBP_Converter_Base::callback_slug()
BBP_Converter_Base::clean()
BBP_Converter_Base::clean_passwords()
BBP_Converter_Base::convert_forums()
BBP_Converter_Base::convert_forum_parents()
BBP_Converter_Base::convert_replies()
BBP_Converter_Base::convert_table()
BBP_Converter_Base::convert_tags()
BBP_Converter_Base::convert_topics()
BBP_Converter_Base::convert_users()
BBP_Converter_Base::info()

Documentation generated on Wed, 19 Jun 2013 01:38:32 +0100 by phpDocumentor 1.4.3