git-svn-id: http://xe-core.googlecode.com/svn/trunk@1041 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-09 04:22:31 +00:00
parent 37af2d027c
commit 9ad9472b85
6 changed files with 44 additions and 17 deletions

View file

@ -621,5 +621,18 @@
if(!is_array($group_list)) $group_list = array($group_list);
return $group_list;
}
/**
* @brief 특정 회원의 친구 목록에 포함되어 있는지를 확인
**/
function isFriend($target_srl) {
$logged_info = Context::get('logged_info');
$args->member_srl = $target_srl;
$args->target_srl = $logged_info->member_srl;
$output = executeQuery('member.isAddedFriend', $args);
if($output->data->count) return true;
return false;
}
}
?>