ILIAS
release_8 Revision v8.23
|
Class ilChatroom Keeps methods to prepare and display the history task. More...
Public Member Functions | |
byDayExport () | |
byDay (bool $export=false) | |
bySessionExport () | |
bySession (bool $export=false) | |
executeDefault (string $requestedMethod) | |
![]() | |
execute (string $method) | |
executeDefault (string $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... | |
sendResponse ($response, bool $isJson=false) | |
Sends a json encoded response and exits the php process. More... | |
hasPermission (string $permission) | |
Private Member Functions | |
renderDateTimeInformation ( $room_tpl, ?ilDateTime &$prev_date_time, ilDateTime $message_date_time, ilDate $message_date, ?string &$prev_date_time_presentation, string $message_date_time_presentation, string $time_format) | |
showMessages (array $messages, ilPropertyFormGUI $durationForm, bool $export=false, array $psessions=[], ?ilDateTime $from=null, ?ilDateTime $to=null) | |
Additional Inherited Members | |
![]() | |
getRequestValue (string $key, Transformation $trafo, $default=null) | |
hasRequestValue (string $key) | |
getRoomByObjectId (int $objectId) | |
exitIfNoRoomExists (?ilChatroom $room) | |
Checks if a ilChatroom exists. More... | |
exitIfNoRoomModeratePermission (ilChatroom $room, int $subRoom, ilChatroomUser $chatUser) | |
Check if user can moderate a chatroom. More... | |
canModerate (ilChatroom $room, int $subRoom, int $usrId) | |
isMainRoom (int $subRoomId) | |
![]() | |
ilChatroomObjectGUI | $gui |
ilObjUser | $ilUser |
ilCtrlInterface | $ilCtrl |
ilLanguage | $ilLng |
Filesystem | $webDirectory |
ilObjectService | $obj_service |
FileUpload | $upload |
ilRbacSystem | $rbacsystem |
ilGlobalTemplateInterface | $mainTpl |
ILIAS | $ilias |
ilNavigationHistory | $navigationHistory |
ilTree | $tree |
ilTabsGUI | $tabs |
UIFactory | $uiFactory |
UIRenderer | $uiRenderer |
GlobalHttpState | $http |
Refinery | $refinery |
Class ilChatroom Keeps methods to prepare and display the history task.
Definition at line 28 of file class.ilChatroomHistoryGUI.php.
ilChatroomHistoryGUI::byDay | ( | bool | $export = false | ) |
Definition at line 83 of file class.ilChatroomHistoryGUI.php.
References $messages, $scope, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\getRequestValue(), ILIAS\FileDelivery\http(), ILIAS\Repository\refinery(), and showMessages().
Referenced by byDayExport(), and executeDefault().
ilChatroomHistoryGUI::byDayExport | ( | ) |
Definition at line 77 of file class.ilChatroomHistoryGUI.php.
References byDay(), and ILIAS\Repository\tabs().
ilChatroomHistoryGUI::bySession | ( | bool | $export = false | ) |
Definition at line 284 of file class.ilChatroomHistoryGUI.php.
References $messages, $scope, $session, ilChatroom\byObjectId(), ilChatroomGUIHandler\exitIfNoRoomExists(), ilChatroomGUIHandler\getRequestValue(), ILIAS\FileDelivery\http(), IL_CAL_UNIX, ILIAS\Repository\refinery(), and showMessages().
Referenced by bySessionExport().
ilChatroomHistoryGUI::bySessionExport | ( | ) |
Definition at line 278 of file class.ilChatroomHistoryGUI.php.
References bySession(), and ILIAS\Repository\tabs().
ilChatroomHistoryGUI::executeDefault | ( | string | $requestedMethod | ) |
Definition at line 350 of file class.ilChatroomHistoryGUI.php.
References byDay().
|
private |
ilTemplate | ilGlobalTemplate | $room_tpl |
Definition at line 33 of file class.ilChatroomHistoryGUI.php.
References ILIAS\LTI\ToolProvider\$key, ilDatePresentation\formatDate(), ilDateTime\get(), IL_CAL_FKT_DATE, IL_CAL_UNIX, ilCalendarSettings\TIME_FORMAT_12, and ilCalendarSettings\TIME_FORMAT_24.
Referenced by showMessages().
|
private |
Definition at line 132 of file class.ilChatroomHistoryGUI.php.
References $message, $scopes, $session, ilPropertyFormGUI\addItem(), ilUtil\deliverData(), ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), ilFileUtils\getASCIIFilename(), ilPropertyFormGUI\getHTML(), ilChatroomGUIHandler\getRequestValue(), ilChatroomGUIHandler\hasRequestValue(), IL_CAL_UNIX, ilChatroomGUIHandler\redirectIfNoPermission(), ILIAS\Repository\refinery(), renderDateTimeInformation(), ilDatePresentation\setUseRelativeDates(), and ilDatePresentation\useRelativeDates().
Referenced by byDay(), and bySession().