ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Get LearningProgress and availability of items in sequence. More...
Public Member Functions | |
__construct (ilLSItemsDB $items_db, ilAccess $access, ilObjectDataCache $obj_data_cache) | |
getLearnerItems (int $usr_id, int $container_ref_id) | |
Decorate LSItems with learning progress and availability (from conditions) More... | |
Protected Member Functions | |
getObjIdForRefId (int $ref_id) | |
getLearningProgressFor (int $usr_id, LSItem $ls_item) | |
isItemVisibleForUser (int $usr_id, LSItem $ls_item) | |
getAvailabilityFor (int $usr_id, LSItem $ls_item) | |
Protected Attributes | |
$items_db | |
$access | |
$obj_data_cache | |
Get LearningProgress and availability of items in sequence.
Definition at line 11 of file class.ilLearnerProgressDB.php.
ilLearnerProgressDB::__construct | ( | ilLSItemsDB | $items_db, |
ilAccess | $access, | ||
ilObjectDataCache | $obj_data_cache | ||
) |
Definition at line 25 of file class.ilLearnerProgressDB.php.
References $access, $items_db, and $obj_data_cache.
|
protected |
Definition at line 82 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 | ||
) |
Decorate LSItems with learning progress and availability (from conditions)
Definition at line 37 of file class.ilLearnerProgressDB.php.
References getAvailabilityFor(), getLearningProgressFor(), and isItemVisibleForUser().
|
protected |
Definition at line 59 of file class.ilLearnerProgressDB.php.
References ilLPStatus\_lookupStatus(), getObjIdForRefId(), LSItem\getRefId(), ilObjectLP\isSupportedObjectType(), and ilLPStatus\LP_STATUS_NOT_ATTEMPTED_NUM.
Referenced by getLearnerItems().
|
protected |
Definition at line 54 of file class.ilLearnerProgressDB.php.
Referenced by getLearningProgressFor().
|
protected |
Definition at line 70 of file class.ilLearnerProgressDB.php.
References $access, LSItem\getRefId(), and LSItem\isOnline().
Referenced by getLearnerItems().
|
protected |
Definition at line 20 of file class.ilLearnerProgressDB.php.
Referenced by __construct(), and isItemVisibleForUser().
|
protected |
Definition at line 16 of file class.ilLearnerProgressDB.php.
Referenced by __construct().
|
protected |
Definition at line 23 of file class.ilLearnerProgressDB.php.
Referenced by __construct().