ILIAS
Release_4_0_x_branch Revision 61816
|
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="") | |
& | __initTableGUI () |
__showObjectDetails (&$info, $item_id=0) | |
show details about current object. | |
__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 () |
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 52 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::__appendLPDetails | ( | & | $info, |
$item_id, | |||
$user_id | |||
) |
Definition at line 388 of file class.ilLearningProgressBaseGUI.php.
References $comment, $type, __readStatus(), ilLearningProgress\_getProgress(), ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilFormat\_secondsToString(), ilDatePresentation\formatDate(), and IL_CAL_DATETIME.
Referenced by ilLPListOfProgressGUI\__showContainerList(), ilLPListOfProgressGUI\__showDetails(), and ilLPListOfObjectsGUI\editUser().
ilLearningProgressBaseGUI::__buildFooter | ( | ) |
Definition at line 238 of file class.ilLearningProgressBaseGUI.php.
References getMode(), and LP_MODE_PERSONAL_DESKTOP.
Referenced by ilLearningProgressGUI\executeCommand().
ilLearningProgressBaseGUI::__buildHeader | ( | ) |
Definition at line 248 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 88 of file class.ilLearningProgressBaseGUI.php.
References ilRPCServerSettings\getInstance().
Referenced by ilLPListOfObjectsGUI\ilLPListOfObjectsGUI(), and ilLPListOfProgressGUI\ilLPListOfProgressGUI().
ilLearningProgressBaseGUI::__getDefaultCommand | ( | ) |
Definition at line 150 of file class.ilLearningProgressBaseGUI.php.
References $cmd.
Referenced by ilLPListOfProgressGUI\executeCommand(), ilLPListOfSettingsGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), and ilLMStatisticsGUI\executeCommand().
ilLearningProgressBaseGUI::__getLegendHTML | ( | ) |
Definition at line 556 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, and ilUtil\getImagePath().
Referenced by ilLPListOfProgressGUI\__showContainerList(), ilLPListOfProgressGUI\__showProgressList(), and ilLPListOfObjectsGUI\__showUsersList().
ilLearningProgressBaseGUI::__getPercent | ( | $max, | |
$reached | |||
) |
Definition at line 520 of file class.ilLearningProgressBaseGUI.php.
& ilLearningProgressBaseGUI::__initTableGUI | ( | ) |
Definition at line 349 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 284 of file class.ilLearningProgressBaseGUI.php.
References $data.
ilLearningProgressBaseGUI::__readItemStatusInfo | ( | $a_items | ) |
Definition at line 530 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 442 of file class.ilLearningProgressBaseGUI.php.
References ilLPStatusWrapper\_getCompleted(), ilLPStatusWrapper\_getFailed(), ilLPStatusWrapper\_getInProgress(), elseif(), 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 159 of file class.ilLearningProgressBaseGUI.php.
References getMode(), getUserId(), isAnonymized(), LP_ACTIVE_LM_STATISTICS, LP_ACTIVE_OBJECTS, LP_ACTIVE_PROGRESS, LP_ACTIVE_SETTINGS, LP_MODE_ADMINISTRATION, LP_MODE_PERSONAL_DESKTOP, LP_MODE_REPOSITORY, and LP_MODE_USER_FOLDER.
Referenced by ilLearningProgressGUI\executeCommand(), and ilLPListOfProgressGUI\show().
ilLearningProgressBaseGUI::__showButton | ( | $a_link, | |
$a_text, | |||
$a_target = '' |
|||
) |
Definition at line 465 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfObjectsGUI\__listObjects(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfProgressGUI\details(), ilLPListOfObjectsGUI\details(), ilLMStatisticsGUI\listUsersGroup(), ilLMStatisticsGUI\listUsersRole(), and ilLMStatisticsGUI\search().
ilLearningProgressBaseGUI::__showImageByStatus | ( | & | $tpl, |
$a_status, | |||
$tpl_prefix = "" |
|||
) |
Definition at line 308 of file class.ilLearningProgressBaseGUI.php.
References $tpl, and _showImageByStatus().
Referenced by ilLPListOfObjectsGUI\__renderContainerRow(), and ilLPListOfProgressGUI\__renderContainerRow().
ilLearningProgressBaseGUI::__showObjectDetails | ( | & | $info, |
$item_id = 0 |
|||
) |
show details about current object.
Uses an existing info_gui object.
Definition at line 360 of file class.ilLearningProgressBaseGUI.php.
References $desc, ilMDEducational\_getTypicalLearningTimeSeconds(), ilLPObjSettings\_lookupMode(), ilLPObjSettings\_lookupVisits(), ilLPObjSettings\_mode2Text(), ilFormat\_secondsToString(), and LP_MODE_VISITS.
Referenced by ilLPListOfProgressGUI\__showContainerList(), and ilLPListOfProgressGUI\__showDetails().
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 494 of file class.ilLearningProgressBaseGUI.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilPDFPresentation\__createObjectList(), ilPDFPresentation\__createPersonalProgressList(), ilLPListOfObjectsGUI\__listObjects(), ilPDFPresentation\__showItems(), ilLPListOfProgressGUI\__showProgressList(), and ilLPListOfObjectsGUI\__showUsersList().
|
static |
Definition at line 314 of file class.ilLearningProgressBaseGUI.php.
References $lng, $tpl, ilUtil\getImagePath(), LP_STATUS_COMPLETED, LP_STATUS_FAILED, LP_STATUS_IN_PROGRESS, LP_STATUS_NOT_ATTEMPTED, LP_STATUS_NOT_PARTICIPATED, LP_STATUS_NOT_REGISTERED, LP_STATUS_PARTICIPATED, and LP_STATUS_REGISTERED.
Referenced by __showImageByStatus(), ilLPProgressTableGUI\fillRow(), and ilLPObjectsTableGUI\fillRow().
ilLearningProgressBaseGUI::activateStatistics | ( | $a_act = true | ) |
Definition at line 144 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilObjContentObjectGUI\executeCommand().
ilLearningProgressBaseGUI::activePDF | ( | ) |
Definition at line 83 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfObjectsGUI\__listObjects(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfProgressGUI\details(), and ilLPListOfObjectsGUI\details().
ilLearningProgressBaseGUI::getMode | ( | ) |
Definition at line 116 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\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\show().
ilLearningProgressBaseGUI::getObjId | ( | ) |
Definition at line 126 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\__showCollectionTable(), ilLPListOfSettingsGUI\__showSCOTable(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), and ilLPListOfSettingsGUI\ilLPListOfSettingsGUI().
ilLearningProgressBaseGUI::getRefId | ( | ) |
Definition at line 121 of file class.ilLearningProgressBaseGUI.php.
References $ref_id.
Referenced by ilPDFPresentation\__createObjectDetails(), ilLearningProgressGUI\__getNextClass(), ilLPListOfProgressGUI\__initDetails(), ilLPListOfObjectsGUI\__initDetails(), ilLPListOfSettingsGUI\__showCollectionTable(), ilPDFPresentation\__showItems(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\show(), and ilLPListOfObjectsGUI\show().
ilLearningProgressBaseGUI::getUserId | ( | ) |
Definition at line 131 of file class.ilLearningProgressBaseGUI.php.
References $_GET, and $usr_id.
Referenced by __setSubTabs(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), and ilLPListOfProgressGUI\show().
ilLearningProgressBaseGUI::ilLearningProgressBaseGUI | ( | $a_mode, | |
$a_ref_id = 0 , |
|||
$a_usr_id = 0 |
|||
) |
Definition at line 64 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 95 of file class.ilLearningProgressBaseGUI.php.
Referenced by __setSubTabs().
ilLearningProgressBaseGUI::isObjectAnonymized | ( | ) |
Definition at line 100 of file class.ilLearningProgressBaseGUI.php.
References ilObjTest\_lookupAnonymity().
Referenced by ilLearningProgressGUI\__getNextClass().
ilLearningProgressBaseGUI::$ctrl = null |
Definition at line 55 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$lng = null |
Definition at line 56 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), _showImageByStatus(), ilLearningProgressBaseGUI(), ilPDFPresentation\ilPDFPresentation(), and ilLMStatisticsGUI\show().
ilLearningProgressBaseGUI::$mode = 0 |
Definition at line 60 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfObjectsGUI\__showEditUser(), and getMode().
ilLearningProgressBaseGUI::$ref_id = 0 |
Definition at line 58 of file class.ilLearningProgressBaseGUI.php.
Referenced by ilLPListOfSettingsGUI\__showCollectionTable(), ilLPListOfSettingsGUI\assign(), ilLPListOfSettingsGUI\deassign(), and getRefId().
ilLearningProgressBaseGUI::$statistics_activated = false |
Definition at line 62 of file class.ilLearningProgressBaseGUI.php.
ilLearningProgressBaseGUI::$tpl = null |
Definition at line 54 of file class.ilLearningProgressBaseGUI.php.
Referenced by __getLegendHTML(), ilLPListOfSettingsGUI\__showCollectionTable(), __showImageByStatus(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfSettingsGUI\__showSCOTable(), ilLMStatisticsGUI\__showSearchGroupTable(), ilLMStatisticsGUI\__showSearchRoleTable(), ilLMStatisticsGUI\__showSearchUserTable(), _showImageByStatus(), ilLearningProgressBaseGUI(), and ilLMStatisticsGUI\show().