XpressEngine Core  1.11.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
communicationController Class Reference
Inheritance diagram for communicationController:
communication ModuleObject BaseObject

Public Member Functions

 init ()
 
 procCommunicationUpdateAllowMessage ()
 
 procCommunicationSendMessage ()
 
 sendMessage ($sender_srl, $receiver_srl, $title, $content, $sender_log=TRUE)
 
 procCommunicationStoreMessage ()
 
 procCommunicationDeleteMessage ()
 
 procCommunicationDeleteMessages ()
 
 procCommunicationAddFriend ()
 
 procCommunicationMoveFriend ()
 
 procCommunicationDeleteFriend ()
 
 procCommunicationAddFriendGroup ()
 
 procCommunicationRenameFriendGroup ()
 
 procCommunicationDeleteFriendGroup ()
 
 setMessageReaded ($message_srl)
 
- Public Member Functions inherited from communication
 moduleInstall ()
 
 checkUpdate ()
 
 moduleUpdate ()
 
 recompileCache ()
 
- Public Member Functions inherited from ModuleObject
 setModule ($module)
 
 setModulePath ($path)
 
 setRedirectUrl ($url= './', $output=NULL)
 
 getRedirectUrl ()
 
 setMessage ($message= 'success', $type=NULL)
 
 setMessageType ($type)
 
 getMessageType ()
 
 setRefreshPage ()
 
 setAct ($act)
 
 setModuleInfo ($module_info, $xml_info)
 
 stop ($msg_code)
 
 setTemplateFile ($filename)
 
 getTemplateFile ()
 
 setTemplatePath ($path)
 
 getTemplatePath ()
 
 setEditedLayoutFile ($filename)
 
 getEditedLayoutFile ()
 
 setLayoutFile ($filename)
 
 getLayoutFile ()
 
 setLayoutPath ($path)
 
 getLayoutPath ($layout_name="", $layout_type="P")
 
 proc ()
 
- Public Member Functions inherited from BaseObject
 __construct ($error=0, $message= 'success')
 
 setError ($error=0)
 
 getError ()
 
 setHttpStatusCode ($code= '200')
 
 getHttpStatusCode ()
 
 setMessage ($message= 'success', $type=NULL)
 
 getMessage ()
 
 add ($key, $val)
 
 adds ($object)
 
 get ($key)
 
 gets ()
 
 getVariables ()
 
 getObjectVars ()
 
 toBool ()
 
 toBoolean ()
 

Additional Inherited Members

- Public Attributes inherited from ModuleObject
 $mid = NULL
 string to represent run-time instance of Module (XE Module) More...
 
 $module = NULL
 Class name of Xe Module that is identified by mid. More...
 
 $module_srl = NULL
 integer value to represent a run-time instance of Module (XE Module) More...
 
 $module_info = NULL
 an object containing the module information More...
 
 $origin_module_info = NULL
 
 $xml_info = NULL
 an object containing the module description extracted from XML file More...
 
 $module_path = NULL
 a path to directory where module source code resides More...
 
 $act = NULL
 a string value to contain the action name More...
 
 $template_path = NULL
 a path of directory where template files reside More...
 
 $template_file = NULL
 name of template file More...
 
 $layout_path = ''
 a path of directory where layout files reside More...
 
 $layout_file = ''
 name of layout file More...
 
 $edited_layout_file = ''
 name of temporary layout files that is modified in an admin mode More...
 
 $stop_proc = FALSE
 a flag to indicating whether to stop the execution of code. More...
 
 $module_config = NULL
 
 $ajaxRequestMethod = array('XMLRPC', 'JSON')
 
 $gzhandler_enable = TRUE
 
- Public Attributes inherited from BaseObject
 $error = 0
 
 $message = 'success'
 
 $variables = array()
 
 $httpStatusCode = NULL
 

Detailed Description

Author
NAVER (devel.nosp@m.oper.nosp@m.s@xpr.nosp@m.esse.nosp@m.ngine.nosp@m..com) communication module of the Controller class

Definition at line 9 of file communication.controller.php.

Member Function Documentation

communicationController::init ( )

Initialization

Definition at line 15 of file communication.controller.php.

communicationController::procCommunicationAddFriend ( )

Add a friend

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 458 of file communication.controller.php.

communicationController::procCommunicationAddFriendGroup ( )

Add a group of friends

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 636 of file communication.controller.php.

communicationController::procCommunicationDeleteFriend ( )

Delete a friend

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 573 of file communication.controller.php.

communicationController::procCommunicationDeleteFriendGroup ( )

Delete a group of friends

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 747 of file communication.controller.php.

communicationController::procCommunicationDeleteMessage ( )

Delete a message

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 317 of file communication.controller.php.

communicationController::procCommunicationDeleteMessages ( )

Delete the multiple messages

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 377 of file communication.controller.php.

communicationController::procCommunicationMoveFriend ( )

Move a group of the friend

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 506 of file communication.controller.php.

communicationController::procCommunicationRenameFriendGroup ( )

change a name of friend group

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 712 of file communication.controller.php.

communicationController::procCommunicationSendMessage ( )

Send a message

Returns
BaseObject

Definition at line 53 of file communication.controller.php.

communicationController::procCommunicationStoreMessage ( )

store a specific message into the archive

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 277 of file communication.controller.php.

communicationController::procCommunicationUpdateAllowMessage ( )

change the settings of message box

Returns
void|BaseObject (success : void, fail : BaseObject)

Definition at line 24 of file communication.controller.php.

communicationController::sendMessage (   $sender_srl,
  $receiver_srl,
  $title,
  $content,
  $sender_log = TRUE 
)

Send a message (DB control)

Parameters
int$sender_srlmember_srl of sender
int$receiver_srlmember_srl of receiver_srl
string$title
string$content
boolean$sender_log(default true)
Returns
BaseObject

Definition at line 175 of file communication.controller.php.

communicationController::setMessageReaded (   $message_srl)

set a message status to be 'already read'

Parameters
int$message_srl
Returns
BaseObject

Definition at line 775 of file communication.controller.php.


The documentation for this class was generated from the following file: