ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilLearningProgressBaseGUI Class Reference
+ Inheritance diagram for ilLearningProgressBaseGUI:
+ Collaboration diagram for ilLearningProgressBaseGUI:

Public Member Functions

 __construct ($a_mode, $a_ref_id=0, $a_usr_id=0)
 
 isAnonymized ()
 
 getMode ()
 
 getRefId ()
 
 getObjId ()
 
 getUserId ()
 
 __getDefaultCommand ()
 
 __setSubTabs ($a_active)
 
 __buildFooter ()
 
 __buildHeader ()
 
 __insertPath (&$a_tpl, $a_ref_id)
 insert path More...
 
 __showImageByStatus (&$tpl, $a_status, $tpl_prefix="")
 
__initTableGUI ()
 
 __showObjectDetails (&$info, $item_id=0, $add_section=true)
 show details about current object. More...
 
 __appendUserInfo (&$info, $a_user)
 
 __appendLPDetails (&$info, $item_id, $user_id)
 
 __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. More...
 
 __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 _getImagePathForStatus ($a_status)
 Get image path for status. More...
 
static _getStatusText ($a_status, $a_lng=null)
 Get status alt text. More...
 
static __readStatus ($a_obj_id, $user_id)
 
static isObjectOffline ($a_obj_id, $a_type=null)
 

Data Fields

 $tpl = null
 
 $ctrl = null
 
 $lng = null
 
 $ref_id = 0
 
 $mode = 0
 
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_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 Member Functions

 initEditUserForm ($a_user_id, $a_obj_id, $a_cancel=null)
 

Protected Attributes

 $anonymized
 
 $logger
 
 $tabs_gui
 

Detailed Description

Definition at line 21 of file class.ilLearningProgressBaseGUI.php.

Constructor & Destructor Documentation

◆ __construct()

ilLearningProgressBaseGUI::__construct (   $a_mode,
  $a_ref_id = 0,
  $a_usr_id = 0 
)

Reimplemented in ilLPListOfProgressGUI.

Definition at line 60 of file class.ilLearningProgressBaseGUI.php.

61 {
62 global $DIC;
63
64 $tpl = $DIC['tpl'];
65 $ilCtrl = $DIC['ilCtrl'];
66 $lng = $DIC['lng'];
67 $ilObjDataCache = $DIC['ilObjDataCache'];
68 $ilTabs = $DIC['ilTabs'];
69
70 $this->tpl = $tpl;
71 $this->ctrl = $ilCtrl;
72 $this->lng = $lng;
73 $this->lng->loadLanguageModule('trac');
74 $this->tabs_gui = $ilTabs;
75
76 $this->mode = $a_mode;
77 $this->ref_id = $a_ref_id;
78 $this->obj_id = $ilObjDataCache->lookupObjId($this->ref_id);
79 $this->obj_type = $ilObjDataCache->lookupType($this->obj_id);
80 $this->usr_id = $a_usr_id;
81
82 $this->anonymized = (bool) !ilObjUserTracking::_enabledUserRelatedData();
83 if (!$this->anonymized && $this->obj_id) {
84 include_once "Services/Object/classes/class.ilObjectLP.php";
85 $olp = ilObjectLP::getInstance($this->obj_id);
86 $this->anonymized = $olp->isAnonymized();
87 }
88
89 $this->logger = $GLOBALS['DIC']->logger()->trac();
90 }
if(!defined('PATH_SEPARATOR')) $GLOBALS['_PEAR_default_error_mode']
Definition: PEAR.php:64
static _enabledUserRelatedData()
check wether user related tracking is enabled or not
static getInstance($a_obj_id)
global $ilCtrl
Definition: ilias.php:18
$DIC
Definition: xapitoken.php:46

References $DIC, $GLOBALS, $ilCtrl, $lng, $tpl, ilObjUserTracking\_enabledUserRelatedData(), and ilObjectLP\getInstance().

+ Here is the call graph for this function:

Member Function Documentation

◆ __appendLPDetails()

ilLearningProgressBaseGUI::__appendLPDetails ( $info,
  $item_id,
  $user_id 
)

Definition at line 481 of file class.ilLearningProgressBaseGUI.php.

