| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
Class ilSessionStatisticsGUI. More...
 Collaboration diagram for ilSessionStatisticsGUI:
 Collaboration diagram for ilSessionStatisticsGUI:| 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().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 809 of file class.ilSessionStatisticsGUI.php.
References $ilCtrl, $lng, ilSession\_destroyExpiredSessions(), ilSessionStatistics\aggretateRaw(), and ilUtil\sendSuccess().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 518 of file class.ilSessionStatisticsGUI.php.
References $lng, ilDatePresentation\formatPeriod(), ilSessionStatistics\getActiveSessions(), ilSessionStatistics\getMaxedOutDuration(), ilSessionStatistics\getNumberOfSessionsByType(), IL_CAL_UNIX, and ilDatePresentation\setUseRelativeDates().
Referenced by current(), long(), periodic(), and short().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 62 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $ilCtrl, $lng, $tpl, buildData(), exportCSV(), MODE_TODAY, render(), renderCurrentBasics(), SCALE_DAY, SCALE_MONTH, SCALE_WEEK, and ilSelectInputGUI\setOptions().
Referenced by currentExport().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 158 of file class.ilSessionStatisticsGUI.php.
References current().
 Here is the call graph for this function:
 Here is the call graph for this function:| ilSessionStatisticsGUI::executeCommand | ( | ) | 
Definition at line 32 of file class.ilSessionStatisticsGUI.php.
References $cmd, $ilCtrl, and setSubTabs().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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 $lng, ilCalendarUtil\_numericDayToString(), and adaptDataToScale().
Referenced by render().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 267 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $ilCtrl, $lng, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, MODE_WEEK, render(), SCALE_MONTH, SCALE_WEEK, SCALE_YEAR, ilDateTimeInputGUI\setDate(), and ilSelectInputGUI\setOptions().
Referenced by longExport().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 355 of file class.ilSessionStatisticsGUI.php.
References long().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 360 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $ilCtrl, $lng, $tpl, buildData(), exportCSV(), IL_CAL_DATE, render(), and ilDateTimeInputGUI\setDate().
Referenced by periodicExport().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 441 of file class.ilSessionStatisticsGUI.php.
References periodic().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | protected | 
Definition at line 555 of file class.ilSessionStatisticsGUI.php.
References $lng, getChart(), and ilUtil\sendInfo().
Referenced by current(), long(), periodic(), and short().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 48 of file class.ilSessionStatisticsGUI.php.
Referenced by executeCommand().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 163 of file class.ilSessionStatisticsGUI.php.
References $_REQUEST, $ilCtrl, $lng, $tpl, buildData(), exportCSV(), IL_CAL_UNIX, MODE_DAY, render(), SCALE_DAY, SCALE_WEEK, ilDateTimeInputGUI\setDate(), and ilSelectInputGUI\setOptions().
Referenced by shortExport().
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | protected | 
Definition at line 262 of file class.ilSessionStatisticsGUI.php.
References short().
 Here is the call graph for this function:
 Here is the call graph for this function:| 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().