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

This commit is contained in:
zero 2007-04-03 11:13:13 +00:00
parent b537875f0e
commit 8c9bb31351
7 changed files with 58 additions and 11 deletions

View file

@ -568,7 +568,7 @@
/**
* @brief 친구 목록 가져오기
**/
function getFriend($friend_group_srl = 0) {
function getFriends($friend_group_srl = 0) {
$logged_info = Context::get('logged_info');
$args->friend_group_srl = $friend_group_srl;
@ -579,7 +579,7 @@
$args->sort_index = 'friend.list_order';
$args->list_count = 10;
$args->page_count = 10;
return executeQuery('member.getMessages', $args);
return executeQuery('member.getFriends', $args);
}
@ -588,10 +588,14 @@
**/
function getFriendGroups() {
$logged_info = Context::get('logged_info');
$args->member_srl = $logged_info->member_srl;
return executeQuery('member.getFriendGroups', $args);
$output = executeQuery('member.getFriendGroups', $args);
$group_list = $output->data;
if(!$group_list) return;
if(!is_array($group_list)) $group_list = array($group_list);
return $group_list;
}
}
?>