482 {
483 global $DIC;
484
485 $ilObjDataCache = $DIC['ilObjDataCache'];
486
487 $type = $ilObjDataCache->lookupType($item_id);
488
489 // Section learning_progress
490 // $info->addSection($this->lng->txt('trac_learning_progress'));
491 // see ilLPTableBaseGUI::parseTitle();
492 $info->addSection($this->lng->txt("trac_progress") . ": " . ilObject::_lookupTitle($item_id));
493
494 $olp = ilObjectLP::getInstance($item_id);
495 $info->addProperty(
496 $this->lng->txt('trac_mode'),
497 $olp->getModeText($olp->getCurrentMode())
498 );
499
500 switch ($type) {
501 case 'lm':
502 case 'htlm':
503 include_once 'Services/Tracking/classes/class.ilLearningProgress.php';
504 $progress = ilLearningProgress::_getProgress($user_id, $item_id);
505
506 if ($progress['access_time']) {
507 $info->addProperty(
508 $this->lng->txt('last_access'),
509 ilDatePresentation::formatDate(new ilDateTime($progress['access_time'], IL_CAL_UNIX))
510 );
511 } else {
512 $info->addProperty($this->lng->txt('last_access'), $this->lng->txt('trac_not_accessed'));
513 }
514 $info->addProperty($this->lng->txt('trac_visits'), (int) $progress['visits']);
516 $info->addProperty($this->lng->txt('trac_spent_time'), ilDatePresentation::secondsToString($progress['spent_seconds']));
517 }
518 // fallthrough
519
520 // no break
521 case 'exc':
522 case 'tst':
523 case 'file':
524 case 'mcst':
525 case 'svy':
526 case 'crs':
527 case 'sahs':
528 case 'grp':
529 case 'iass':
530 case 'copa':
531 case 'cmix':
532 case 'lti':
533 case 'sess':
534 case 'lso':
535 // display status as image
536 include_once("./Services/Tracking/classes/class.ilLearningProgressBaseGUI.php");
537 $status = $this->__readStatus($item_id, $user_id);
539 $status_text = ilLearningProgressBaseGUI::_getStatusText($status);
540 $info->addProperty(
541 $this->lng->txt('trac_status'),
542 ilUtil::img($status_path, $status_text) . " " . $status_text
543 );
544
545 // #15334 - see ilLPTableBaseGUI::isPercentageAvailable()
546 $mode = $olp->getCurrentMode();
547 if (in_array($mode, array(ilLPObjSettings::LP_MODE_TLT,
549 // ilLPObjSettings::LP_MODE_OBJECTIVES,
559 include_once 'Services/Tracking/classes/class.ilLPStatus.php';
560 $perc = ilLPStatus::_lookupPercentage($item_id, $user_id);
561 $info->addProperty($this->lng->txt('trac_percentage'), (int) $perc . "%");
562 }
563 break;
564
565 }
566
567 include_once 'Services/Tracking/classes/class.ilLPMarks.php';
568
570 if (strlen($mark = ilLPMarks::_lookupMark($user_id, $item_id))) {
571 $info->addProperty($this->lng->txt('trac_mark'), $mark);
572 }
573 }
574
575 if (strlen($comment = ilLPMarks::_lookupComment($user_id, $item_id))) {
576 $info->addProperty($this->lng->txt('trac_comment'), $comment);
577 }
578 }
$comment
Definition: buildRTE.php:83
const IL_CAL_UNIX
static secondsToString($seconds, $force_with_seconds=false, $a_lng=null)
converts seconds to string: Long: 7 days 4 hour(s) ...
static formatDate(ilDateTime $date, $a_skip_day=false, $a_include_wd=false, $include_seconds=false)
Format a date @access public.
@classDescription Date and time handling
static _lookupMark($a_usr_id, $a_obj_id)
static _lookupComment($a_usr_id, $a_obj_id)
const LP_MODE_CMIX_COMPL_OR_PASSED_WITH_FAILED
static _lookupPercentage($a_obj_id, $a_user_id)
Lookup percentage.
static _getStatusText($a_status, $a_lng=null)
Get status alt text.
static __readStatus($a_obj_id, $user_id)
static _getImagePathForStatus($a_status)
Get image path for status.
static _getProgress($a_user_id, $a_obj_id)
static supportsMark($a_obj_type)
static supportsSpentSeconds($a_obj_type)
static _lookupTitle($a_id)
lookup object title
static img($a_src, $a_alt=null, $a_width="", $a_height="", $a_border=0, $a_id="", $a_class="")
Build img tag.
$type

References $comment, $DIC, $mode, $type, __readStatus(), _getImagePathForStatus(), ilLearningProgress\_getProgress(), _getStatusText(), ilLPMarks\_lookupComment(), ilLPMarks\_lookupMark(), ilLPStatus\_lookupPercentage(), ilObject\_lookupTitle(), ilDatePresentation\formatDate(), ilObjectLP\getInstance(), IL_CAL_UNIX, ilUtil\img(), ilLPObjSettings\LP_MODE_CMIX_COMPL_OR_PASSED_WITH_FAILED, ilLPObjSettings\LP_MODE_CMIX_COMPL_WITH_FAILED, ilLPObjSettings\LP_MODE_CMIX_COMPLETED, ilLPObjSettings\LP_MODE_CMIX_COMPLETED_OR_PASSED, ilLPObjSettings\LP_MODE_CMIX_PASSED, ilLPObjSettings\LP_MODE_CMIX_PASSED_WITH_FAILED, ilLPObjSettings\LP_MODE_LTI_OUTCOME, ilLPObjSettings\LP_MODE_SCORM, ilLPObjSettings\LP_MODE_TEST_PASSED, ilLPObjSettings\LP_MODE_TLT, ilLPObjSettings\LP_MODE_VISITS, ilDatePresentation\secondsToString(), ilObjectLP\supportsMark(), and ilObjectLP\supportsSpentSeconds().

+ Here is the call graph for this function:

◆ __appendUserInfo()

ilLearningProgressBaseGUI::__appendUserInfo ( $info,
  $a_user 
)

Definition at line 452 of file class.ilLearningProgressBaseGUI.php.

453 {
454 global $DIC;
455
456 $ilUser = $DIC['ilUser'];
457
458 // #13525 - irrelevant personal data is not to be presented
459 return;
460
461 if (!is_object($a_user)) {
462 $a_user = ilObjectFactory::getInstanceByObjId($a_user);
463 }
464
465 if ($a_user->getId() != $ilUser->getId()) {
466 $info->addSection($this->lng->txt("trac_user_data"));
467 // $info->addProperty($this->lng->txt('username'),$a_user->getLogin());
468 // $info->addProperty($this->lng->txt('name'),$a_user->getFullname());
469 $info->addProperty(
470 $this->lng->txt('last_login'),
471 ilDatePresentation::formatDate(new ilDateTime($a_user->getLastLogin(), IL_CAL_DATETIME))
472 );
473 $info->addProperty(
474 $this->lng->txt('trac_total_online'),
475 ilDatePresentation::secondsToString(ilOnlineTracking::getOnlineTime($a_user->getId()))
476 );
477 return true;
478 }
479 }
const IL_CAL_DATETIME
static getInstanceByObjId($a_obj_id, $stop_on_error=true)
get an instance of an Ilias object by object id
$ilUser
Definition: imgupload.php:18

References $DIC, $ilUser, ilDatePresentation\formatDate(), ilObjectFactory\getInstanceByObjId(), IL_CAL_DATETIME, and ilDatePresentation\secondsToString().

Referenced by ilLPListOfProgressGUI\__showProgressList(), ilLPListOfObjectsGUI\editUser(), and ilLPListOfObjectsGUI\userDetails().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __buildFooter()

