Changeset 10795 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 05/21/2016 02:20:45 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r10794 r10795 996 996 * @param int $user_id ID of the user. 997 997 * @param int $group_id ID of the group. 998 * @return bool998 * @return int|bool ID of the membership if the user is admin, otherwise false. 999 999 */ 1000 1000 function groups_is_user_admin( $user_id, $group_id ) { … … 1019 1019 * @param int $user_id ID of the user. 1020 1020 * @param int $group_id ID of the group. 1021 * @return bool1021 * @return int|bool ID of the membership if the user is mod, otherwise false. 1022 1022 */ 1023 1023 function groups_is_user_mod( $user_id, $group_id ) { … … 1042 1042 * @param int $user_id ID of the user. 1043 1043 * @param int $group_id ID of the group. 1044 * @return bool1044 * @return int|bool ID of the membership if the user is member, otherwise false. 1045 1045 */ 1046 1046 function groups_is_user_member( $user_id, $group_id ) { … … 1066 1066 * @param int $user_id ID of the user. 1067 1067 * @param int $group_id ID of the group. 1068 * 1069 * @return bool 1068 * @return int|bool ID of the membership if the user is banned, otherwise false. 1070 1069 */ 1071 1070 function groups_is_user_banned( $user_id, $group_id ) { … … 1091 1090 * @param int $user_id ID of the user. 1092 1091 * @param int $group_id ID of the group. 1093 * @return int| null ID of the membership if found.1092 * @return int|bool ID of the membership if the user is invited, otherwise false. 1094 1093 */ 1095 1094 function groups_is_user_invited( $user_id, $group_id ) { … … 1115 1114 * @param int $user_id ID of the user. 1116 1115 * @param int $group_id ID of the group. 1117 * @return int| null ID of the membership if found.1116 * @return int|bool ID of the membership if the user is pending, otherwise false. 1118 1117 */ 1119 1118 function groups_is_user_pending( $user_id, $group_id ) {
Note: See TracChangeset
for help on using the changeset viewer.