[ Index ]

PHP Cross Reference of BBPress

title

Body

[close]

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

bbPress PHPFox3 Converter

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

Defines 1 class

PHPFox3:: (10 methods):
  __construct()
  setup_globals()
  info()
  callback_savepass()
  authenticate_pass()
  callback_forum_type()
  callback_forum_status()
  callback_topic_status()
  callback_sticky_status()
  callback_topic_reply_count()


Class: PHPFox3  - X-Ref

Implementation of PHPFox v3.x Forum 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_forum_type( $status = 0 )   X-Ref
Translate the forum type from PHPFox v3.5.x numerics to WordPress's strings.

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

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

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

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

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

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

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

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

param: int $count PHPFox v3.5.x topic/reply counts
return: string WordPress safe



Generated: Fri Apr 26 01:01:04 2024 Cross-referenced by PHPXref 0.7.1