ilLearningProgressBaseGUI::__buildFooter ( )

Definition at line 271 of file class.ilLearningProgressBaseGUI.php.

272 {
273 switch ($this->getMode()) {
275
276 $this->tpl->printToStdout(true);
277 }
278 }

References getMode(), and LP_CONTEXT_PERSONAL_DESKTOP.

Referenced by ilLearningProgressGUI\executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __buildHeader()

ilLearningProgressBaseGUI::__buildHeader ( )

Definition at line 280 of file class.ilLearningProgressBaseGUI.php.

281 {
282 if ($this->getMode() == self::LP_CONTEXT_PERSONAL_DESKTOP) {
284 }
285 }
static infoPanel($a_keep=true)

References getMode(), and ilUtil\infoPanel().

Referenced by ilLearningProgressGUI\executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __getDefaultCommand()

ilLearningProgressBaseGUI::__getDefaultCommand ( )

Definition at line 124 of file class.ilLearningProgressBaseGUI.php.

125 {
126 if (strlen($cmd = $this->ctrl->getCmd())) {
127 return $cmd;
128 }
129 return 'show';
130 }

Referenced by ilLPObjectStatisticsGUI\executeCommand(), ilLPListOfObjectsGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLPListOfSettingsGUI\executeCommand().

+ Here is the caller graph for this function:

◆ __getLegendHTML()

ilLearningProgressBaseGUI::__getLegendHTML ( )

Definition at line 680 of file class.ilLearningProgressBaseGUI.php.

681 {
682 global $DIC;
683
684 $lng = $DIC['lng'];
685
686 $tpl = new ilTemplate("tpl.lp_legend.html", true, true, "Services/Tracking");
687 $tpl->setVariable(
688 "IMG_NOT_ATTEMPTED",
689 ilUtil::getImagePath("scorm/not_attempted.svg")
690 );
691 $tpl->setVariable(
692 "IMG_IN_PROGRESS",
693 ilUtil::getImagePath("scorm/incomplete.svg")
694 );
695 $tpl->setVariable(
696 "IMG_COMPLETED",
697 ilUtil::getImagePath("scorm/completed.svg")
698 );
699 $tpl->setVariable(
700 "IMG_FAILED",
701 ilUtil::getImagePath("scorm/failed.svg")
702 );
703 $tpl->setVariable(
704 "TXT_NOT_ATTEMPTED",
705 $lng->txt("trac_not_attempted")
706 );
707 $tpl->setVariable(
708 "TXT_IN_PROGRESS",
709 $lng->txt("trac_in_progress")
710 );
711 $tpl->setVariable(
712 "TXT_COMPLETED",
713 $lng->txt("trac_completed")
714 );
715 $tpl->setVariable(
716 "TXT_FAILED",
717 $lng->txt("trac_failed")
718 );
719
720 include_once "Services/UIComponent/Panel/classes/class.ilPanelGUI.php";
721 $panel = ilPanelGUI::getInstance();
722 $panel->setPanelStyle(ilPanelGUI::PANEL_STYLE_SECONDARY);
723 $panel->setBody($tpl->get());
724
725 return $panel->getHTML();
726 }
const PANEL_STYLE_SECONDARY
static getInstance()
Get instance.
special template class to simplify handling of ITX/PEAR
static getImagePath($img, $module_path="", $mode="output", $offline=false)
get image path (for images located in a template directory)

References $DIC, $lng, $tpl, ilUtil\getImagePath(), ilPanelGUI\getInstance(), and ilPanelGUI\PANEL_STYLE_SECONDARY.

