[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

/src/includes/admin/converters/ -> phpBB.php (summary)

bbPress phpBB 3.x Converter

File Size: 1027 lines (31 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

phpBB:: (13 methods):
  __construct()
  setup_globals()
  info()
  callback_savepass()
  authenticate_pass()
  _hash_crypt_private()
  _hash_encode64()
  callback_forum_type()
  callback_forum_status()
  callback_topic_status()
  callback_sticky_status()
  callback_topic_reply_count()
  callback_html()


Class: phpBB  - X-Ref

Implementation of phpBB v3 Converter.

__construct()   X-Ref
Main Constructor


setup_globals()   X-Ref
Sets up the field mappings


info()   X-Ref
This method allows us to indicates what is or is not converted for each
converter.


callback_savepass( $field, $row )   X-Ref
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.


authenticate_pass( $password, $serialized_pass )   X-Ref
Check for correct password

param: string $password The password in plain text
param: string $hash The stored password hash
return: bool Returns true if the password is correct, false if not.

_hash_crypt_private( $password, $setting, &$itoa64 )   X-Ref
The crypt function/replacement


_hash_encode64( $input, $count, &$itoa64 )   X-Ref
Encode hash


callback_forum_type( $status = 1 )   X-Ref
Translate the forum type from phpBB v3.x numerics to WordPress's strings.

param: int $status phpBB v3.x numeric forum type
return: string WordPress safe

callback_forum_status( $status = 0 )   X-Ref
Translate the forum status from phpBB v3.x numerics to WordPress's strings.

param: int $status phpBB v3.x numeric forum status
return: string WordPress safe

callback_topic_status( $status = 0 )   X-Ref
Translate the topic status from phpBB v3.x numerics to WordPress's strings.

param: int $status phpBB v3.x numeric topic status
return: string WordPress safe

callback_sticky_status( $status = 0 )   X-Ref
Translate the topic sticky status type from phpBB 3.x numerics to WordPress's strings.

param: int $status phpBB 3.x numeric forum type
return: string WordPress safe

callback_topic_reply_count( $count = 1 )   X-Ref
Verify the topic reply count.

param: int $count phpBB v3.x reply count
return: string WordPress safe

callback_html( $field )   X-Ref
This callback processes any custom parser.php attributes and custom code with preg_replace




Generated: Sat May 4 01:01:00 2024 Cross-referenced by PHPXref 0.7.1