Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
09/17/2014 12:39:27 AM (11 years ago)
Author:
boonebgorges
Message:

Improved inline documentation in bp-groups

See #5022

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-groups/bp-groups-activity.php

    r8832 r9026  
    1616/**
    1717 * Register activity actions for the Groups component.
     18 *
     19 * @return bool|null False on failure.
    1820 */
    1921function groups_register_activity_actions() {
     
    240242 * @param int $group_id Optional. The ID of the group whose last_activity is
    241243 *        being updated. Default: the current group's ID.
     244 * @return bool|null False on failure.
    242245 */
    243246function groups_update_last_activity( $group_id = 0 ) {
     
    262265 *
    263266 * @since BuddyPress (1.9.0)
    264  * @param int $user_id
    265  * @param int $group_id
     267 *
     268 * @param int $user_id ID of the user joining the group.
     269 * @param int $group_id ID of the group.
     270 * @return bool|null False on failure.
    266271 */
    267272function bp_groups_membership_accepted_add_activity( $user_id, $group_id ) {
     
    286291
    287292/**
    288  * Delete all group activity from activity streams
     293 * Delete all activity items related to a specific group.
    289294 *
    290295 * @since BuddyPress (1.9.0)
     296 *
     297 * @param int $group_id ID of the group.
    291298 */
    292299function bp_groups_delete_group_delete_all_activity( $group_id ) {
     
    301308
    302309/**
    303  * Delete group member activity if they leave or are removed within 5 minutes of
    304  * membership modification.
     310 * Delete group member activity if they leave or are removed within 5 minutes of membership modification.
    305311 *
    306312 * If the user joined this group less than five minutes ago, remove the
     
    309315 *
    310316 * @since BuddyPress (1.9.0)
     317 *
     318 * @param int $group_id ID of the group.
     319 * @param int $user_id ID of the user leaving the group.
    311320 */
    312321function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
Note: See TracChangeset for help on using the changeset viewer.