Referenced by ilLPListOfObjectsGUI\__listObjects(), ilLPListOfProgressGUI\__showProgressList(), ilLPListOfObjectsGUI\__showUsersList(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __getPercent()

ilLearningProgressBaseGUI::__getPercent (   $max,
  $reached 
)

Definition at line 642 of file class.ilLearningProgressBaseGUI.php.

643 {
644 if (!$max) {
645 return "0%";
646 }
647
648 return sprintf("%d%%", $reached / $max * 100);
649 }

◆ __initTableGUI()

& ilLearningProgressBaseGUI::__initTableGUI ( )

Definition at line 408 of file class.ilLearningProgressBaseGUI.php.

409 {
410 include_once "./Services/Table/classes/class.ilTableGUI.php";
411
412 return new ilTableGUI(0, false);
413 }
Class ilTableGUI.

◆ __insertPath()

ilLearningProgressBaseGUI::__insertPath ( $a_tpl,
  $a_ref_id 
)

insert path

Definition at line 290 of file class.ilLearningProgressBaseGUI.php.

291 {
292 global $DIC;
293
294 $tree = $DIC['tree'];
295
296 $path_arr = $tree->getPathFull($a_ref_id);
297 $counter = 0;
298 foreach ($tree->getPathFull($a_ref_id) as $data) {
299 if ($counter++) {
300 $path .= " -> ";
301 }
302 $path .= $data['title'];
303 }
304 $a_tpl->setCurrentBlock("path_item");
305 $a_tpl->setVariable("PATH_ITEM", $path);
306 $a_tpl->parseCurrentBlock();
307
308 $a_tpl->setCurrentBlock("path");
309 $a_tpl->parseCurrentBlock();
310
311 return $path;
312 }
$data
Definition: storeScorm.php:23

References $data, and $DIC.

◆ __readItemStatusInfo()

ilLearningProgressBaseGUI::__readItemStatusInfo (   $a_items)

Definition at line 651 of file class.ilLearningProgressBaseGUI.php.

652 {
653 global $DIC;
654
655 $ilObjDataCache = $DIC['ilObjDataCache'];
656
657 include_once 'Services/Object/classes/class.ilObjectLP.php';
658
659 foreach ($a_items as $item_id) {
660 $olp = ilObjectLP::getInstance($item_id);
661
662 $this->obj_data[$item_id]['type'] = $ilObjDataCache->lookupType($item_id);
663 $this->obj_data[$item_id]['mode'] = $olp->getCurrentMode();
664 if ($this->obj_data[$item_id]['mode'] == ilLPObjSettings::LP_MODE_TLT) {
665 include_once './Services/MetaData/classes/class.ilMDEducational.php';
666 $this->obj_data[$item_id]['tlt'] = ilMDEducational::_getTypicalLearningTimeSeconds($item_id);
667 }
668 if ($this->obj_data[$item_id]['mode'] == ilLPObjSettings::LP_MODE_VISITS) {
669 $this->obj_data[$item_id]['visits'] = ilLPObjSettings::_lookupVisits($item_id);
670 }
671 if ($this->obj_data[$item_id]['mode'] == ilLPObjSettings::LP_MODE_SCORM) {
672 $collection = $olp->getCollectionInstance();
673 if ($collection) {
674 $this->obj_data[$item_id]['scos'] = count($collection->getItems());
675 }
676 }
677 }
678 }
static _lookupVisits($a_obj_id)
static _getTypicalLearningTimeSeconds($a_rbac_id, $a_obj_id=0)

References $DIC, ilMDEducational\_getTypicalLearningTimeSeconds(), ilLPObjSettings\_lookupVisits(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_SCORM, ilLPObjSettings\LP_MODE_TLT, and ilLPObjSettings\LP_MODE_VISITS.

+ Here is the call graph for this function:

◆ __readStatus()

static ilLearningProgressBaseGUI::__readStatus (   $a_obj_id,
  $user_id 
)
static

Definition at line 580 of file class.ilLearningProgressBaseGUI.php.

581 {
582 include_once 'Services/Tracking/classes/class.ilLPStatus.php';
583 $status = ilLPStatus::_lookupStatus($a_obj_id, $user_id);
584
585 include_once("./Services/Tracking/classes/class.ilLPStatus.php");
586 switch ($status) {
589
592
595
598
599 default:
600 return $status;
601 }
602 }
const LP_STATUS_COMPLETED_NUM
static _lookupStatus($a_obj_id, $a_user_id, $a_create=true)
Lookup status.
const LP_STATUS_COMPLETED
const LP_STATUS_FAILED
const LP_STATUS_IN_PROGRESS_NUM
const LP_STATUS_NOT_ATTEMPTED_NUM
const LP_STATUS_FAILED_NUM
const LP_STATUS_NOT_ATTEMPTED
const LP_STATUS_IN_PROGRESS

References ilLPStatus\_lookupStatus(), ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.

Referenced by __appendLPDetails(), and ilObjSCORMLearningModule\exportSelected().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __setSubTabs()

ilLearningProgressBaseGUI::__setSubTabs (   $a_active)

Definition at line 132 of file class.ilLearningProgressBaseGUI.php.

133 {
134 global $DIC;
135
136 $rbacsystem = $DIC['rbacsystem'];
137 $ilObjDataCache = $DIC['ilObjDataCache'];
138
139
140
141 switch ($this->getMode()) {
143
144 include_once("Services/Tracking/classes/class.ilObjUserTracking.php");
147 $this->tabs_gui->addTarget(
148 'trac_progress',
149 $this->ctrl->getLinkTargetByClass('illplistofprogressgui', ''),
150 "",
151 "",
152 "",
153 $a_active == self::LP_ACTIVE_PROGRESS
154 );
155 }
156
158 $this->tabs_gui->addTarget(
159 'trac_objects',
160 $this->ctrl->getLinkTargetByClass("illplistofobjectsgui", ''),
161 "",
162 "",
163 "",
164 $a_active == self::LP_ACTIVE_OBJECTS
165 );
166 }
167 break;
168
169
171 // #12771 - do not show status if learning progress is deactivated
172 include_once './Services/Object/classes/class.ilObjectLP.php';
173 $olp = ilObjectLP::getInstance($this->obj_id);
174 if ($olp->isActive()) {
175 include_once './Services/Tracking/classes/class.ilLearningProgressAccess.php';
176 $has_read = ilLearningProgressAccess::checkPermission('read_learning_progress', $this->getRefId());
177
178 if ($this->isAnonymized() || !$has_read) {
179 $this->ctrl->setParameterByClass('illplistofprogressgui', 'user_id', $this->getUserId());
180 $this->tabs_gui->addSubTabTarget(
181 'trac_progress',
182 $this->ctrl->getLinkTargetByClass('illplistofprogressgui', ''),
183 "",
184 "",
185 "",
186 $a_active == self::LP_ACTIVE_PROGRESS
187 );
188 } else {
189 // Check if it is a course
190 $sub_tab = ($ilObjDataCache->lookupType($ilObjDataCache->lookupObjId($this->getRefId())) == 'crs') ?
191 'trac_crs_objects' :
192 'trac_objects';
193
194 $this->tabs_gui->addSubTabTarget(
195 $sub_tab,
196 $this->ctrl->getLinkTargetByClass("illplistofobjectsgui", ''),
197 "",
198 "",
199 "",
200 $a_active == self::LP_ACTIVE_OBJECTS
201 );
202 }
203
204 if ($has_read) {
205 if (!$this->isAnonymized() &&
206 !($olp instanceof ilPluginLP) &&
207 ilObjectLP::supportsMatrixView($this->obj_type)) {
208 $this->tabs_gui->addSubTabTarget(
209 "trac_matrix",
210 $this->ctrl->getLinkTargetByClass("illplistofobjectsgui", 'showUserObjectMatrix'),
211 "",
212 "",
213 "",
214 $a_active == self::LP_ACTIVE_MATRIX
215 );
216 }
217
218 $this->tabs_gui->addSubTabTarget(
219 "trac_summary",
220 $this->ctrl->getLinkTargetByClass("illplistofobjectsgui", 'showObjectSummary'),
221 "",
222 "",
223 "",
224 $a_active == self::LP_ACTIVE_SUMMARY
225 );
226 }
227 }
228 include_once './Services/Tracking/classes/class.ilLearningProgressAccess.php';
229 if (!($olp instanceof ilPluginLP) &&
230 ilLearningProgressAccess::checkPermission('edit_learning_progress', $this->getRefId())) {
231 $this->tabs_gui->addSubTabTarget(
232 'trac_settings',
233 $this->ctrl->getLinkTargetByClass('illplistofsettingsgui', ''),
234 "",
235 "",
236 "",
237 $a_active == self::LP_ACTIVE_SETTINGS
238 );
239 }
240 break;
241
243 /*
244 $this->tabs_gui->addSubTabTarget('trac_progress',
245 $this->ctrl->getLinkTargetByClass('illplistofprogressgui',''),
246 "","","",$a_active == self::LP_ACTIVE_PROGRESS);
247 */
248 $this->tabs_gui->addSubTabTarget(
249 'trac_objects',
250 $this->ctrl->getLinkTargetByClass("illplistofobjectsgui", ''),
251 "",
252 "",
253 "",
254 $a_active == self::LP_ACTIVE_OBJECTS
255 );
256 break;
257
260 // No tabs default class is lpprogressgui
261 break;
262
263 default:
264 die('No valid mode given');
265 break;
266 }
267
268 return true;
269 }
static checkPermission($a_permission, $a_ref_id, $a_user_id=null)
wrapper for rbac access checks
static supportsMatrixView($a_obj_type)

