3 require_once
'./Modules/Chatroom/classes/class.ilChatroomGUIHandler.php';
14 return $requestedMethod;
30 return $this->
canModerate($room, $subRoomId, $userId);
58 throw new Exception(json_encode($response), 1456319946);
exitIfNoRoomExists($room)
Checks if a ilChatroom exists.
executeDefault($requestedMethod)
canModerate($room, $subRoom, $user_id)
Checks if the user has permission to moderate a ilChatroom.
Class ilChatroomGUIHandler.
mockedExitIfNoRoomExists($room)
Class ilChatroomTaskHandlerMock.
mockedExitIfNoRoomPermission($room, $subRoomId, $user)
mockedCanModerate($room, $subRoomId, $userId)
exitIfNoRoomPermission($room, $subRoom, $chat_user)
Check if user can moderate a chatroom.
sendResponse($response)
Override parent sendResponse for test purposes.