21 parent::__construct($gui);
22 require_once
'Modules/Chatroom/classes/class.ilChatroom.php';
23 require_once
'Modules/Chatroom/classes/class.ilChatroomUser.php';
28 throw new Exception(
'METHOD_NOT_IN_USE', 1456435027);
35 $result->users = $room->getConnectedUsers();
36 $result->private_rooms = $room->getActivePrivateRooms($ilUser->getId());
38 'moderator' => $rbacsystem->checkAccess(
'moderate', (
int)
$_GET[
'ref_id']),
39 'userid' => $chat_user->getUserId()
44 include_once(
'Modules/Chatroom/classes/class.ilChatroomSmilies.php');
46 $smileys_array = ilChatroomSmilies::_getSmilies();
48 foreach($smileys_array as $smiley_array)
50 foreach($smiley_array as $key => $value)
52 if($key ==
'smiley_keywords')
54 $new_keys = explode(
"\n", $value);
57 if($key ==
'smiley_fullpath')
63 foreach($new_keys as $new_key)
65 $smileys[$new_key] = $new_val;
__construct(ilChatroomObjectGUI $gui)
Constructor Requires ilChatroom and ilChatroomUser.
Class ilChatroomGUIHandler.
Class ilChatroomInitialGUI.
Create styles array
The data for the language used.
static byObjectId($object_id)
Returns ilChatroom object by given $object_id.