示例#1
0
 /**
  * count following
  *
  * @param int $user_id - get people following this user
  * @return int
  */
 public function countFollowing($user_id = 0)
 {
     require_once LIBS . 'Friends.php';
     $friends = new Friends();
     return $friends->countFriends($this, $user_id, 'following');
 }