References $DIC, ilObjUserTracking\_enabledUserRelatedData(), ilObjUserTracking\_hasLearningProgressLearner(), ilObjUserTracking\_hasLearningProgressOtherUsers(), ilLearningProgressAccess\checkPermission(), ilObjectLP\getInstance(), getMode(), getRefId(), getUserId(), isAnonymized(), LP_ACTIVE_MATRIX, LP_ACTIVE_OBJECTS, LP_ACTIVE_SETTINGS, LP_ACTIVE_SUMMARY, LP_CONTEXT_ADMINISTRATION, LP_CONTEXT_ORG_UNIT, LP_CONTEXT_PERSONAL_DESKTOP, LP_CONTEXT_REPOSITORY, LP_CONTEXT_USER_FOLDER, and ilObjectLP\supportsMatrixView().

Referenced by ilLearningProgressGUI\executeCommand().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __showEditUser()

ilLearningProgressBaseGUI::__showEditUser (   $a_user_id,
  $a_ref_id,
  $a_cancel,
  $a_sub_id = false 
)

Definition at line 785 of file class.ilLearningProgressBaseGUI.php.

786 {
787 global $DIC;
788
789 $ilCtrl = $DIC['ilCtrl'];
790
791 if (!$a_sub_id) {
792 $obj_id = ilObject::_lookupObjId($a_ref_id);
793 } else {
794 $ilCtrl->setParameter($this, 'userdetails_id', $a_sub_id);
795 $obj_id = ilObject::_lookupObjId($a_sub_id);
796 }
797
798 $ilCtrl->setParameter($this, 'user_id', $a_user_id);
799 $ilCtrl->setParameter($this, 'details_id', $a_ref_id);
800
801 $form = $this->initEditUserForm($a_user_id, $obj_id, $a_cancel);
802
803 return $form->getHTML();
804 }
initEditUserForm($a_user_id, $a_obj_id, $a_cancel=null)
static _lookupObjId($a_id)

References $DIC, $ilCtrl, ilObject\_lookupObjId(), and initEditUserForm().

Referenced by ilLPListOfObjectsGUI\editUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __showImageByStatus()

ilLearningProgressBaseGUI::__showImageByStatus ( $tpl,
  $a_status,
  $tpl_prefix = "" 
)

Definition at line 314 of file class.ilLearningProgressBaseGUI.php.

315 {
316 return ilLearningProgressBaseGUI::_showImageByStatus($tpl, $a_status, $tpl_prefix);
317 }
static _showImageByStatus(&$tpl, $a_status, $tpl_prefix="")

References $tpl, and _showImageByStatus().

+ Here is the call graph for this function:

◆ __showObjectDetails()

ilLearningProgressBaseGUI::__showObjectDetails ( $info,
  $item_id = 0,
  $add_section = true 
)

show details about current object.

Uses an existing info_gui object.

Definition at line 419 of file class.ilLearningProgressBaseGUI.php.

420 {
421 global $DIC;
422
423 $ilObjDataCache = $DIC['ilObjDataCache'];
424
425 $details_id = $item_id ? $item_id : $this->details_id;
426
427 include_once 'Services/Object/classes/class.ilObjectLP.php';
428 $olp = ilObjectLP::getInstance($details_id);
429 $mode = $olp->getCurrentMode();
430
431 include_once './Services/MetaData/classes/class.ilMDEducational.php';
434 // Section object details
435 if ($add_section) {
436 $info->addSection($this->lng->txt('details'));
437 }
438
440 $info->addProperty($this->lng->txt('trac_required_visits'), ilLPObjSettings::_lookupVisits($details_id));
441 }
442
443 if ($seconds = ilMDEducational::_getTypicalLearningTimeSeconds($details_id)) {
444 $info->addProperty($this->lng->txt('meta_typical_learning_time'), ilDatePresentation::secondsToString($seconds));
445 }
446
447 return true;
448 }
449 return false;
450 }

References $DIC, $mode, ilMDEducational\_getTypicalLearningTimeSeconds(), ilLPObjSettings\_lookupVisits(), ilObjectLP\getInstance(), ilLPObjSettings\LP_MODE_VISITS, and ilDatePresentation\secondsToString().

Referenced by ilLPListOfObjectsGUI\details(), ilLPListOfObjectsGUI\editUser(), ilLPListOfObjectsGUI\showUserObjectMatrix(), and ilLPListOfObjectsGUI\userDetails().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ __sort()

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.

Parameters
arrayArray of ids
stringtable name
stringtable field
stringid name
Returns
array sorted ids

@access protected

Definition at line 616 of file class.ilLearningProgressBaseGUI.php.

