ILIAS
Release_4_1_x_branch Revision 61804
|
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="") |
Data Fields | |
$tpl = null | |
$ctrl = null | |
$lng = null | |
$ref_id = 0 | |
$mode = 0 | |
$statistics_activated = false |
Definition at line 54 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__appendLPDetails | ( | & | $info, |
$item_id, | |||
$user_id | |||
) |
Definition at line 482 of file class.ilLearningProgressBaseGUI.php.
References $comment, __readStatus(), ilLearningProgress\_getProgress(), ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), and IL_CAL_DATETIME.
Referenced by ilLPListOfProgressGUI\details().
ilLearningProgressBaseGUI::__appendUserInfo | ( | & | $info, |
$a_user | |||
) |
Definition at line 460 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 251 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 261 of file class.ilLearningProgressBaseGUI.php.
References ilUtil\getImagePath(), getMode(), ilUtil\infoPanel(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__checkPDF | ( | ) |
Definition at line 90 of file class.ilLearningProgressBaseGUI.php.
References ilRPCServerSettings\getInstance().
ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 152 of file class.ilLearningProgressBaseGUI.php.
References $cmd.
Referenced by ilLPListOfSettingsGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLMStatisticsGUI\executeCommand().
ilLearningProgressBaseGUI::__getLegendHTML | ( | ) |
Definition at line 650 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 614 of file class.ilLearningProgressBaseGUI.php.
& ilLearningProgressBaseGUI::__initTableGUI | ( | ) |
Definition at line 408 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 297 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__readItemStatusInfo | ( | $a_items | ) |
Definition at line 624 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 536 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), LP_STATUS_COMPLETED, LP_STATUS_FAILED, LP_STATUS_IN_PROGRESS, and LP_STATUS_NOT_ATTEMPTED.
Referenced by __appendLPDetails().
ilLearningProgressBaseGUI::__setSubTabs | ( | $a_active | ) |
Definition at line 161 of file class.ilLearningProgressBaseGUI.php.
References $lng, getMode(), getUserId(), isAnonymized(), 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 559 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 674 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 321 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 419 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 588 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 735 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 341 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 _showImageByStatus(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilTrSummaryTableGUI\getItems(), and ilLPTableBaseGUI\parseValue().
ilLearningProgressBaseGUI::_getStatusText | ( | $a_status | ) |
Get status alt text.
Definition at line 380 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 ilLPObjectsTableGUI\__construct(), ilLPObjectsTableGUI\fillHeaderCSV(), ilLPObjectsTableGUI\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 327 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, and _getImagePathForStatus().
Referenced by __showImageByStatus().
ilLearningProgressBaseGUI::activateStatistics | ( | $a_act = true | ) |
Definition at line 146 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjContentObjectGUI\executeCommand().
ilLearningProgressBaseGUI::activePDF | ( | ) |
Definition at line 85 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 118 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 128 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\__showCollectionTable(), ilLPListOfSettingsGUI\__showSCOTable(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), and ilLPListOfSettingsGUI\ilLPListOfSettingsGUI().
ilLearningProgressBaseGUI::getRefId | ( | ) |
Definition at line 123 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilPDFPresentation\__createObjectDetails(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfSettingsGUI\__showCollectionTable(), ilPDFPresentation\__showItems(), ilLPListOfProgressGUI\details(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\show(), ilLPListOfObjectsGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), and ilLPListOfObjectsGUI\showUserObjectMatrix().
ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 133 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 66 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 ilPDFPresentation\ilPDFPresentation().
ilLearningProgressBaseGUI::isAnonymized | ( | ) |
Definition at line 97 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().
ilLearningProgressBaseGUI::isObjectAnonymized | ( | ) |
Definition at line 102 of file class.ilLearningProgressBaseGUI.php.
References ilObjTest\_lookupAnonymity().
Referenced by ilLearningProgressGUI\__getNextClass().
ilLearningProgressBaseGUI::$ctrl = null |
Definition at line 57 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$lng = null |
Definition at line 58 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), __setSubTabs(), __showEditUser(), _getStatusText(), _showImageByStatus(), ilLearningProgressBaseGUI(), ilPDFPresentation\ilPDFPresentation(), and ilLMStatisticsGUI\show().
ilLearningProgressBaseGUI::$mode = 0 |
Definition at line 62 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\__showCollectionTable(), __showEditUser(), and getMode().
ilLearningProgressBaseGUI::$ref_id = 0 |
Definition at line 60 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\__showCollectionTable(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), ilLPListOfProgressGUI\details(), and getRefId().
ilLearningProgressBaseGUI::$statistics_activated = false |
Definition at line 64 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$tpl = null |
Definition at line 56 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), ilLPListOfSettingsGUI\__showCollectionTable(), __showEditUser(), __showImageByStatus(), ilLPListOfSettingsGUI\__showSCOTable(), ilLMStatisticsGUI\__showSearchGroupTable(), ilLMStatisticsGUI\__showSearchRoleTable(), ilLMStatisticsGUI\__showSearchUserTable(), _showImageByStatus(), ilLearningProgressBaseGUI(), ilLMStatisticsGUI\show(), ilLPListOfObjectsGUI\showObjectSummary(), and ilLPListOfObjectsGUI\showUserObjectMatrix().