|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class ilChatroomPrivateRoomGUI. More...
Inheritance diagram for ilChatroomPrivateRoomGUI:
Collaboration diagram for ilChatroomPrivateRoomGUI: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 |
Reimplemented from ilChatroomGUIHandler.
Definition at line 25 of file class.ilChatroomPrivateRoomGUI.php.
References ilChatroomGUIHandler\$gui, and $ilUser.
| ilChatroomPrivateRoomGUI::create | ( | ) |
Definition at line 38 of file class.ilChatroomPrivateRoomGUI.php.
References $response, $title, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), ilChatroomGUIHandler\isSuccessful(), ilChatroomGUIHandler\redirectIfNoPermission(), ilChatroomGUIHandler\sendResponse(), and ilUtil\stripSlashes().
Here is the call graph for this function:| ilChatroomPrivateRoomGUI::delete | ( | ) |
Definition at line 80 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), and ilChatroomGUIHandler\sendResponse().
Here is the call graph for this function:| 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().
Here is the call graph for this function:| ilChatroomPrivateRoomGUI::executeDefault | ( | $requestedMethod | ) |
| string | $requestedMethod |
Reimplemented from ilChatroomGUIHandler.
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 ilChatroomGUIHandler\sendResponse().
Referenced by enter().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| ilChatroom | $room | |
| ilChatroomUser | $chat_user |
Definition at line 70 of file class.ilChatroomPrivateRoomGUI.php.
References ilChatroomGUIHandler\sendResponse().
Referenced by create(), delete(), and leave().
Here is the call graph for this function:
Here is the caller graph for this function:| ilChatroomPrivateRoomGUI::leave | ( | ) |
Definition at line 97 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), exitIfNoRoomSubscription(), and ilChatroomGUIHandler\sendResponse().
Here is the call graph for this function:| ilChatroomPrivateRoomGUI::listUsers | ( | ) |
Definition at line 172 of file class.ilChatroomPrivateRoomGUI.php.
References $response, ilChatroom\byObjectId(), and ilChatroomGUIHandler\sendResponse().
Here is the call graph for this function:
|
protected |
Definition at line 19 of file class.ilChatroomPrivateRoomGUI.php.
Referenced by __construct(), and enter().