ILIAS
Release_4_2_x_branch Revision 61807
|
Class ilChatroom. More...
Public Member Functions | |
__construct (ilDBayObjectGUI $gui) | |
Constructor. | |
byDayExport () | |
bySessionExport () | |
byDay ($export=false) | |
Prepares and displays history period form by day. | |
bySession ($export=false) | |
Prepares and displays history period form by session. | |
executeDefault ($method) | |
Calls $this->byDay method. | |
Public Member Functions inherited from ilDBayTaskHandler | |
execute ($method) | |
Executes given $method if existing, otherwise executes executeDefault() method. |
Private Member Functions | |
showMessages ($messages, $durationForm, $export=false, $psessions=array(), $from, $to) | |
Prepares history table and displays it. |
Private Attributes | |
$gui |
Class ilChatroom.
Keeps methods to prepare and display the history task.
Definition at line 15 of file class.ilChatroomHistoryTask.php.
ilChatroomHistoryTask::__construct | ( | ilDBayObjectGUI | $gui | ) |
Constructor.
Requires needed classes and sets $this->gui using given $gui.
ilDBayObjectGUI | $gui |
Reimplemented from ilDBayTaskHandler.
Definition at line 27 of file class.ilChatroomHistoryTask.php.
References $gui.
ilChatroomHistoryTask::byDay | ( | $export = false | ) |
Prepares and displays history period form by day.
ilLanguage $lng ilCtrl2 $ilCtrl ilObjUser $ilUser
Definition at line 199 of file class.ilChatroomHistoryTask.php.
References $_REQUEST, $ilCtrl, $lng, $messages, $tpl, ilChatroom\byObjectId(), IL_CAL_UNIX, and showMessages().
Referenced by byDayExport(), and executeDefault().
ilChatroomHistoryTask::byDayExport | ( | ) |
Definition at line 185 of file class.ilChatroomHistoryTask.php.
References byDay().
ilChatroomHistoryTask::bySession | ( | $export = false | ) |
Prepares and displays history period form by session.
ilLanguage $lng ilCtrl2 $ilCtrl ilObjUser $ilUser
Definition at line 263 of file class.ilChatroomHistoryTask.php.
References $_POST, $_REQUEST, $ilCtrl, $lng, $messages, ilChatroom\byObjectId(), IL_CAL_UNIX, and showMessages().
Referenced by bySessionExport().
ilChatroomHistoryTask::bySessionExport | ( | ) |
Definition at line 189 of file class.ilChatroomHistoryTask.php.
References bySession().
ilChatroomHistoryTask::executeDefault | ( | $method | ) |
Calls $this->byDay method.
string | $method |
Reimplemented from ilDBayTaskHandler.
Definition at line 347 of file class.ilChatroomHistoryTask.php.
References byDay().
|
private |
Prepares history table and displays it.
ilTemplate $tpl ilLanguage $lng
array | $messages | |
ilPropertyFormGUI | $durationForm |
Definition at line 44 of file class.ilChatroomHistoryTask.php.
References $_REQUEST, $lng, $messages, $tpl, ilChatroom\byObjectId(), ilChatroom\checkUserPermissions(), exit, ilDatePresentation\formatDate(), ilDatePresentation\formatPeriod(), IL_CAL_FKT_DATE, IL_CAL_UNIX, ilUtil\redirect(), ilSelectInputGUI\setOptions(), ilDatePresentation\setUseRelativeDates(), ilCalendarSettings\TIME_FORMAT_12, ilCalendarSettings\TIME_FORMAT_24, and ilDatePresentation\useRelativeDates().
Referenced by byDay(), and bySession().
|
private |
Definition at line 18 of file class.ilChatroomHistoryTask.php.
Referenced by __construct().