ILIAS
Release_4_1_x_branch Revision 61804
|
Class ilChatServerCommunicator. More...
Public Member Functions | |
__construct (&$chat_obj) | |
Constructor public. | |
setRecipientId ($a_id) | |
getRecipientId () | |
setRecipientLogin ($a_login) | |
getRecipientLogin () | |
setKickedUser ($k_user) | |
getKickedUser () | |
setMessage ($a_message) | |
getMessage () | |
setType ($a_type) | |
getType () | |
getHtml () | |
send (&$id=null) | |
getServerFrameSource () | |
isAlive () |
Static Public Member Functions | |
static | _initObject () |
static | _login () |
static | _logout () |
static | _lookupUser ($usr_id) |
static | _getTailMessages ($chat_id, $room_id, $start_date=0) |
Data Fields | |
$chat | |
$message | |
$socket_p | |
$type | |
$rcp_id | |
$rcp_login | |
$kicked_user |
Static Public Attributes | |
static | $READ_TIMEOUT = 4 |
Private Member Functions | |
getFormattedChatroom () | |
formatLogin ($a_login) | |
formatMessage (&$id=null) | |
emoticons () | |
openSocket () |
Class ilChatServerCommunicator.
Definition at line 32 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::__construct | ( | & | $chat_obj | ) |
Constructor public.
integer | reference_id or object_id |
boolean | treat the id as reference_id (true) or object_id (false) |
Definition at line 51 of file class.ilChatServerCommunicator.php.
|
static |
Definition at line 316 of file class.ilChatServerCommunicator.php.
References $ilDB, $res, and $row.
Referenced by ilChatMessageNotifyGUI\getHTML().
|
static |
Definition at line 236 of file class.ilChatServerCommunicator.php.
References $ilDB, $ref_id, $res, $row, DB_FETCHMODE_OBJECT, and ilObjectFactory\getInstanceByRefId().
Referenced by _login(), and _logout().
|
static |
Definition at line 257 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogin().
|
static |
Definition at line 267 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogout().
|
static |
Definition at line 277 of file class.ilChatServerCommunicator.php.
References $ilDB, $res, $row, and $usr_id.
Referenced by ilChatMessageNotifyGUI\getHTML().
|
private |
Definition at line 213 of file class.ilChatServerCommunicator.php.
References $ilSetting, ilChatSmilies\_parseString(), getMessage(), and setMessage().
Referenced by formatMessage().
|
private |
Definition at line 155 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
|
private |
Definition at line 162 of file class.ilChatServerCommunicator.php.
References $ilSetting, emoticons(), formatLogin(), getFormattedChatroom(), getKickedUser(), getMessage(), getRecipientLogin(), and getType().
Referenced by send().
|
private |
Definition at line 147 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
ilChatServerCommunicator::getHtml | ( | ) |
Definition at line 116 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::getKickedUser | ( | ) |
Definition at line 91 of file class.ilChatServerCommunicator.php.
References $kicked_user.
Referenced by formatMessage().
ilChatServerCommunicator::getMessage | ( | ) |
Definition at line 101 of file class.ilChatServerCommunicator.php.
References $message.
Referenced by emoticons(), and formatMessage().
ilChatServerCommunicator::getRecipientId | ( | ) |
Definition at line 71 of file class.ilChatServerCommunicator.php.
References $rcp_id.
ilChatServerCommunicator::getRecipientLogin | ( | ) |
Definition at line 81 of file class.ilChatServerCommunicator.php.
References $rcp_login.
Referenced by formatMessage().
ilChatServerCommunicator::getServerFrameSource | ( | ) |
Definition at line 132 of file class.ilChatServerCommunicator.php.
References formatLogin(), and getFormattedChatroom().
ilChatServerCommunicator::getType | ( | ) |
Definition at line 111 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage().
ilChatServerCommunicator::isAlive | ( | ) |
|
private |
Definition at line 224 of file class.ilChatServerCommunicator.php.
References $success.
Referenced by send().
ilChatServerCommunicator::send | ( | & | $id = null | ) |
Definition at line 121 of file class.ilChatServerCommunicator.php.
References formatMessage(), and openSocket().
Referenced by isAlive().
ilChatServerCommunicator::setKickedUser | ( | $k_user | ) |
Definition at line 86 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::setMessage | ( | $a_message | ) |
Definition at line 96 of file class.ilChatServerCommunicator.php.
Referenced by emoticons().
ilChatServerCommunicator::setRecipientId | ( | $a_id | ) |
Definition at line 59 of file class.ilChatServerCommunicator.php.
References setRecipientLogin().
ilChatServerCommunicator::setRecipientLogin | ( | $a_login | ) |
Definition at line 76 of file class.ilChatServerCommunicator.php.
Referenced by setRecipientId().
ilChatServerCommunicator::setType | ( | $a_type | ) |
Definition at line 106 of file class.ilChatServerCommunicator.php.
Referenced by isAlive().
ilChatServerCommunicator::$chat |
Definition at line 34 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::$kicked_user |
Definition at line 41 of file class.ilChatServerCommunicator.php.
Referenced by getKickedUser().
ilChatServerCommunicator::$message |
Definition at line 36 of file class.ilChatServerCommunicator.php.
Referenced by getMessage().
ilChatServerCommunicator::$rcp_id |
Definition at line 39 of file class.ilChatServerCommunicator.php.
Referenced by getRecipientId().
ilChatServerCommunicator::$rcp_login |
Definition at line 40 of file class.ilChatServerCommunicator.php.
Referenced by getRecipientLogin().
|
static |
Definition at line 43 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::$socket_p |
Definition at line 37 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::$type |
Definition at line 38 of file class.ilChatServerCommunicator.php.