mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
add description of function
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10765 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ebfe89ca32
commit
1bd252610e
7 changed files with 102 additions and 54 deletions
|
|
@ -2,13 +2,14 @@
|
|||
/**
|
||||
* @class communicationView
|
||||
* @author NHN (developers@xpressengine.com)
|
||||
* @brief View class of communication module
|
||||
* View class of communication module
|
||||
**/
|
||||
|
||||
class communicationView extends communication {
|
||||
|
||||
/**
|
||||
* @brief Initialization
|
||||
* Initialization
|
||||
* @return void
|
||||
**/
|
||||
function init() {
|
||||
$oCommunicationModel = &getModel('communication');
|
||||
|
|
@ -28,7 +29,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Display message box
|
||||
* Display message box
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationMessages() {
|
||||
// Error appears if not logged-in
|
||||
|
|
@ -75,7 +77,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief display a new message
|
||||
* display a new message
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationNewMessage() {
|
||||
$this->setLayoutFile('popup_layout');
|
||||
|
|
@ -101,7 +104,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Display message sending
|
||||
* Display message sending
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationSendMessage() {
|
||||
$this->setLayoutFile("popup_layout");
|
||||
|
|
@ -156,7 +160,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief display a list of friends
|
||||
* display a list of friends
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationFriend() {
|
||||
// Error appears if not logged-in
|
||||
|
|
@ -192,7 +197,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add a friend
|
||||
* display Add a friend
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationAddFriend() {
|
||||
$this->setLayoutFile("popup_layout");
|
||||
|
|
@ -216,7 +222,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @brief Add a group of friends
|
||||
* display add a group of friends
|
||||
* @return void|Object (void : success, Object : fail)
|
||||
**/
|
||||
function dispCommunicationAddFriendGroup() {
|
||||
$this->setLayoutFile("popup_layout");
|
||||
|
|
@ -230,9 +237,7 @@
|
|||
$friend_group = $oCommunicationModel->getFriendGroupInfo($friend_group_srl);
|
||||
if($friend_group->friend_group_srl == $friend_group_srl) Context::set('friend_group', $friend_group);
|
||||
}
|
||||
|
||||
$this->setTemplateFile('add_friend_group');
|
||||
}
|
||||
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue