ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
ilLearningProgressBaseGUI ($a_mode, $a_ref_id=0, $a_usr_id=0) | |
activePDF () | |
__checkPDF () | |
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 494 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 472 of file class.ilLearningProgressBaseGUI.php.
References ilOnlineTracking\_getOnlineTime(), 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 262 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 272 of file class.ilLearningProgressBaseGUI.php.
References getMode(), ilUtil\infoPanel(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__checkPDF | ( | ) |
Definition at line 94 of file class.ilLearningProgressBaseGUI.php.
References ilRPCServerSettings\getInstance().
ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 156 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 678 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 642 of file class.ilLearningProgressBaseGUI.php.
& ilLearningProgressBaseGUI::__initTableGUI | ( | ) |
Definition at line 420 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 309 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__readItemStatusInfo | ( | $a_items | ) |
Definition at line 652 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 561 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatusWrapper\_determineStatus(), 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 165 of file class.ilLearningProgressBaseGUI.php.
References $lng, ilUtil\_getObjectsByOperations(), 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_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 587 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 702 of file class.ilLearningProgressBaseGUI.php.
References $ilCtrl, $lng, $mode, $tpl, ilLPStatusWrapper\_getCompleted(), ilObjUser\_getPersonalPicturePath(), ilLPObjSettings\_lookupMode(), ilLPObjSettings\_mode2Text(), ilUtil\formCheckbox(), LP_MODE_MANUAL, LP_MODE_MANUAL_BY_TUTOR, and ilUtil\prepareFormOutput().
Referenced by ilLPListOfObjectsGUI\editUser().
ilLearningProgressBaseGUI::__showImageByStatus | ( | & | $tpl, |
$a_status, | |||
$tpl_prefix = "" |
|||
) |
Definition at line 333 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 431 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 616 of file class.ilLearningProgressBaseGUI.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilPDFPresentation\__createObjectList(), ilPDFPresentation\__createPersonalProgressList(), and ilPDFPresentation\__showItems().
ilLearningProgressBaseGUI::__updateUser | ( | $user_id, | |
$obj_id | |||
) |
Definition at line 763 of file class.ilLearningProgressBaseGUI.php.
References $_POST, ilLPStatusWrapper\_updateStatus(), and ilUtil\stripSlashes().
Referenced by ilLPListOfObjectsGUI\updateUser().
ilLearningProgressBaseGUI::_getImagePathForStatus | ( | $a_status | ) |
Get image path for status.
Definition at line 353 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(), _showImageByStatus(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getItems(), and ilLPTableBaseGUI\parseValue().
ilLearningProgressBaseGUI::_getStatusText | ( | $a_status | ) |
Get status alt text.
Definition at line 392 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(), ilLPObjectsTableGUI\__construct(), ilLPObjectsTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderCSV(), ilLPObjectsTableGUI\fillHeaderExcel(), ilTrSummaryTableGUI\fillHeaderExcel(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLPProgressTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrSummaryTableGUI\getItems(), and ilLPTableBaseGUI\parseValue().
|
static |
Definition at line 339 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, and _getImagePathForStatus().
Referenced by __showImageByStatus().
ilLearningProgressBaseGUI::activateStatistics | ( | $a_act = true | ) |
Definition at line 150 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjContentObjectGUI\executeCommand().
ilLearningProgressBaseGUI::activePDF | ( | ) |
Definition at line 89 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 122 of file class.ilLearningProgressBaseGUI.php.
References $mode.
Referenced by __buildFooter(), __buildHeader(), ilLearningProgressGUI\__getNextClass(), __setSubTabs(), ilPDFPresentation\createDetails(), ilPDFPresentation\createList(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\show().
ilLearningProgressBaseGUI::getObjId | ( | ) |
Definition at line 132 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 127 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilPDFPresentation\__createObjectDetails(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilPDFPresentation\__showItems(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfSettingsGUI\getTableByMode(), ilLPListOfProgressGUI\show(), ilLPListOfObjectsGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), and ilLPListOfObjectsGUI\showUserObjectMatrix().
ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 137 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(), ilLPObjectStatisticsGUI\ilLPObjectStatisticsGUI(), and ilPDFPresentation\ilPDFPresentation().
ilLearningProgressBaseGUI::isAnonymized | ( | ) |
Definition at line 101 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::isObjectAnonymized | ( | ) |
Definition at line 106 of file class.ilLearningProgressBaseGUI.php.
References ilObjTest\_lookupAnonymity().
Referenced by ilLearningProgressGUI\__getNextClass(), and __setSubTabs().
|
static |
Definition at line 777 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPObjectsTableGUI\getItems(), 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(), ilPDFPresentation\ilPDFPresentation(), ilLMStatisticsGUI\show(), ilLPObjectStatisticsGUI\showAccessGraph(), ilLPObjectStatisticsGUI\showDailyGraph(), and ilLPObjectStatisticsGUI\showTypesGraph().
ilLearningProgressBaseGUI::$mode = 0 |
Definition at line 66 of file class.ilLearningProgressBaseGUI.php.
Referenced by __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(), ilLMStatisticsGUI\show(), ilLPObjectStatisticsGUI\showAccessGraph(), ilLPObjectStatisticsGUI\showDailyGraph(), ilLPListOfObjectsGUI\showObjectSummary(), ilLPObjectStatisticsGUI\showTypesGraph(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPObjectStatisticsGUI\types().