ILIAS
Release_4_0_x_branch Revision 61816
|
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 |
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 49 of file class.ilChatServerCommunicator.php.
|
static |
Definition at line 311 of file class.ilChatServerCommunicator.php.
References $ilDB, $res, and $row.
Referenced by ilChatMessageNotifyGUI\getHTML().
|
static |
Definition at line 231 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 252 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogin().
|
static |
Definition at line 262 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogout().
|
static |
Definition at line 272 of file class.ilChatServerCommunicator.php.
References $ilDB, $res, $row, and $usr_id.
Referenced by ilChatMessageNotifyGUI\getHTML().
|
private |
Definition at line 211 of file class.ilChatServerCommunicator.php.
References $ilSetting, ilChatSmilies\_parseString(), getMessage(), and setMessage().
Referenced by formatMessage().
|
private |
Definition at line 153 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
|
private |
Definition at line 160 of file class.ilChatServerCommunicator.php.
References $ilSetting, emoticons(), formatLogin(), getFormattedChatroom(), getKickedUser(), getMessage(), getRecipientLogin(), and getType().
Referenced by send().
|
private |
Definition at line 145 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
ilChatServerCommunicator::getHtml | ( | ) |
Definition at line 114 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::getKickedUser | ( | ) |
Definition at line 89 of file class.ilChatServerCommunicator.php.
References $kicked_user.
Referenced by formatMessage().
ilChatServerCommunicator::getMessage | ( | ) |
Definition at line 99 of file class.ilChatServerCommunicator.php.
References $message.
Referenced by emoticons(), and formatMessage().
ilChatServerCommunicator::getRecipientId | ( | ) |
Definition at line 69 of file class.ilChatServerCommunicator.php.
References $rcp_id.
ilChatServerCommunicator::getRecipientLogin | ( | ) |
Definition at line 79 of file class.ilChatServerCommunicator.php.
References $rcp_login.
Referenced by formatMessage().
ilChatServerCommunicator::getServerFrameSource | ( | ) |
Definition at line 130 of file class.ilChatServerCommunicator.php.
References formatLogin(), and getFormattedChatroom().
ilChatServerCommunicator::getType | ( | ) |
Definition at line 109 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage().
ilChatServerCommunicator::isAlive | ( | ) |
|
private |
Definition at line 222 of file class.ilChatServerCommunicator.php.
Referenced by send().
ilChatServerCommunicator::send | ( | & | $id = null | ) |
Definition at line 119 of file class.ilChatServerCommunicator.php.
References formatMessage(), and openSocket().
Referenced by isAlive().
ilChatServerCommunicator::setKickedUser | ( | $k_user | ) |
Definition at line 84 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::setMessage | ( | $a_message | ) |
Definition at line 94 of file class.ilChatServerCommunicator.php.
Referenced by emoticons().
ilChatServerCommunicator::setRecipientId | ( | $a_id | ) |
Definition at line 57 of file class.ilChatServerCommunicator.php.
References setRecipientLogin().
ilChatServerCommunicator::setRecipientLogin | ( | $a_login | ) |
Definition at line 74 of file class.ilChatServerCommunicator.php.
Referenced by setRecipientId().
ilChatServerCommunicator::setType | ( | $a_type | ) |
Definition at line 104 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().
ilChatServerCommunicator::$socket_p |
Definition at line 37 of file class.ilChatServerCommunicator.php.
ilChatServerCommunicator::$type |
Definition at line 38 of file class.ilChatServerCommunicator.php.