| ILIAS
    Release_4_1_x_branch Revision 61804
    | 
Class ilChatServerCommunicator. More...
 Collaboration diagram for ilChatServerCommunicator:
 Collaboration diagram for ilChatServerCommunicator:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 257 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogin().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 267 of file class.ilChatServerCommunicator.php.
References $_SESSION, and _initObject().
Referenced by ilStartUpGUI\showLogout().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Definition at line 277 of file class.ilChatServerCommunicator.php.
References $ilDB, $res, $row, and $usr_id.
Referenced by ilChatMessageNotifyGUI\getHTML().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 213 of file class.ilChatServerCommunicator.php.
References $ilSetting, ilChatSmilies\_parseString(), getMessage(), and setMessage().
Referenced by formatMessage().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 155 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 162 of file class.ilChatServerCommunicator.php.
References $ilSetting, emoticons(), formatLogin(), getFormattedChatroom(), getKickedUser(), getMessage(), getRecipientLogin(), and getType().
Referenced by send().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
Definition at line 147 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage(), and getServerFrameSource().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::getMessage | ( | ) | 
Definition at line 101 of file class.ilChatServerCommunicator.php.
References $message.
Referenced by emoticons(), and formatMessage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::getServerFrameSource | ( | ) | 
Definition at line 132 of file class.ilChatServerCommunicator.php.
References formatLogin(), and getFormattedChatroom().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatServerCommunicator::getType | ( | ) | 
Definition at line 111 of file class.ilChatServerCommunicator.php.
Referenced by formatMessage().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::isAlive | ( | ) | 
| 
 | private | 
Definition at line 224 of file class.ilChatServerCommunicator.php.
References $success.
Referenced by send().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::send | ( | & | $id = null | ) | 
Definition at line 121 of file class.ilChatServerCommunicator.php.
References formatMessage(), and openSocket().
Referenced by isAlive().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::setRecipientId | ( | $a_id | ) | 
Definition at line 59 of file class.ilChatServerCommunicator.php.
References setRecipientLogin().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilChatServerCommunicator::setRecipientLogin | ( | $a_login | ) | 
Definition at line 76 of file class.ilChatServerCommunicator.php.
Referenced by setRecipientId().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilChatServerCommunicator::setType | ( | $a_type | ) | 
Definition at line 106 of file class.ilChatServerCommunicator.php.
Referenced by isAlive().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 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.