mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 06:39:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@939 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
8c9bb31351
commit
0c124710c5
4 changed files with 86 additions and 4 deletions
|
|
@ -286,15 +286,21 @@
|
|||
$oMemberModel = &getModel('member');
|
||||
|
||||
// 그룹 목록을 가져옴
|
||||
$friend_group_list = $oMemberModel->getFriendGroup();
|
||||
$friend_group_list = $oMemberModel->getFriendGroups();
|
||||
Context::set('friend_group_list', $friend_group_list);
|
||||
|
||||
// 친구 목록을 가져옴
|
||||
$friend_group_srl = Context::get('friend_group_srl');
|
||||
$friend_list = $oMemberModel->getFriends($friend_group_srl);
|
||||
Context::set('friend_list', $friend_list);
|
||||
$output = $oMemberModel->getFriends($friend_group_srl);
|
||||
|
||||
$this->setTemplate('friend_list');
|
||||
// 템플릿에 쓰기 위해서 context::set
|
||||
Context::set('total_count', $output->total_count);
|
||||
Context::set('total_page', $output->total_page);
|
||||
Context::set('page', $output->page);
|
||||
Context::set('friend_list', $output->data);
|
||||
Context::set('page_navigation', $output->page_navigation);
|
||||
|
||||
$this->setTemplateFile('friends_list');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue