ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Get LearningProgress and availability of items in sequence. More...
Public Member Functions | |
__construct (ilLSStateDB $state_db, ilAccess $access) | |
getLearnerItems (int $usr_id, int $container_ref_id, array $ls_items) | |
Decorate LSItems with learning progress, availability (from conditions) kiosk-mode state information. More... | |
Protected Member Functions | |
getLPStatusRefresher () | |
getObjIdForRefId (int $ref_id) | |
getStateFor (LSItem $ls_item, array $states) | |
getLearningProgressFor (int $usr_id, LSItem $ls_item) | |
isItemVisibleForUser (int $usr_id, LSItem $ls_item) | |
getAvailabilityFor (int $usr_id, LSItem $ls_item) | |
Protected Attributes | |
$state_db | |
Get LearningProgress and availability of items in sequence.
Definition at line 11 of file class.ilLearnerProgressDB.php.
ilLearnerProgressDB::__construct | ( | ilLSStateDB | $state_db, |
ilAccess | $access | ||
) |
|
protected |
Definition at line 92 of file class.ilLearnerProgressDB.php.
References ILIAS\UI\Component\Listing\Workflow\Step\AVAILABLE, LSItem\getRefId(), and ILIAS\UI\Component\Listing\Workflow\Step\NOT_AVAILABLE.
Referenced by getLearnerItems().
ilLearnerProgressDB::getLearnerItems | ( | int | $usr_id, |
int | $container_ref_id, | ||
array | $ls_items | ||
) |
Decorate LSItems with learning progress, availability (from conditions) kiosk-mode state information.
Definition at line 28 of file class.ilLearnerProgressDB.php.
References $state, getAvailabilityFor(), getLPStatusRefresher(), getStateFor(), and isItemVisibleForUser().
|
protected |
Definition at line 67 of file class.ilLearnerProgressDB.php.
References ilLPStatus\_lookupStatus(), getObjIdForRefId(), and LSItem\getRefId().
|
protected |
Definition at line 45 of file class.ilLearnerProgressDB.php.
References ilObject\_lookupObjId(), and ilLPStatus\_lookupStatus().
Referenced by getLearnerItems().
|
protected |
Definition at line 53 of file class.ilLearnerProgressDB.php.
References ilObject\_lookupObjId().
Referenced by getLearningProgressFor().
|
protected |
Definition at line 58 of file class.ilLearnerProgressDB.php.
References LSItem\getRefId().
Referenced by getLearnerItems().
|
protected |
Definition at line 75 of file class.ilLearnerProgressDB.php.
References LSItem\getRefId(), and LSItem\isOnline().
Referenced by getLearnerItems().
|
protected |
Definition at line 16 of file class.ilLearnerProgressDB.php.
Referenced by __construct().