ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomPrivateRoomGUI. More...
Public Member Functions | |
__construct (ilChatroomObjectGUI $gui) | |
ilChatroomPrivateRoomGUI constructor. More... | |
executeDefault ($method) | |
create () | |
delete () | |
leave () | |
enter () | |
listUsers () | |
Public Member Functions inherited from ilChatroomGUIHandler | |
__construct (ilChatroomObjectGUI $gui) | |
sendResponse ($response) | |
Sends a json encoded response and exits the php process. More... | |
hasPermission ($permission) | |
Checks for access with ilRbacSystem. More... | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. More... | |
executeDefault ($requestedMethod) | |
redirectIfNoPermission ($permission) | |
Checks for requested permissions and redirects if the permission check failed. More... | |
isSuccessful ($response) | |
Checks for success param in an json decoded response. More... | |
Protected Member Functions | |
exitIfNoRoomSubscription ($room, $chat_user) | |
exitIfEnterRoomIsNotAllowed ($room, $subRoom, $chat_user) | |
Protected Member Functions inherited from ilChatroomGUIHandler | |
getRoomByObjectId ($objectId) | |
exitIfNoRoomExists ($room) | |
Checks if a ilChatroom exists. More... | |
exitIfNoRoomPermission ($room, $subRoom, $chat_user) | |
Check if user can moderate a chatroom. More... | |
canModerate ($room, $subRoom, $user_id) | |
Checks if the user has permission to moderate a ilChatroom. More... | |
isMainRoom ($subRoomId) | |
Protected Attributes | |
$ilUser | |
Protected Attributes inherited from ilChatroomGUIHandler | |
$gui | |
$ilUser | |
$ilCtrl | |
$ilLng | |
$webDirectory | |
$upload | |
Class ilChatroomPrivateRoomGUI.
Definition at line 13 of file class.ilChatroomPrivateRoomGUI.php.
ilChatroomPrivateRoomGUI::__construct | ( | ilChatroomObjectGUI | $gui | ) |
ilChatroomPrivateRoomGUI constructor.
ilChatroomObjectGUI | $gui |
Definition at line 25 of file class.ilChatroomPrivateRoomGUI.php.
References $ilUser.
ilChatroomPrivateRoomGUI::create | ( | ) |
Definition at line 38 of file class.ilChatroomPrivateRoomGUI.php.
References $response, $title, array, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ilChatroomGUIHandler\sendResponse(), and ilUtil\stripSlashes().
ilChatroomPrivateRoomGUI::delete | ( | ) |
Definition at line 80 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::enter | ( | ) |
Definition at line 116 of file class.ilChatroomPrivateRoomGUI.php.
References $ilUser, $response, ilChatroom\byObjectId(), exitIfEnterRoomIsNotAllowed(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::executeDefault | ( | $method | ) |
Definition at line 34 of file class.ilChatroomPrivateRoomGUI.php.
|
protected |
ilChatroom | $room | |
int | $subRoom | |
ilChatroomUser | $chat_user |
Definition at line 162 of file class.ilChatroomPrivateRoomGUI.php.
References array, and ilChatroomGUIHandler\sendResponse().
Referenced by enter().
|
protected |
ilChatroom | $room | |
ilChatroomUser | $chat_user |
Definition at line 70 of file class.ilChatroomPrivateRoomGUI.php.
References array, and ilChatroomGUIHandler\sendResponse().
Referenced by create(), delete(), and leave().
ilChatroomPrivateRoomGUI::leave | ( | ) |
Definition at line 97 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), and ilChatroomGUIHandler\sendResponse().
ilChatroomPrivateRoomGUI::listUsers | ( | ) |
Definition at line 172 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), and ilChatroomGUIHandler\sendResponse().
|
protected |
Definition at line 19 of file class.ilChatroomPrivateRoomGUI.php.
Referenced by __construct(), and enter().