Changeset 9906 for trunk/src/bp-groups/bp-groups-activity.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-activity.php
r9819 r9906 2 2 3 3 /** 4 * BuddyPress Groups Activity Functions 4 * BuddyPress Groups Activity Functions. 5 5 * 6 6 * These functions handle the recording, deleting and formatting of activity … … 90 90 * @since BuddyPress (2.0.0) 91 91 * 92 * @param string $action Static activity action.92 * @param string $action Static activity action. 93 93 * @param object $activity Activity data object. 94 * 94 95 * @return string 95 96 */ … … 121 122 * @since BuddyPress (2.0.0) 122 123 * 123 * @param string $action Static activity action.124 * @param string $action Static activity action. 124 125 * @param object $activity Activity data object. 126 * 125 127 * @return string 126 128 */ … … 165 167 * @param string $action Static activity action. 166 168 * @param object $activity Activity data object. 169 * 167 170 * @return string 168 171 */ … … 219 222 * 220 223 * @param array $activities Array of activity items. 224 * 221 225 * @return array 222 226 */ … … 270 274 * @param array $retval Empty array by default 271 275 * @param array $filter Current activity arguments 276 * 272 277 * @return array 273 278 */ … … 334 339 * return values. 335 340 * 336 * @param array $args {341 * @param array|string $args { 337 342 * An array of arguments for the new activity item. Accepts all parameters 338 343 * of {@link bp_activity_add()}. However, this wrapper provides some 339 344 * additional defaults, as described below: 340 * @type string $component Default: the id of your Groups component341 * (usually 'groups').342 * @type bool $hide_sitewide Default: True if the current group is not343 * public, otherwise false.345 * @type string $component Default: the id of your Groups component 346 * (usually 'groups'). 347 * @type bool $hide_sitewide Default: True if the current group is not 348 * public, otherwise false. 344 349 * } 345 350 * @return bool See {@link bp_activity_add()}. … … 386 391 * 387 392 * @param int $group_id Optional. The ID of the group whose last_activity is 388 * being updated. Default: the current group's ID. 393 * being updated. Default: the current group's ID. 394 * 389 395 * @return bool|null False on failure. 390 396 */ … … 408 414 409 415 /** 410 * Add an activity stream item when a member joins a group 416 * Add an activity stream item when a member joins a group. 411 417 * 412 418 * @since BuddyPress (1.9.0) 413 419 * 414 * @param int $user_id ID of the user joining the group.420 * @param int $user_id ID of the user joining the group. 415 421 * @param int $group_id ID of the group. 422 * 416 423 * @return bool|null False on failure. 417 424 */ … … 455 462 * @param BP_Groups_Group $old_group Group object before the details had been changed. 456 463 * @param bool $notify_members True if the admin has opted to notify group members, otherwise false. 464 * 457 465 * @return int|bool The ID of the activity on success. False on error. 458 466 */ … … 546 554 * 547 555 * @param int $group_id ID of the group. 548 * @param int $user_id ID of the user leaving the group.556 * @param int $user_id ID of the user leaving the group. 549 557 */ 550 558 function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.