- Timestamp:
- 03/04/2017 06:26:55 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-friends/classes/class-bp-friends-friendship.php
r11366 r11447 589 589 * @param int $possible_friend_userid The ID of the user who is the 590 590 * recipient of the potential friendship/request. 591 * @return string $value The friendship status, from among 'not_friends',592 * 'is_friend', 'pending', and 'awaiting_response'.591 * @return string|false $value The friendship status, from among 'not_friends', 592 * 'is_friend', 'pending', and 'awaiting_response'. 593 593 */ 594 594 public static function check_is_friend( $initiator_userid, $possible_friend_userid ) { … … 826 826 * @param int $total_friends Optional. Number of random friends to get. 827 827 * Default: 5. 828 * @return array| boolAn array of random friend user IDs on success;829 * false if none are found.828 * @return array|false An array of random friend user IDs on success; 829 * false if none are found. 830 830 */ 831 831 public static function get_random_friends( $user_id, $total_friends = 5 ) { … … 917 917 * 918 918 * @param int $friendship_id ID of the friendship. 919 * @return objectfriend_user_id and initiator_user_id.919 * @return null|stdClass friend_user_id and initiator_user_id. 920 920 */ 921 921 public static function get_user_ids_for_friendship( $friendship_id ) {
Note: See TracChangeset
for help on using the changeset viewer.