ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
This combines calls to ProgressDB and StateDB to handle learner-items in the context of a specific LSObject and a specific user. More...
Public Member Functions | |
__construct (ilLearnerProgressDB $progress_db, ilLSStateDB $states_db, int $ls_ref_id, int $usr_id) | |
getItems () | |
getCurrentItemRefId () | |
getCurrentItemPosition () | |
getStateFor (LSItem $ls_item, \ILIAS\KioskMode\View $view) | |
storeState (ILIAS\KioskMode\State $state, int $state_item_ref_id, int $current_item_ref_id) | |
getFirstAccess () | |
This combines calls to ProgressDB and StateDB to handle learner-items in the context of a specific LSObject and a specific user.
Definition at line 9 of file class.ilLSItemsQueries.php.
ilLSLearnerItemsQueries::__construct | ( | ilLearnerProgressDB | $progress_db, |
ilLSStateDB | $states_db, | ||
int | $ls_ref_id, | ||
int | $usr_id | ||
) |
Definition at line 11 of file class.ilLSItemsQueries.php.
ilLSLearnerItemsQueries::getCurrentItemPosition | ( | ) |
Definition at line 38 of file class.ilLSItemsQueries.php.
References $index, getCurrentItemRefId(), and getItems().
ilLSLearnerItemsQueries::getCurrentItemRefId | ( | ) |
Definition at line 31 of file class.ilLSItemsQueries.php.
Referenced by getCurrentItemPosition().
ilLSLearnerItemsQueries::getFirstAccess | ( | ) |
Definition at line 77 of file class.ilLSItemsQueries.php.
ilLSLearnerItemsQueries::getItems | ( | ) |
Definition at line 26 of file class.ilLSItemsQueries.php.
Referenced by getCurrentItemPosition().
ilLSLearnerItemsQueries::getStateFor | ( | LSItem | $ls_item, |
\ILIAS\KioskMode\View | $view | ||
) |
Definition at line 50 of file class.ilLSItemsQueries.php.
References LSItem\getRefId().
ilLSLearnerItemsQueries::storeState | ( | ILIAS\KioskMode\State | $state, |
int | $state_item_ref_id, | ||
int | $current_item_ref_id | ||
) |
Definition at line 63 of file class.ilLSItemsQueries.php.