617 {
618 global $DIC;
619
620 $ilDB = $DIC['ilDB'];
621
622 if (!$a_ids) {
623 return array();
624 }
625
626 // comment by mjansen: Requesting database in gui classes?
627
628 // use database to sort user array
629 $where = "WHERE " . $ilDB->in($a_id_name, $a_ids, false, 'integer') . " ";
630
631 $query = "SELECT " . $a_id_name . " FROM " . $a_table . " " .
632 $where .
633 "ORDER BY " . $a_field;
634
635 $res = $ilDB->query($query);
636 while ($row = $res->fetchRow(ilDBConstants::FETCHMODE_OBJECT)) {
637 $ids[] = $row->$a_id_name;
638 }
639 return $ids ? $ids : array();
640 }
$query
foreach($_POST as $key=> $value) $res
global $ilDB

References $DIC, $ilDB, $query, $res, and ilDBConstants\FETCHMODE_OBJECT.

◆ __updateUser()

ilLearningProgressBaseGUI::__updateUser (   $user_id,
  $obj_id 
)

Definition at line 806 of file class.ilLearningProgressBaseGUI.php.

807 {
808 $form = $this->initEditUserForm($user_id, $obj_id);
809 if ($form->checkInput()) {
810 include_once 'Services/Tracking/classes/class.ilLPMarks.php';
811
812 $marks = new ilLPMarks($obj_id, $user_id);
813 $marks->setMark($form->getInput("mark"));
814 $marks->setComment($form->getInput("comment"));
815
816 $do_lp = false;
817
818 // status/completed is optional
819 $status = $form->getItemByPostVar("completed");
820 if (is_object($status)) {
821 if ($marks->getCompleted() != $form->getInput("completed")) {
822 $marks->setCompleted($form->getInput("completed"));
823 $do_lp = true;
824 }
825 }
826
827 $marks->update();
828
829 // #11600
830 if ($do_lp) {
831 include_once("./Services/Tracking/classes/class.ilLPStatusWrapper.php");
832 ilLPStatusWrapper::_updateStatus($obj_id, $user_id);
833 }
834 }
835 }
static _updateStatus($a_obj_id, $a_usr_id, $a_obj=null, $a_percentage=false, $a_force_raise=false)
Update status.

References ilLPStatusWrapper\_updateStatus(), and initEditUserForm().

Referenced by ilLPListOfObjectsGUI\updateUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _getImagePathForStatus()

static ilLearningProgressBaseGUI::_getImagePathForStatus (   $a_status)
static

Get image path for status.

Definition at line 338 of file class.ilLearningProgressBaseGUI.php.

339 {
340 include_once("./Services/Tracking/classes/class.ilLPStatus.php");
341
342 // constants are either number or string, so make comparison string-based
343 switch ((string) $a_status) {
347 return ilUtil::getImagePath('scorm/incomplete.svg');
348 break;
349
353 return ilUtil::getImagePath('scorm/complete.svg');
354 break;
355
359 return ilUtil::getImagePath('scorm/not_attempted.svg');
360 break;
361
364 return ilUtil::getImagePath('scorm/failed.svg');
365 break;
366
367 default:
368 return ilUtil::getImagePath('scorm/not_attempted.svg');
369 break;
370 }
371 }
const LP_STATUS_NOT_PARTICIPATED
const LP_STATUS_NOT_REGISTERED
const LP_STATUS_PARTICIPATED
const LP_STATUS_REGISTERED

References ilUtil\getImagePath(), ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, ilLPStatus\LP_STATUS_NOT_PARTICIPATED, ilLPStatus\LP_STATUS_NOT_REGISTERED, ilLPStatus\LP_STATUS_PARTICIPATED, and ilLPStatus\LP_STATUS_REGISTERED.

