[ Index ] |
PHP Cross Reference of BBPress |
[Source view] [Print] [Project Stats]
bbPress 1.x Converter
File Size: | 759 lines (22 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bbPress1:: (11 methods):
__construct()
setup_globals()
info()
callback_status()
callback_forum_type()
callback_topic_status()
callback_sticky_status()
callback_topic_reply_count()
callback_savepass()
authenticate_pass()
callback_topic_subscriptions()
__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_status( $status = 0 ) X-Ref |
Translate the post status from bbPress 1's numerics to WordPress's strings. param: int $status bbPress 1.x numeric post status return: string WordPress safe |
callback_forum_type( $status = 0 ) X-Ref |
Translate the forum type from bbPress 1.x numerics to WordPress's strings. param: int $status bbPress 1.x numeric forum type return: string WordPress safe |
callback_topic_status( $topic_status = 1 ) X-Ref |
Translate the topic status from bbPress 1's numerics to WordPress's strings. param: int $topic_status bbPress 1.x numeric status return: string WordPress safe |
callback_sticky_status( $status = 0 ) X-Ref |
Translate the topic sticky status type from bbPress 1.x numerics to WordPress's strings. param: int $status bbPress 1.x numeric forum type return: string WordPress safe |
callback_topic_reply_count( $count = 1 ) X-Ref |
Verify the topic reply count. param: int $count bbPress 1.x topic and reply counts return: string WordPress safe |
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_subscriptions( $field ) X-Ref |
This callback strips `topic-` from topic subscriptions taxonomy param: string $field Topic ID return: integer WordPress safe since: 2.6.0 bbPress (r5572) |
Generated: Mon Dec 30 01:00:53 2024 | Cross-referenced by PHPXref 0.7.1 |