Changeset 9906 for trunk/src/bp-groups/bp-groups-notifications.php
- Timestamp:
- 06/02/2015 05:21:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-notifications.php
r9819 r9906 2 2 3 3 /** 4 * BuddyPress Groups Notification Functions 4 * BuddyPress Groups Notification Functions. 5 5 * 6 6 * These functions handle the recording, deleting and formatting of notifications … … 21 21 * @since BuddyPress (1.0.0) 22 22 * 23 * @param int $group_idID of the group.24 * @param BP_Groups_Group $old_group Group before new details were saved.23 * @param int $group_id ID of the group. 24 * @param BP_Groups_Group|null $old_group Group before new details were saved. 25 25 */ 26 26 function groups_notification_group_updated( $group_id = 0, $old_group = null ) { … … 148 148 * 149 149 * @param int $requesting_user_id ID of the user requesting group membership. 150 * @param int $admin_id ID of the group admin. 151 * @param int $group_id ID of the group. 152 * @param int $membership_id ID of the group membership object. 153 * @return bool|null False on failure. 150 * @param int $admin_id ID of the group admin. 151 * @param int $group_id ID of the group. 152 * @param int $membership_id ID of the group membership object. 153 * 154 * @return false|null False on failure. 154 155 */ 155 156 function groups_notification_new_membership_request( $requesting_user_id = 0, $admin_id = 0, $group_id = 0, $membership_id = 0 ) { … … 285 286 * @since BuddyPress (1.0.0) 286 287 * 287 * @param int $requesting_user_id ID of the user requesting group membership. 288 * @param int $group_id ID of the group. 289 * @param bool $accepted Optional. Whether the membership request was accepted. 290 * Default: true. 291 * @return boolean 288 * @param int $requesting_user_id ID of the user requesting group membership. 289 * @param int $group_id ID of the group. 290 * @param bool $accepted Optional. Whether the membership request was accepted. 291 * Default: true. 292 * 293 * @return false|null 292 294 */ 293 295 function groups_notification_membership_request_completed( $requesting_user_id = 0, $group_id = 0, $accepted = true ) { … … 401 403 * @since BuddyPress (1.0.0) 402 404 * 403 * @param int $user_id ID of the user.405 * @param int $user_id ID of the user. 404 406 * @param int $group_id ID of the group. 405 * @return bool|null False on failure. 407 * 408 * @return false|null False on failure. 406 409 */ 407 410 function groups_notification_promoted_member( $user_id = 0, $group_id = 0 ) { … … 506 509 * @since BuddyPress (1.0.0) 507 510 * 508 * @param BP_Groups_Group $group Group object. 509 * @param BP_Groups_Member $member Member object. 510 * @param int $inviter_user_id ID of the user who sent the invite. 511 * @return bool|null False on failure. 511 * @param BP_Groups_Group $group Group object. 512 * @param BP_Groups_Member $member Member object. 513 * @param int $inviter_user_id ID of the user who sent the invite. 514 * 515 * @return null|false False on failure. 512 516 */ 513 517 function groups_notification_group_invites( &$group, &$member, $inviter_user_id ) { … … 624 628 * @since BuddyPress (1.0.0) 625 629 * 626 * @param string $action The kind of notification being rendered. 627 * @param int $item_id The primary item ID. 628 * @param int $secondary_item_id The secondary item ID. 629 * @param int $total_items The total number of messaging-related notifications 630 * waiting for the user. 631 * @param string $format 'string' for BuddyBar-compatible notifications; 'array' 632 * for WP Toolbar. Default: 'string'. 630 * @param string $action The kind of notification being rendered. 631 * @param int $item_id The primary item ID. 632 * @param int $secondary_item_id The secondary item ID. 633 * @param int $total_items The total number of messaging-related notifications 634 * waiting for the user. 635 * @param string $format 'string' for BuddyBar-compatible notifications; 'array' 636 * for WP Toolbar. Default: 'string'. 637 * 633 638 * @return string 634 639 */ … … 1199 1204 * @since BuddyPress (2.0.0) 1200 1205 * 1201 * @param int $user_id ID of the user.1206 * @param int $user_id ID of the user. 1202 1207 * @param int $group_id ID of the group. 1203 1208 */ … … 1215 1220 * @since BuddyPress (1.9.0) 1216 1221 * 1217 * @param int $user_id ID of the user.1222 * @param int $user_id ID of the user. 1218 1223 * @param int $group_id ID of the group. 1219 1224 */
Note: See TracChangeset
for help on using the changeset viewer.