[ Index ] |
PHP Cross Reference of BuddyPress |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 519 lines (14 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
bb_add_topic_tag( $topic_id, $tag ) X-Ref |
bb_add_topic_tag() - Adds a single tag to a topic. param: int $topic_id param: string $tag The (unsanitized) full name of the tag to be added return: int|bool The TT_ID of the new bb_topic_tag or false on failure |
bb_add_topic_tags( $topic_id, $tags ) X-Ref |
bb_add_topic_tag() - Adds a multiple tags to a topic. param: int $topic_id param: array|string $tags The (unsanitized) full names of the tag to be added. CSV or array. return: array|bool The TT_IDs of the new bb_topic_tags or false on failure |
bb_create_tag( $tag ) X-Ref |
bb_create_tag() - Creates a single bb_topic_tag. param: string $tag The (unsanitized) full name of the tag to be created return: int|bool The TT_ID of the new bb_topic_tags or false on failure |
bb_remove_topic_tag( $tt_id, $user_id, $topic_id ) X-Ref |
bb_remove_topic_tag() - Removes a single bb_topic_tag by a user from a topic. param: int $tt_id The TT_ID of the bb_topic_tag to be removed param: int $user_id param: int $topic_id return: array|false The TT_IDs of the users bb_topic_tags on that topic or false on failure |
bb_remove_topic_tags( $topic_id ) X-Ref |
bb_remove_topic_tag() - Removes all bb_topic_tags from a topic. param: int $topic_id return: bool |
bb_destroy_tag( $tt_id, $recount_topics = true ) X-Ref |
bb_destroy_tag() - Completely removes a bb_topic_tag. param: int $tt_id The TT_ID of the tag to destroy return: bool |
bb_get_tag_id( $id = 0 ) X-Ref |
bb_get_tag_id() - Returns the id of the specified or global tag. param: mixed $id The TT_ID, tag name of the desired tag, or 0 for the global tag return: int |
bb_get_tag( $id, $user_id = 0, $topic_id = 0 ) X-Ref |
bb_get_tag() - Returns the specified tag. If $user_id and $topic_id are passed, will check to see if that tag exists on that topic by that user. param: mixed $id The TT_ID or tag name of the desired tag param: int $user_id (optional) param: int $topic_id (optional) return: object Term object (back-compat) |
bb_get_topic_tags( $topic_id = 0, $args = null ) X-Ref |
bb_get_topic_tags() - Returns all of the bb_topic_tags associated with the specified topic. param: int $topic_id param: mixed $args return: array|false Term objects (back-compat), false on failure |
bb_get_user_tags( $topic_id, $user_id ) X-Ref |
No description |
bb_get_other_tags( $topic_id, $user_id ) X-Ref |
No description |
bb_get_public_tags( $topic_id ) X-Ref |
No description |
bb_get_tagged_topic_ids( $tag_id ) X-Ref |
No description |
get_tagged_topics( $args ) X-Ref |
No description |
get_tagged_topic_posts( $args ) X-Ref |
No description |
bb_get_top_tags( $args = null ) X-Ref |
bb_get_top_tags() - Returns most popular tags. param: mixed $args return: array|false Term objects (back-compat), false on failure |
_bb_make_tag_compat( &$tag ) X-Ref |
Adds some back-compat properties/elements to a term. Casting $tag->term_taxonomy_id to an integer is important since we check it against is_integer() in bb_get_tag() |
bb_rename_tag( $tag_id, $tag_name ) X-Ref |
No description |
bb_merge_tags( $old_id, $new_id ) X-Ref |
No description |
Generated: Thu Dec 7 01:01:35 2017 | Cross-referenced by PHPXref 0.7.1 |