[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

bbPress Mingle Converter

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

Defines 1 class

Mingle:: (7 methods):
  __construct()
  setup_globals()
  info()
  callback_savepass()
  authenticate_pass()
  callback_topic_status()
  callback_sticky_status()


Class: Mingle  - X-Ref

Implementation of Mingle Forums 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. Array values are auto sanitized by WordPress.


authenticate_pass( $password, $serialized_pass )   X-Ref
This method is to take the pass out of the database and compare
to a pass the user has typed in.


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

return: string WordPress safe
param: int $status Mingle v1.x numeric topic status

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

return: string WordPress safe
param: int $status Mingle numeric forum type



Generated: Sun Sep 15 01:01:26 2019 Cross-referenced by PHPXref 0.7.1