ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 () | |
importDate ($a_incoming, $a_default=null) | |
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. More... | |
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 692 of file class.ilSessionStatisticsGUI.php.
References $id.
Referenced by exportCSV(), and getChart().
|
protected |
Definition at line 761 of file class.ilSessionStatisticsGUI.php.
References $DIC, $ilCtrl, $lng, ilSession\_destroyExpiredSessions(), and ilSessionStatistics\aggretateRaw().
|
protected |
Definition at line 491 of file class.ilSessionStatisticsGUI.php.
References $data, $DIC, $lng, $type, 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 79 of file class.ilSessionStatisticsGUI.php.
References $data, $DIC, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), render(), renderCurrentBasics(), and ilSelectInputGUI\setOptions().
Referenced by currentExport().
|
protected |
Definition at line 174 of file class.ilSessionStatisticsGUI.php.
References current().
ilSessionStatisticsGUI::executeCommand | ( | ) |
Definition at line 32 of file class.ilSessionStatisticsGUI.php.
References $DIC, $ilCtrl, and setSubTabs().
|
protected |
Definition at line 777 of file class.ilSessionStatisticsGUI.php.
References $DIC, $filename, $ilUser, $lng, $row, ilCalendarUtil\_numericDayToString(), adaptDataToScale(), exit, ilDatePresentation\formatDate(), 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 581 of file class.ilSessionStatisticsGUI.php.
References $DIC, $legend, $lng, ilCalendarUtil\_numericDayToString(), adaptDataToScale(), ilChartGrid\DATA_LINES, ilChart\getInstanceByType(), and ilChart\TYPE_GRID.
Referenced by render().
|
protected |
Definition at line 179 of file class.ilSessionStatisticsGUI.php.
References IL_CAL_UNIX, and ilCalendarUtil\parseIncomingDate().
Referenced by long(), periodic(), and short().
|
protected |
Definition at line 281 of file class.ilSessionStatisticsGUI.php.
References $data, $DIC, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, importDate(), render(), 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 $data, $DIC, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, importDate(), render(), and ilDateTimeInputGUI\setDate().
Referenced by periodicExport().
|
protected |
Definition at line 414 of file class.ilSessionStatisticsGUI.php.
References periodic().
|
protected |
Definition at line 531 of file class.ilSessionStatisticsGUI.php.
References $DIC, $lng, getChart(), and ilUtil\sendInfo().
Referenced by current(), long(), periodic(), and short().
|
protected |
Definition at line 419 of file class.ilSessionStatisticsGUI.php.
References $DIC, $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 49 of file class.ilSessionStatisticsGUI.php.
References $DIC, $ilCtrl, and $lng.
Referenced by executeCommand().
|
protected |
Definition at line 192 of file class.ilSessionStatisticsGUI.php.
References $data, $DIC, $ilCtrl, $lng, $title, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, importDate(), render(), ilDateTimeInputGUI\setDate(), and ilSelectInputGUI\setOptions().
Referenced by shortExport().
|
protected |
Definition at line 276 of file class.ilSessionStatisticsGUI.php.
References short().
const ilSessionStatisticsGUI::MODE_DAY = 5 |
Definition at line 21 of file class.ilSessionStatisticsGUI.php.
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.
const ilSessionStatisticsGUI::MODE_WEEK = 6 |
Definition at line 22 of file class.ilSessionStatisticsGUI.php.
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.