Referenced by __appendLPDetails(), ilLPObjectStatisticsLPTableGUI\__construct(), _showImageByStatus(), ilLMExplorerGUI\checkLPIcon(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilTrSummaryTableGUI\getItems(), ilDclRecordListTableGUI\getStatus(), ilMyStaffGUI\getUserLpStatusAsHtml(), ilLearningProgressGUI\initCollectionManualForm(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilLPTableBaseGUI\parseValue(), ilLPStatus\preloadListGUIData(), ilPortfolioPageGUI\renderMyCourses(), and ilLearningProgressGUI\showtlt().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ _getStatusText()

static ilLearningProgressBaseGUI::_getStatusText (   $a_status,
  $a_lng = null 
)
static

Get status alt text.

Definition at line 376 of file class.ilLearningProgressBaseGUI.php.

377 {
378 global $DIC;
379
380 $lng = $DIC['lng'];
381
382 if (!$a_lng) {
383 $a_lng = $lng;
384 }
385
386 include_once("./Services/Tracking/classes/class.ilLPStatus.php");
387 //echo "#".$a_status."#";
388 switch ($a_status) {
390 return $a_lng->txt(ilLPStatus::LP_STATUS_IN_PROGRESS);
391
393 return $a_lng->txt(ilLPStatus::LP_STATUS_COMPLETED);
394
396 return $a_lng->txt(ilLPStatus::LP_STATUS_FAILED);
397
398 default:
399 if ($a_status === ilLPStatus::LP_STATUS_NOT_ATTEMPTED_NUM) {
400 return $a_lng->txt(ilLPStatus::LP_STATUS_NOT_ATTEMPTED);
401 }
402 return $a_lng->txt($a_status);
403 }
404 }

References $DIC, $lng, ilLPStatus\LP_STATUS_COMPLETED, ilLPStatus\LP_STATUS_COMPLETED_NUM, ilLPStatus\LP_STATUS_FAILED, ilLPStatus\LP_STATUS_FAILED_NUM, ilLPStatus\LP_STATUS_IN_PROGRESS, ilLPStatus\LP_STATUS_IN_PROGRESS_NUM, ilLPStatus\LP_STATUS_NOT_ATTEMPTED, and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.

Referenced by __appendLPDetails(), ilLPObjectStatisticsLPTableGUI\__construct(), ilTrSummaryTableGUI\fillHeaderCSV(), ilTrSummaryTableGUI\fillHeaderExcel(), ilLPProgressTableGUI\fillRow(), ilTrUserObjectsPropsTableGUI\fillRow(), ilSCORM2004TrackingItemsTableGUI\fillRowCSV(), ilSCORMTrackingItemsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowCSV(), ilTrMatrixTableGUI\fillRowCSV(), ilTrObjectUsersPropsTableGUI\fillRowCSV(), ilTrUserObjectsPropsTableGUI\fillRowCSV(), ilLPProgressTableGUI\fillRowExcel(), ilTrMatrixTableGUI\fillRowExcel(), ilTrObjectUsersPropsTableGUI\fillRowExcel(), ilTrUserObjectsPropsTableGUI\fillRowExcel(), ilSCORM2004TrackingItemsTableGUI\fillRowExcel(), ilSCORMTrackingItemsTableGUI\fillRowExcel(), ilLPObjectStatisticsLPTableGUI\getDetailItems(), ilLPObjectStatisticsLPTableGUI\getGraph(), ilTrSummaryTableGUI\getItems(), ilMyStaffGUI\getUserLpStatusAsHtml(), ilMyStaffGUI\getUserLpStatusAsText(), ilLearningProgressGUI\initCollectionManualForm(), ilLPObjectStatisticsLPTableGUI\initFilter(), ilSCORM2004TrackingItemsTableGUI\parseValue(), ilSCORMTrackingItemsTableGUI\parseValue(), ilLPTableBaseGUI\parseValue(), ilLPStatus\preloadListGUIData(), ilPortfolioPageGUI\renderMyCourses(), and ilLearningProgressGUI\showtlt().

+ Here is the caller graph for this function:

◆ _showImageByStatus()

static ilLearningProgressBaseGUI::_showImageByStatus ( $tpl,
  $a_status,
  $tpl_prefix = "" 
)
static

Definition at line 320 of file class.ilLearningProgressBaseGUI.php.

321 {
322 global $DIC;
323
324 $lng = $DIC['lng'];
325
326 $tpl->setVariable(
327 $tpl_prefix . "STATUS_IMG",
329 );
330 $tpl->setVariable($tpl_prefix . "STATUS_ALT", $lng->txt($a_status));
331
332 return true;
333 }

References $DIC, $lng, $tpl, and _getImagePathForStatus().

Referenced by __showImageByStatus().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getMode()

◆ getObjId()

◆ getRefId()

◆ getUserId()

ilLearningProgressBaseGUI::getUserId ( )

Definition at line 112 of file class.ilLearningProgressBaseGUI.php.

113 {
114 if ($this->usr_id) {
115 return $this->usr_id;
116 }
117 if ((int) $_GET['user_id']) {
118 return (int) $_GET['user_id'];
119 }
120 return 0;
121 }
$_GET["client_id"]

References $_GET.

Referenced by __setSubTabs(), ilLearningProgressGUI\executeCommand(), ilLPListOfProgressGUI\executeCommand(), and ilLPListOfProgressGUI\show().

+ Here is the caller graph for this function:

◆ initEditUserForm()

ilLearningProgressBaseGUI::initEditUserForm (   $a_user_id,
  $a_obj_id,
  $a_cancel = null 
)
protected

Definition at line 728 of file class.ilLearningProgressBaseGUI.php.

729 {
730 global $DIC;
731
732 $lng = $DIC['lng'];
733 $ilCtrl = $DIC['ilCtrl'];
734
735 include_once 'Services/Object/classes/class.ilObjectLP.php';
736 $olp = ilObjectLP::getInstance($a_obj_id);
737 $lp_mode = $olp->getCurrentMode();
738
739 include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
740 $form = new ilPropertyFormGUI();
741
742 $form->setFormAction($ilCtrl->getFormAction($this, "updateUser"));
743
744 $form->setTitle($lng->txt("edit") . ": " . ilObject::_lookupTitle($a_obj_id));
745 $form->setDescription($lng->txt('trac_mode') . ": " . $olp->getModeText($lp_mode));
746
747 include_once "Services/User/classes/class.ilUserUtil.php";
748 $user = new ilNonEditableValueGUI($lng->txt("user"), null, true);
749 $user->setValue(ilUserUtil::getNamePresentation($a_user_id, true));
750 $form->addItem($user);
751
752 include_once 'Services/Tracking/classes/class.ilLPMarks.php';
753 $marks = new ilLPMarks($a_obj_id, $a_user_id);
754
756 $mark = new ilTextInputGUI($lng->txt("trac_mark"), "mark");
757 $mark->setValue($marks->getMark());
758 $mark->setMaxLength(32);
759 $form->addItem($mark);
760 }
761
762 $comm = new ilTextInputGUI($lng->txt("trac_comment"), "comment");
763 $comm->setValue($marks->getComment());
764 $form->addItem($comm);
765
766 if ($lp_mode == ilLPObjSettings::LP_MODE_MANUAL ||
768 include_once("./Services/Tracking/classes/class.ilLPStatus.php");
769 $completed = ilLPStatus::_lookupStatus($a_obj_id, $a_user_id);
770
771 $status = new ilCheckboxInputGUI($lng->txt('trac_completed'), "completed");
772 $status->setChecked(($completed == ilLPStatus::LP_STATUS_COMPLETED_NUM));
773 $form->addItem($status);
774 }
775
776 $form->addCommandButton("updateUser", $lng->txt('save'));
777
778 if ($a_cancel) {
779 $form->addCommandButton($a_cancel, $lng->txt('cancel'));
780 }
781
782 return $form;
783 }
This class represents a checkbox property in a property form.
This class represents a non editable value in a property form.
static _lookupType($a_id, $a_reference=false)
lookup object type
This class represents a property form user interface.
This class represents a text property in a property form.
static getNamePresentation( $a_user_id, $a_user_image=false, $a_profile_link=false, $a_profile_back_link="", $a_force_first_lastname=false, $a_omit_login=false, $a_sortable=true, $a_return_data_array=false, $a_ctrl_path="ilpublicuserprofilegui")
Default behaviour is:

References $DIC, $ilCtrl, $lng, ilLPStatus\_lookupStatus(), ilObject\_lookupTitle(), ilObject\_lookupType(), ilObjectLP\getInstance(), ilUserUtil\getNamePresentation(), ilLPObjSettings\LP_MODE_MANUAL, ilLPObjSettings\LP_MODE_MANUAL_BY_TUTOR, ilLPStatus\LP_STATUS_COMPLETED_NUM, and ilObjectLP\supportsMark().

Referenced by __showEditUser(), and __updateUser().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isAnonymized()

ilLearningProgressBaseGUI::isAnonymized ( )

◆ isObjectOffline()

static ilLearningProgressBaseGUI::isObjectOffline (   $a_obj_id,
  $a_type = null 
)
static

Definition at line 837 of file class.ilLearningProgressBaseGUI.php.

838 {
839 global $DIC;
840
841 $objDefinition = $DIC['objDefinition'];
842 $ilObjDataCache = $DIC['ilObjDataCache'];
843
844 if (!$a_type) {
845 $a_type = $ilObjDataCache->lookupType($a_obj_id);
846 }
847
848 if ($objDefinition->isPluginTypeName($a_type)) {
849 return false;
850 }
851
852 $class = "ilObj" . $objDefinition->getClassName($a_type) . "Access";
853 include_once $objDefinition->getLocation($a_type) . "/class." . $class . ".php";
854 return call_user_func(array($class,'_isOffline'), $a_obj_id);
855
856 // PHP 5.3 only ?
857 //return $class::_isOffline($obj_id);
858 }
$a_type
Definition: workflow.php:92

References $a_type, and $DIC.

Referenced by ilTrSummaryTableGUI\getItems(), and ilLPProgressTableGUI\getItems().

+ Here is the caller graph for this function:

Field Documentation

◆ $anonymized

ilLearningProgressBaseGUI::$anonymized
protected

Definition at line 29 of file class.ilLearningProgressBaseGUI.php.

Referenced by isAnonymized().

◆ $ctrl

ilLearningProgressBaseGUI::$ctrl = null

Definition at line 24 of file class.ilLearningProgressBaseGUI.php.

◆ $lng

◆ $logger

ilLearningProgressBaseGUI::$logger
protected

Definition at line 34 of file class.ilLearningProgressBaseGUI.php.

◆ $mode

ilLearningProgressBaseGUI::$mode = 0

◆ $ref_id

ilLearningProgressBaseGUI::$ref_id = 0

◆ $tabs_gui

ilLearningProgressBaseGUI::$tabs_gui
protected

Definition at line 39 of file class.ilLearningProgressBaseGUI.php.

◆ $tpl

◆ LP_ACTIVE_MATRIX

const ilLearningProgressBaseGUI::LP_ACTIVE_MATRIX = 11

Definition at line 58 of file class.ilLearningProgressBaseGUI.php.

Referenced by __setSubTabs().

◆ LP_ACTIVE_OBJECTS

const ilLearningProgressBaseGUI::LP_ACTIVE_OBJECTS = 2

Definition at line 49 of file class.ilLearningProgressBaseGUI.php.

Referenced by __setSubTabs().

◆ LP_ACTIVE_OBJSTATACCESS

const ilLearningProgressBaseGUI::LP_ACTIVE_OBJSTATACCESS = 7

Definition at line 54 of file class.ilLearningProgressBaseGUI.php.

◆ LP_ACTIVE_OBJSTATADMIN

const ilLearningProgressBaseGUI::LP_ACTIVE_OBJSTATADMIN = 10

Definition at line 57 of file class.ilLearningProgressBaseGUI.php.

◆ LP_ACTIVE_OBJSTATDAILY

const ilLearningProgressBaseGUI::LP_ACTIVE_OBJSTATDAILY = 9

Definition at line 56 of file class.ilLearningProgressBaseGUI.php.

◆ LP_ACTIVE_OBJSTATTYPES

const ilLearningProgressBaseGUI::LP_ACTIVE_OBJSTATTYPES = 8

Definition at line 55 of file class.ilLearningProgressBaseGUI.php.

◆ LP_ACTIVE_PROGRESS

const ilLearningProgressBaseGUI::LP_ACTIVE_PROGRESS = 3

Definition at line 50 of file class.ilLearningProgressBaseGUI.php.

◆ LP_ACTIVE_SETTINGS

const ilLearningProgressBaseGUI::LP_ACTIVE_SETTINGS = 1

Definition at line 48 of file class.ilLearningProgressBaseGUI.php.

Referenced by __setSubTabs().

◆ LP_ACTIVE_SUMMARY

const ilLearningProgressBaseGUI::LP_ACTIVE_SUMMARY = 6

Definition at line 53 of file class.ilLearningProgressBaseGUI.php.

Referenced by __setSubTabs().

◆ LP_ACTIVE_USERS

const ilLearningProgressBaseGUI::LP_ACTIVE_USERS = 5

Definition at line 52 of file class.ilLearningProgressBaseGUI.php.

◆ LP_CONTEXT_ADMINISTRATION

const ilLearningProgressBaseGUI::LP_CONTEXT_ADMINISTRATION = 2

◆ LP_CONTEXT_ORG_UNIT

◆ LP_CONTEXT_PERSONAL_DESKTOP

const ilLearningProgressBaseGUI::LP_CONTEXT_PERSONAL_DESKTOP = 1

◆ LP_CONTEXT_REPOSITORY

◆ LP_CONTEXT_USER_FOLDER

const ilLearningProgressBaseGUI::LP_CONTEXT_USER_FOLDER = 4

The documentation for this class was generated from the following file: