ILIAS
release_4-3 Revision
|
Class ilSessionStatisticsGUI. More...
Public Member Functions | |
executeCommand () |
Data Fields | |
const | MODE_TODAY = 1 |
const | MODE_LAST_DAY = 2 |
const | MODE_LAST_WEEK = 3 |
const | MODE_LAST_MONTH = 4 |
const | MODE_DAY = 5 |
const | MODE_WEEK = 6 |
const | MODE_MONTH = 7 |
const | MODE_YEAR = 8 |
const | SCALE_DAY = 1 |
const | SCALE_WEEK = 2 |
const | SCALE_MONTH = 3 |
const | SCALE_YEAR = 4 |
const | SCALE_PERIODIC_WEEK = 5 |
Protected Member Functions | |
setSubTabs () | |
current ($a_export=false) | |
currentExport () | |
short ($a_export=false) | |
shortExport () | |
long ($a_export=false) | |
longExport () | |
periodic ($a_export=false) | |
periodicExport () | |
renderCurrentBasics () | |
buildData ($a_time_from, $a_time_to, $a_title) | |
render ($a_data, $a_scale, $a_measure=null) | |
getChart ($a_data, $a_title, $a_scale=self::SCALE_DAY, $a_measure=null) | |
Build chart for active sessions. | |
adaptDataToScale ($a_scale, array $a_data) | |
adminSync () | |
exportCSV (array $a_data, $a_scale) |
Class ilSessionStatisticsGUI.
Definition at line 15 of file class.ilSessionStatisticsGUI.php.
|
protected |
Definition at line 731 of file class.ilSessionStatisticsGUI.php.
Referenced by exportCSV(), and getChart().
|
protected |
Definition at line 809 of file class.ilSessionStatisticsGUI.php.
References $ilCtrl, $lng, ilSession\_destroyExpiredSessions(), ilSessionStatistics\aggretateRaw(), and ilUtil\sendSuccess().
|
protected |
Definition at line 518 of file class.ilSessionStatisticsGUI.php.
References $data, $lng, ilDatePresentation\formatPeriod(), ilSessionStatistics\getActiveSessions(), ilSessionStatistics\getMaxedOutDuration(), ilSessionStatistics\getNumberOfSessionsByType(), IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().
Referenced by current(), long(), periodic(), and short().
|
protected |
Definition at line 62 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $data, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), MODE_TODAY, render(), renderCurrentBasics(), SCALE_DAY, SCALE_MONTH, SCALE_WEEK, and ilSelectInputGUI\setOptions().
Referenced by currentExport().
|
protected |
Definition at line 158 of file class.ilSessionStatisticsGUI.php.
References current().
ilSessionStatisticsGUI::executeCommand | ( | ) |
Definition at line 32 of file class.ilSessionStatisticsGUI.php.
References $cmd, $ilCtrl, and setSubTabs().
|
protected |
Definition at line 822 of file class.ilSessionStatisticsGUI.php.
References $filename, $ilUser, $lng, $row, ilCalendarUtil\_numericDayToString(), adaptDataToScale(), exit, ilDatePresentation\formatDate(), IL_CAL_DATETIME, IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().
Referenced by current(), long(), periodic(), and short().
|
protected |
Build chart for active sessions.
array | $a_data | |
string | $a_title | |
int | $a_scale | |
array | $a_measure |
Definition at line 609 of file class.ilSessionStatisticsGUI.php.
References $legend, $lng, ilCalendarUtil\_numericDayToString(), and adaptDataToScale().
Referenced by render().
|
protected |
Definition at line 267 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $data, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, MODE_WEEK, render(), SCALE_MONTH, SCALE_WEEK, SCALE_YEAR, ilDateTimeInputGUI\setDate(), and ilSelectInputGUI\setOptions().
Referenced by longExport().
|
protected |
Definition at line 355 of file class.ilSessionStatisticsGUI.php.
References long().
|
protected |
Definition at line 360 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $data, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_DATE, render(), and ilDateTimeInputGUI\setDate().
Referenced by periodicExport().
|
protected |
Definition at line 441 of file class.ilSessionStatisticsGUI.php.
References periodic().
|
protected |
Definition at line 555 of file class.ilSessionStatisticsGUI.php.
References $lng, getChart(), and ilUtil\sendInfo().
Referenced by current(), long(), periodic(), and short().
|
protected |
Definition at line 446 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $ilCtrl, $ilSetting, $lng, ilSessionControl\$session_types_controlled, ilSessionControl\DEFAULT_MAX_COUNT, ilSessionControl\DEFAULT_MAX_IDLE, ilSessionControl\DEFAULT_MAX_IDLE_AFTER_FIRST_REQUEST, ilSessionControl\DEFAULT_MIN_IDLE, ilDatePresentation\formatDate(), ilSessionControl\getExistingSessionCount(), ilSessionStatistics\getLastAggregation(), ilSessionStatistics\getLastMaxedOut(), and IL_CAL_UNIX.
Referenced by current().
|
protected |
Definition at line 48 of file class.ilSessionStatisticsGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 163 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $data, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, MODE_DAY, render(), SCALE_DAY, SCALE_WEEK, ilDateTimeInputGUI\setDate(), and ilSelectInputGUI\setOptions().
Referenced by shortExport().
|
protected |
Definition at line 262 of file class.ilSessionStatisticsGUI.php.
References short().
const ilSessionStatisticsGUI::MODE_DAY = 5 |
Definition at line 21 of file class.ilSessionStatisticsGUI.php.
Referenced by short().
const ilSessionStatisticsGUI::MODE_LAST_DAY = 2 |
Definition at line 18 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::MODE_LAST_MONTH = 4 |
Definition at line 20 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::MODE_LAST_WEEK = 3 |
Definition at line 19 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::MODE_MONTH = 7 |
Definition at line 23 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::MODE_TODAY = 1 |
Definition at line 17 of file class.ilSessionStatisticsGUI.php.
Referenced by current().
const ilSessionStatisticsGUI::MODE_WEEK = 6 |
Definition at line 22 of file class.ilSessionStatisticsGUI.php.
Referenced by long().
const ilSessionStatisticsGUI::MODE_YEAR = 8 |
Definition at line 24 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::SCALE_DAY = 1 |
Definition at line 26 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::SCALE_MONTH = 3 |
Definition at line 28 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::SCALE_PERIODIC_WEEK = 5 |
Definition at line 30 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::SCALE_WEEK = 2 |
Definition at line 27 of file class.ilSessionStatisticsGUI.php.
const ilSessionStatisticsGUI::SCALE_YEAR = 4 |
Definition at line 29 of file class.ilSessionStatisticsGUI.php.
Referenced by long().