ILIAS
Release_4_4_x_branch Revision 61816
|
Class ilObjUserTrackingGUI. More...
Public Member Functions | |
ilLearningProgressGUI ($a_mode, $a_ref_id=0, $a_user_id=0) | |
& | executeCommand () |
execute command | |
__setCmdClass ($a_class) | |
__getNextClass () | |
Public Member Functions inherited from ilLearningProgressBaseGUI | |
ilLearningProgressBaseGUI ($a_mode, $a_ref_id=0, $a_usr_id=0) | |
isAnonymized () | |
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) |
Protected Member Functions | |
editManual () | |
initCollectionManualForm () | |
updateManual () | |
showtlt () |
Additional Inherited Members | |
Static Public Member Functions inherited from ilLearningProgressBaseGUI | |
static | _showImageByStatus (&$tpl, $a_status, $tpl_prefix="") |
static | isObjectOffline ($a_obj_id, $a_type=null) |
Data Fields inherited from ilLearningProgressBaseGUI | |
$tpl = null | |
$ctrl = null | |
$lng = null | |
$ref_id = 0 | |
$mode = 0 | |
$statistics_activated = false | |
const | LP_CONTEXT_PERSONAL_DESKTOP = 1 |
const | LP_CONTEXT_ADMINISTRATION = 2 |
const | LP_CONTEXT_REPOSITORY = 3 |
const | LP_CONTEXT_USER_FOLDER = 4 |
const | LP_CONTEXT_ORG_UNIT = 5 |
const | LP_ACTIVE_SETTINGS = 1 |
const | LP_ACTIVE_OBJECTS = 2 |
const | LP_ACTIVE_PROGRESS = 3 |
const | LP_ACTIVE_LM_STATISTICS = 4 |
const | LP_ACTIVE_USERS = 5 |
const | LP_ACTIVE_SUMMARY = 6 |
const | LP_ACTIVE_OBJSTATACCESS = 7 |
const | LP_ACTIVE_OBJSTATTYPES = 8 |
const | LP_ACTIVE_OBJSTATDAILY = 9 |
const | LP_ACTIVE_OBJSTATADMIN = 10 |
const | LP_ACTIVE_MATRIX = 11 |
Protected Attributes inherited from ilLearningProgressBaseGUI | |
$anonymized |
Class ilObjUserTrackingGUI.
ilLearningProgressGUI: ilLPListOfObjectsGUI, ilLPListOfSettingsGUI, ilLPListOfProgressGUI, ilLMStatisticsGUI ilLearningProgressGUI: ilLPObjectStatisticsGUI
Definition at line 17 of file class.ilLearningProgressGUI.php.
ilLearningProgressGUI::__getNextClass | ( | ) |
Definition at line 151 of file class.ilLearningProgressGUI.php.
References $_SESSION, $cmd, $ilUser, ilObjUserTracking\_enabledLearningProgress(), ilObjUserTracking\_enabledUserRelatedData(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilObject\_lookupObjId(), ilObjectLP\getInstance(), ilLearningProgressBaseGUI\getMode(), ilLearningProgressBaseGUI\getRefId(), ilLearningProgressBaseGUI\LP_CONTEXT_PERSONAL_DESKTOP, and ilUtil\redirect().
Referenced by executeCommand().
ilLearningProgressGUI::__setCmdClass | ( | $a_class | ) |
Definition at line 139 of file class.ilLearningProgressGUI.php.
Referenced by executeCommand().
|
protected |
Definition at line 255 of file class.ilLearningProgressGUI.php.
References ilLearningProgressBaseGUI\$tpl, ilObject\_lookupObjId(), ilLearningProgressAccess\checkAccess(), ilObjectLP\getInstance(), ilLearningProgressBaseGUI\getRefId(), initCollectionManualForm(), and ilLPObjSettings\LP_MODE_COLLECTION_MANUAL.
& ilLearningProgressGUI::executeCommand | ( | ) |
execute command
Definition at line 27 of file class.ilLearningProgressGUI.php.
References $cmd, $ilBench, ilLearningProgressBaseGUI\__buildFooter(), ilLearningProgressBaseGUI\__buildHeader(), __getNextClass(), __setCmdClass(), ilLearningProgressBaseGUI\__setSubTabs(), ilLearningProgressBaseGUI\getMode(), ilLearningProgressBaseGUI\getRefId(), and ilLearningProgressBaseGUI\getUserId().
ilLearningProgressGUI::ilLearningProgressGUI | ( | $a_mode, | |
$a_ref_id = 0 , |
|||
$a_user_id = 0 |
|||
) |
Definition at line 19 of file class.ilLearningProgressGUI.php.
References ilLearningProgressBaseGUI\ilLearningProgressBaseGUI().
|
protected |
Definition at line 272 of file class.ilLearningProgressGUI.php.
References $changed, $ilCtrl, ilLearningProgressBaseGUI\$lng, $path, ilLPStatusFactory\_getClassById(), ilLearningProgressBaseGUI\_getImagePathForStatus(), ilLearningProgressBaseGUI\_getStatusText(), ilObject\_lookupType(), ilDatePresentation\formatDate(), ilObjectLP\getInstance(), ilLearningProgressBaseGUI\getObjId(), ilLearningProgressBaseGUI\getRefId(), IL_CAL_UNIX, ilUtil\img(), ilLPObjSettings\LP_MODE_COLLECTION_MANUAL, ilLPStatus\LP_STATUS_COMPLETED_NUM, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by editManual(), and updateManual().
|
protected |
Definition at line 376 of file class.ilLearningProgressGUI.php.
References $ilCtrl, $ilUser, ilLearningProgressBaseGUI\$lng, $path, ilLearningProgressBaseGUI\$tpl, ilLPStatusFactory\_getClassById(), ilLearningProgressBaseGUI\_getImagePathForStatus(), ilLearningProgressBaseGUI\_getStatusText(), ilFormat\_secondsToString(), ilObjectLP\getInstance(), ilLearningProgressBaseGUI\getObjId(), ilLearningProgressBaseGUI\getRefId(), ilUtil\img(), ilLPObjSettings\LP_MODE_COLLECTION_TLT, ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
|
protected |
Definition at line 350 of file class.ilLearningProgressGUI.php.
References $ilCtrl, ilLearningProgressBaseGUI\$lng, ilLPStatusFactory\_getClassById(), ilObject\_lookupObjId(), ilLearningProgressAccess\checkAccess(), ilObjectLP\getInstance(), ilLearningProgressBaseGUI\getObjId(), ilLearningProgressBaseGUI\getRefId(), initCollectionManualForm(), ilLPObjSettings\LP_MODE_COLLECTION_MANUAL, and ilUtil\sendSuccess().