ILIAS
release_4-3 Revision
|
Public Member Functions | |
ilLearningProgressBaseGUI ($a_mode, $a_ref_id=0, $a_usr_id=0) | |
isAnonymized () | |
isObjectAnonymized () | |
getMode () | |
getRefId () | |
getObjId () | |
getUserId () | |
activateStatistics ($a_act=true) | |
__getDefaultCommand () | |
__setSubTabs ($a_active) | |
__buildFooter () | |
__buildHeader () | |
__insertPath (&$a_tpl, $a_ref_id) | |
insert path | |
__showImageByStatus (&$tpl, $a_status, $tpl_prefix="") | |
_getImagePathForStatus ($a_status) | |
Get image path for status. | |
_getStatusText ($a_status) | |
Get status alt text. | |
& | __initTableGUI () |
__showObjectDetails (&$info, $item_id=0) | |
show details about current object. | |
__appendUserInfo (&$info, $a_user) | |
__appendLPDetails (&$info, $item_id, $user_id) | |
__readStatus ($a_obj_id, $user_id) | |
__showButton ($a_link, $a_text, $a_target= '') | |
__sort ($a_ids, $a_table, $a_field, $a_id_name) | |
Function that sorts ids by a given table field using WHERE IN E.g: __sort(array(6,7),'usr_data','lastname','usr_id') => sorts by lastname. | |
__getPercent ($max, $reached) | |
__readItemStatusInfo ($a_items) | |
__getLegendHTML () | |
__showEditUser ($a_user_id, $a_ref_id, $a_cancel, $a_sub_id=false) | |
__updateUser ($user_id, $obj_id) |
Static Public Member Functions | |
static | _showImageByStatus (&$tpl, $a_status, $tpl_prefix="") |
static | isObjectOffline ($a_obj_id, $a_type=null) |
Data Fields | |
$tpl = null | |
$ctrl = null | |
$lng = null | |
$ref_id = 0 | |
$mode = 0 | |
$statistics_activated = false |
Definition at line 58 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__appendLPDetails | ( | & | $info, |
$item_id, | |||
$user_id | |||
) |
Definition at line 493 of file class.ilLearningProgressBaseGUI.php.
References $comment, __readStatus(), _getImagePathForStatus(), ilLearningProgress\_getProgress(), _getStatusText(), ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), IL_CAL_DATETIME, and ilUtil\img().
Referenced by ilLPListOfProgressGUI\details().
ilLearningProgressBaseGUI::__appendUserInfo | ( | & | $info, |
$a_user | |||
) |
Definition at line 468 of file class.ilLearningProgressBaseGUI.php.
References $ilUser, ilFormat\_secondsToString(), ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), and IL_CAL_DATETIME.
Referenced by ilLPListOfProgressGUI\__showProgressList(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\editUser(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::__buildFooter | ( | ) |
Definition at line 258 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 268 of file class.ilLearningProgressBaseGUI.php.
References getMode(), ilUtil\infoPanel(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 144 of file class.ilLearningProgressBaseGUI.php.
References $cmd.
Referenced by ilLPListOfSettingsGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), ilLPObjectStatisticsGUI\executeCommand(), and ilLMStatisticsGUI\executeCommand().
ilLearningProgressBaseGUI::__getLegendHTML | ( | ) |
Definition at line 677 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by ilLPListOfObjectsGUI\__listObjects(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::__getPercent | ( | $max, | |
$reached | |||
) |
Definition at line 641 of file class.ilLearningProgressBaseGUI.php.
& ilLearningProgressBaseGUI::__initTableGUI | ( | ) |
Definition at line 416 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLMStatisticsGUI\__showSearchGroupTable(), ilLMStatisticsGUI\__showSearchRoleTable(), and ilLMStatisticsGUI\__showSearchUserTable().
ilLearningProgressBaseGUI::__insertPath | ( | & | $a_tpl, |
$a_ref_id | |||
) |
insert path
Definition at line 305 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__readItemStatusInfo | ( | $a_items | ) |
Definition at line 651 of file class.ilLearningProgressBaseGUI.php.
References ilLPCollectionCache\_getItems(), ilMDEducational\_getTypicalLearningTimeSeconds(), ilLPObjSettings\_lookupMode(), ilLPObjSettings\_lookupVisits(), LP_MODE_SCORM, LP_MODE_TLT, and LP_MODE_VISITS.
ilLearningProgressBaseGUI::__readStatus | ( | $a_obj_id, | |
$user_id | |||
) |
Definition at line 560 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatus\_lookupStatus(), LP_STATUS_COMPLETED, LP_STATUS_COMPLETED_NUM, LP_STATUS_FAILED, LP_STATUS_FAILED_NUM, LP_STATUS_IN_PROGRESS, LP_STATUS_IN_PROGRESS_NUM, LP_STATUS_NOT_ATTEMPTED, and LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by __appendLPDetails().
ilLearningProgressBaseGUI::__setSubTabs | ( | $a_active | ) |
Definition at line 153 of file class.ilLearningProgressBaseGUI.php.
References $ilUser, $lng, $mode, ilObjUserTracking\_enabledUserRelatedData(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilLPObjSettings\_lookupMode(), getMode(), getUserId(), isAnonymized(), isObjectAnonymized(), LP_ACTIVE_LM_STATISTICS, LP_ACTIVE_OBJECTS, LP_ACTIVE_PROGRESS, LP_ACTIVE_SETTINGS, LP_ACTIVE_SUMMARY, LP_MODE_ADMINISTRATION, LP_MODE_DEACTIVATED, LP_MODE_PERSONAL_DESKTOP, LP_MODE_REPOSITORY, and LP_MODE_USER_FOLDER.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__showButton | ( | $a_link, | |
$a_text, | |||
$a_target = '' |
|||
) |
Definition at line 586 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLMStatisticsGUI\listUsersGroup(), ilLMStatisticsGUI\listUsersRole(), and ilLMStatisticsGUI\search().
ilLearningProgressBaseGUI::__showEditUser | ( | $a_user_id, | |
$a_ref_id, | |||
$a_cancel, | |||
$a_sub_id = false |
|||
) |
Definition at line 701 of file class.ilLearningProgressBaseGUI.php.
References $ilCtrl, $lng, $mode, $tpl, ilObjUser\_getPersonalPicturePath(), ilLPObjSettings\_lookupMode(), ilLPStatus\_lookupStatus(), ilLPObjSettings\_mode2Text(), ilUtil\formCheckbox(), LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, LP_STATUS_COMPLETED_NUM, and ilUtil\prepareFormOutput().
Referenced by ilLPListOfObjectsGUI\editUser().
ilLearningProgressBaseGUI::__showImageByStatus | ( | & | $tpl, |
$a_status, | |||
$tpl_prefix = "" |
|||
) |
Definition at line 329 of file class.ilLearningProgressBaseGUI.php.
References $tpl, and _showImageByStatus().
ilLearningProgressBaseGUI::__showObjectDetails | ( | & | $info, |
$item_id = 0 |
|||
) |
show details about current object.
Uses an existing info_gui object.
Definition at line 427 of file class.ilLearningProgressBaseGUI.php.
References ilMDEducational\_getTypicalLearningTimeSeconds(), ilLPObjSettings\_lookupMode(), ilLPObjSettings\_lookupVisits(), ilFormat\_secondsToString(), and LP_MODE_VISITS.
Referenced by ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLPListOfObjectsGUI\editUser(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::__sort | ( | $a_ids, | |
$a_table, | |||
$a_field, | |||
$a_id_name | |||
) |
Function that sorts ids by a given table field using WHERE IN E.g: __sort(array(6,7),'usr_data','lastname','usr_id') => sorts by lastname.
array | Array of ids |
string | table name |
string | table field |
string | id name |
protected
Definition at line 615 of file class.ilLearningProgressBaseGUI.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
ilLearningProgressBaseGUI::__updateUser | ( | $user_id, | |
$obj_id | |||
) |
Definition at line 763 of file class.ilLearningProgressBaseGUI.php.
References $_POST, $ilUser, ilLPStatusWrapper\_updateStatus(), and ilUtil\stripSlashes().
Referenced by ilLPListOfObjectsGUI\updateUser().
ilLearningProgressBaseGUI::_getImagePathForStatus | ( | $a_status | ) |
Get image path for status.
Definition at line 349 of file class.ilLearningProgressBaseGUI.php.
References ilUtil\getImagePath(), LP_STATUS_COMPLETED, LP_STATUS_COMPLETED_NUM, LP_STATUS_FAILED, LP_STATUS_FAILED_NUM, LP_STATUS_IN_PROGRESS, LP_STATUS_IN_PROGRESS_NUM, LP_STATUS_NOT_ATTEMPTED, LP_STATUS_NOT_PARTICIPATED, LP_STATUS_NOT_REGISTERED, LP_STATUS_PARTICIPATED, and LP_STATUS_REGISTERED.
Referenced by __appendLPDetails(), ilLPObjectStatisticsLPTableGUI\__construct(), _showImageByStatus(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilTrSummaryTableGUI\getItems(), and ilLPTableBaseGUI\parseValue().
ilLearningProgressBaseGUI::_getStatusText | ( | $a_status | ) |
Get status alt text.
Definition at line 388 of file class.ilLearningProgressBaseGUI.php.
References $lng, LP_STATUS_COMPLETED, LP_STATUS_COMPLETED_NUM, LP_STATUS_FAILED, LP_STATUS_FAILED_NUM, LP_STATUS_IN_PROGRESS, LP_STATUS_IN_PROGRESS_NUM, LP_STATUS_NOT_ATTEMPTED, and LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by __appendLPDetails(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLPProgressTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilTrSummaryTableGUI\getItems(), ilLPObjectStatisticsLPTableGUI\initFilter(), and ilLPTableBaseGUI\parseValue().
|
static |
Definition at line 335 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, and _getImagePathForStatus().
Referenced by __showImageByStatus().
ilLearningProgressBaseGUI::activateStatistics | ( | $a_act = true | ) |
Definition at line 138 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjContentObjectGUI\executeCommand().
ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 110 of file class.ilLearningProgressBaseGUI.php.
References $mode.
Referenced by __buildFooter(), __buildHeader(), ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\show().
ilLearningProgressBaseGUI::getObjId | ( | ) |
Definition at line 120 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), ilLPListOfSettingsGUI\groupMaterials(), ilLPListOfSettingsGUI\ilLPListOfSettingsGUI(), ilLPListOfSettingsGUI\releaseMaterials(), and ilLPListOfSettingsGUI\saveObligatoryMaterials().
ilLearningProgressBaseGUI::getRefId | ( | ) |
Definition at line 115 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfSettingsGUI\getTableByMode(), ilLPListOfProgressGUI\show(), ilLPListOfObjectsGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), and ilLPListOfObjectsGUI\showUserObjectMatrix().
ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 125 of file class.ilLearningProgressBaseGUI.php.
References $_GET, and $usr_id.
Referenced by __setSubTabs(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLPListOfProgressGUI\show().
ilLearningProgressBaseGUI::ilLearningProgressBaseGUI | ( | $a_mode, | |
$a_ref_id = 0 , |
|||
$a_usr_id = 0 |
|||
) |
Definition at line 70 of file class.ilLearningProgressBaseGUI.php.
References $ilCtrl, $lng, $tpl, and ilObjUserTracking\_enabledUserRelatedData().
Referenced by ilLearningProgressGUI\ilLearningProgressGUI(), ilLMStatisticsGUI\ilLMStatisticsGUI(), ilLPListOfObjectsGUI\ilLPListOfObjectsGUI(), ilLPListOfProgressGUI\ilLPListOfProgressGUI(), ilLPListOfSettingsGUI\ilLPListOfSettingsGUI(), and ilLPObjectStatisticsGUI\ilLPObjectStatisticsGUI().
ilLearningProgressBaseGUI::isAnonymized | ( | ) |
Definition at line 89 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::isObjectAnonymized | ( | ) |
Definition at line 94 of file class.ilLearningProgressBaseGUI.php.
References ilObjTest\_lookupAnonymity().
Referenced by ilLearningProgressGUI\__getNextClass(), and __setSubTabs().
|
static |
Definition at line 790 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPProgressTableGUI\getItems(), and ilTrSummaryTableGUI\getItems().
ilLearningProgressBaseGUI::$ctrl = null |
Definition at line 61 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$lng = null |
Definition at line 62 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), __setSubTabs(), __showEditUser(), _getStatusText(), _showImageByStatus(), ilLPObjectStatisticsGUI\admin(), ilLPObjectStatisticsGUI\adminSync(), ilLPObjectStatisticsGUI\confirmDeleteData(), ilLPObjectStatisticsGUI\deleteData(), ilLearningProgressBaseGUI(), ilLMStatisticsGUI\show(), ilLPObjectStatisticsGUI\showAccessGraph(), ilLPObjectStatisticsGUI\showAggregationInfo(), ilLPObjectStatisticsGUI\showDailyGraph(), ilLPObjectStatisticsGUI\showLearningProgressGraph(), and ilLPObjectStatisticsGUI\showTypesGraph().
ilLearningProgressBaseGUI::$mode = 0 |
Definition at line 66 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLearningProgressGUI\__getNextClass(), __setSubTabs(), __showEditUser(), and getMode().
ilLearningProgressBaseGUI::$ref_id = 0 |
Definition at line 64 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfProgressGUI\details(), and getRefId().
ilLearningProgressBaseGUI::$statistics_activated = false |
Definition at line 68 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$tpl = null |
Definition at line 60 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), __showEditUser(), __showImageByStatus(), ilLMStatisticsGUI\__showSearchGroupTable(), ilLMStatisticsGUI\__showSearchRoleTable(), ilLMStatisticsGUI\__showSearchUserTable(), _showImageByStatus(), ilLPObjectStatisticsGUI\access(), ilLPObjectStatisticsGUI\admin(), ilLPObjectStatisticsGUI\confirmDeleteData(), ilLPObjectStatisticsGUI\daily(), ilLearningProgressBaseGUI(), ilLPObjectStatisticsGUI\learningProgress(), ilLMStatisticsGUI\show(), ilLPObjectStatisticsGUI\showAccessGraph(), ilLPObjectStatisticsGUI\showDailyGraph(), ilLPObjectStatisticsGUI\showLearningProgressGraph(), ilLPListOfObjectsGUI\showObjectSummary(), ilLPObjectStatisticsGUI\showTypesGraph(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPObjectStatisticsGUI\types().