Changeset 9906 for trunk/src/bp-groups/classes/class-bp-groups-member.php
- Timestamp:
- 06/02/2015 05:21:07 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/classes/class-bp-groups-member.php
r9901 r9906 138 138 * @param int $group_id Optional. Along with $user_id, can be used to 139 139 * look up a membership. 140 * @param int $id Optional. The unique ID of the membership object.140 * @param int|bool $id Optional. The unique ID of the membership object. 141 141 * @param bool $populate Whether to populate the properties of the 142 142 * located membership. Default: true. … … 227 227 * @since BuddyPress (1.0.0) 228 228 * 229 * @param BP_Groups_Member Current instance of the group membership item being saved. Passed by reference.229 * @param BP_Groups_Member $this Current instance of the group membership item being saved. Passed by reference. 230 230 */ 231 231 do_action_ref_array( 'groups_member_before_save', array( &$this ) ); … … 260 260 * @since BuddyPress (1.0.0) 261 261 * 262 * @param BP_Groups_Member Current instance of the group membership item has been saved. Passed by reference.262 * @param BP_Groups_Member $this Current instance of the group membership item has been saved. Passed by reference. 263 263 */ 264 264 do_action_ref_array( 'groups_member_after_save', array( &$this ) ); … … 361 361 * @since BuddyPress (2.3.0) 362 362 * 363 * @param BP_Groups_Member Current group membership object.363 * @param BP_Groups_Member $this Current group membership object. 364 364 */ 365 365 do_action_ref_array( 'groups_member_before_remove', array( $this ) ); … … 382 382 * @since BuddyPress (2.3.0) 383 383 * 384 * @param BP_Groups_Member Current group membership object.384 * @param BP_Groups_Member $this Current group membership object. 385 385 */ 386 386 do_action_ref_array( 'groups_member_after_remove', array( $this ) ); … … 461 461 * 462 462 * @param int $user_id ID of the user. 463 * @param int $limit Optional. Max number of results to return.463 * @param int|bool $limit Optional. Max number of results to return. 464 464 * Default: false (no limit). 465 * @param int $page Optional. Page offset of results to return.465 * @param int|bool $page Optional. Page offset of results to return. 466 466 * Default: false (no limit). 467 467 * @return array { … … 497 497 * 498 498 * @param int $user_id ID of the user. 499 * @param int $limit Optional. Max number of results to return.499 * @param int|bool $limit Optional. Max number of results to return. 500 500 * Default: false (no limit). 501 * @param int $page Optional. Page offset of results to return.501 * @param int|bool $page Optional. Page offset of results to return. 502 502 * Default: false (no limit). 503 * @param string $filter Optional. Limit results to groups whose name or503 * @param string|bool $filter Optional. Limit results to groups whose name or 504 504 * description field matches search terms. 505 505 * @return array { … … 538 538 * 539 539 * @param int $user_id ID of the user. 540 * @param int $limit Optional. Max number of results to return.540 * @param int|bool $limit Optional. Max number of results to return. 541 541 * Default: false (no limit). 542 * @param int $page Optional. Page offset of results to return.542 * @param int|bool $page Optional. Page offset of results to return. 543 543 * Default: false (no limit). 544 * @param string $filter Optional. Limit results to groups whose name or544 * @param string|bool $filter Optional. Limit results to groups whose name or 545 545 * description field matches search terms. 546 546 * @return array { … … 579 579 * 580 580 * @param int $user_id ID of the user. 581 * @param int $limit Optional. Max number of results to return.581 * @param int|bool $limit Optional. Max number of results to return. 582 582 * Default: false (no limit). 583 * @param int $page Optional. Page offset of results to return.583 * @param int|bool $page Optional. Page offset of results to return. 584 584 * Default: false (no limit). 585 * @param string $filter Optional. Limit results to groups whose name or585 * @param string|bool $filter Optional. Limit results to groups whose name or 586 586 * description field matches search terms. 587 587 * @return array { … … 641 641 * 642 642 * @param int $user_id ID of the invitee. 643 * @param int $limit Optional. Max number of results to return.643 * @param int|bool $limit Optional. Max number of results to return. 644 644 * Default: false (no limit). 645 * @param int $page Optional. Page offset of results to return.645 * @param int|bool $page Optional. Page offset of results to return. 646 646 * Default: false (no limit). 647 * @param string|array $exclude Optional. Array or comma-separated list647 * @param string|array|bool $exclude Optional. Array or comma-separated list 648 648 * of group IDs to exclude from results. 649 649 * @return array { … … 773 773 * @param int|null ID of the membership if the user is an admin, 774 774 * otherwise null. 775 * 776 * @return mixed 775 777 */ 776 778 public static function check_is_admin( $user_id, $group_id ) { … … 792 794 * @param int|null ID of the membership if the user is a mod, 793 795 * otherwise null. 796 * 797 * @return mixed 794 798 */ 795 799 public static function check_is_mod( $user_id, $group_id ) { … … 811 815 * @param int|null ID of the membership if the user is a member, 812 816 * otherwise null. 817 * 818 * @return mixed 813 819 */ 814 820 public static function check_is_member( $user_id, $group_id ) { … … 830 836 * @param int|null ID of the membership if the user is banned, 831 837 * otherwise null. 838 * 839 * @return mixed 832 840 */ 833 841 public static function check_is_banned( $user_id, $group_id ) { … … 968 976 * 969 977 * @deprecated BuddyPress (1.8.0) 978 * 979 * @param $group_id 980 * @param $limit 981 * @param $page 982 * @param $exclude_admins_mods 983 * @param $exclude_banned 984 * @param $exclude 985 * 986 * @return mixed 970 987 */ 971 988 public static function get_all_for_group( $group_id, $limit = false, $page = false, $exclude_admins_mods = true, $exclude_banned = true, $exclude = false ) { … … 1068 1085 * 1069 1086 * @param int $user_id ID of the user. 1087 * 1088 * @return mixed 1070 1089 */ 1071 1090 public static function delete_all_for_user( $user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.