Changeset 9906 for trunk/src/bp-groups/bp-groups-forums.php
- Timestamp:
- 06/02/2015 05:21:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-forums.php
r9819 r9906 2 2 3 3 /** 4 * BuddyPress Groups Forums 4 * BuddyPress Groups Forums. 5 5 * 6 6 * Action functions are exactly the same as screen functions, however they do not … … 25 25 * @since BuddyPress (1.0.0) 26 26 * 27 * @param int $group_idThe group ID that the new forum should be attached to.27 * @param int $group_id The group ID that the new forum should be attached to. 28 28 * @param string $group_name The group name. 29 29 * @param string $group_desc The group description. … … 67 67 * 68 68 * @param int $group_id Group id, passed from groups_details_updated. 69 * 70 * @return mixed 69 71 */ 70 72 function groups_update_group_forum( $group_id ) { … … 107 109 * 108 110 * @param string $post_text The text for the forum post. 109 * @param int $topic_id The topic ID used so we can identify where the new 110 * forum post should reside. 111 * @param mixed $page The page number where the new forum post should reside. 112 * Default: false. 111 * @param int $topic_id The topic ID used so we can identify where the new 112 * forum post should reside. 113 * @param mixed $page The page number where the new forum post should reside. 114 * Default: false. 115 * 113 116 * @return mixed The new forum post ID on success. Boolean false on failure. 114 117 */ … … 216 219 * 217 220 * @param string $topic_title The title for the forum topic. 218 * @param string $topic_text The text for the forum topic. 219 * @param string $topic_tags A comma-delimited string of topic tags. 220 * @param int $forum_id The forum ID this forum topic resides in. 221 * @param string $topic_text The text for the forum topic. 222 * @param string $topic_tags A comma-delimited string of topic tags. 223 * @param int $forum_id The forum ID this forum topic resides in. 224 * 221 225 * @return mixed The new topic object on success. Boolean false on failure. 222 226 */ … … 335 339 * @since BuddyPress (1.1.0) 336 340 * 337 * @param int $topic_idThe topic ID of the existing forum topic.341 * @param int $topic_id The topic ID of the existing forum topic. 338 342 * @param string $topic_title The title for the forum topic. 339 * @param string $topic_text The text for the forum topic. 340 * @param mixed $topic_tags A comma-delimited string of topic tags. Optional. 343 * @param string $topic_text The text for the forum topic. 344 * @param mixed $topic_tags A comma-delimited string of topic tags. Optional. 345 * 341 346 * @return mixed The topic object on success. Boolean false on failure. 342 347 */ … … 413 418 * @since BuddyPress (1.1.0) 414 419 * 415 * @param int $post_idThe post ID of the existing forum post.420 * @param int $post_id The post ID of the existing forum post. 416 421 * @param string $post_text The text for the forum post. 417 * @param int $topic_idThe topic ID of the existing forum topic.418 * @param mixed $page The page number where the new forum post should reside.419 * Optional.422 * @param int $topic_id The topic ID of the existing forum topic. 423 * @param mixed $page The page number where the new forum post should reside. Optional. 424 * 420 425 * @return mixed The forum post ID on success. Boolean false on failure. 421 426 */ … … 503 508 * 504 509 * @param int $topic_id The ID of the topic to be deleted. 510 * 505 511 * @return bool True if the delete routine went through properly. 506 512 */ … … 565 571 * @since BuddyPress (1.1.0) 566 572 * 567 * @param int $post_id The ID of the post you want to delete. 568 * @param int $topic_id Optional. The topic to which the post belongs. This 569 * value isn't used in the function but is passed along to do_action() 570 * hooks. 573 * @param int $post_id The ID of the post you want to delete. 574 * @param int|bool $topic_id Optional. The topic to which the post belongs. This 575 * value isn't used in the function but is passed along 576 * to do_action() hooks. 577 * 571 578 * @return bool True on success. 572 579 */ … … 617 624 * 618 625 * @param string $type Either 'newest', 'popular', 'unreplied', 'tags'. 619 * Default: 'newest'. 626 * Default: 'newest'. 627 * 620 628 * @return int The topic count. 621 629 */ … … 637 645 * @since BuddyPress (1.5.0) 638 646 * 639 * @param string $status Which groups to count. 'public', 'private', 'hidden', 640 * 'all'. Default: 'public'. 641 * @param string $search_terms Optional. Limit by a search term. 647 * @param string $status Which groups to count. 'public', 'private', 'hidden', 648 * 'all'. Default: 'public'. 649 * @param string|bool $search_terms Optional. Limit by a search term. 650 * 642 651 * @return int The topic count. 643 652 */
Note: See TracChangeset
for help on using the changeset viewer.