[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

bbPress XenForo Converter

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

Defines 1 class

XenForo:: (12 methods):
  __construct()
  setup_globals()
  info()
  translate_savepass()
  authenticate_pass()
  callback_forum_type()
  callback_forum_status()
  callback_status()
  callback_topic_status()
  callback_sticky_status()
  callback_topic_reply_count()
  callback_html()


Class: XenForo  - X-Ref

Implementation of XenForo 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.


translate_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_forum_type( $status = 1 )   X-Ref
Translate the forum type from XenForo Capitalised case to WordPress's non-capatilise case strings.

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

callback_forum_status( $status = 1 )   X-Ref
Translate the forum status from XenForo numerics to WordPress's strings.

return: string WordPress safe
param: int $status XenForo numeric forum status

callback_status( $status = 1 )   X-Ref
Translate the post status from XenForo to WordPress' strings.

return: string WordPress safe
param: int $status XenForo post status

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

return: string WordPress safe
param: int $status XenForo numeric topic status

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

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

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

return: string WordPress safe
param: int $count XenForo reply count

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




Generated: Mon Sep 16 01:01:26 2019 Cross-referenced by PHPXref 0.7.1