ILIAS
release_8 Revision v8.19
|
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) | |
hasItems () | |
getItems () | |
getCurrentItemRefId () | |
getCurrentItemPosition () | |
getStateFor (LSItem $ls_item, View $view) | |
storeState (ILIAS\KioskMode\State $state, int $state_item_ref_id, int $current_item_ref_id) | |
getFirstAccess () | |
Protected Attributes | |
ilLearnerProgressDB | $progress_db |
ilLSStateDB | $states_db |
int | $ls_ref_id |
int | $usr_id |
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 27 of file class.ilLSLearnerItemsQueries.php.
ilLSLearnerItemsQueries::__construct | ( | ilLearnerProgressDB | $progress_db, |
ilLSStateDB | $states_db, | ||
int | $ls_ref_id, | ||
int | $usr_id | ||
) |
Definition at line 34 of file class.ilLSLearnerItemsQueries.php.
References $ls_ref_id, $progress_db, $states_db, and $usr_id.
ilLSLearnerItemsQueries::getCurrentItemPosition | ( | ) |
Definition at line 65 of file class.ilLSLearnerItemsQueries.php.
References $index, getCurrentItemRefId(), and getItems().
ilLSLearnerItemsQueries::getCurrentItemRefId | ( | ) |
Definition at line 59 of file class.ilLSLearnerItemsQueries.php.
Referenced by getCurrentItemPosition().
ilLSLearnerItemsQueries::getFirstAccess | ( | ) |
ilLSLearnerItemsQueries::getItems | ( | ) |
Definition at line 54 of file class.ilLSLearnerItemsQueries.php.
Referenced by getCurrentItemPosition(), and hasItems().
Definition at line 77 of file class.ilLSLearnerItemsQueries.php.
References $usr_id, ILIAS\KioskMode\View\buildInitialState(), and LSItem\getRefId().
ilLSLearnerItemsQueries::hasItems | ( | ) |
Definition at line 46 of file class.ilLSLearnerItemsQueries.php.
References getItems().
ilLSLearnerItemsQueries::storeState | ( | ILIAS\KioskMode\State | $state, |
int | $state_item_ref_id, | ||
int | $current_item_ref_id | ||
) |
Definition at line 90 of file class.ilLSLearnerItemsQueries.php.
|
protected |
Definition at line 31 of file class.ilLSLearnerItemsQueries.php.
Referenced by __construct().
|
protected |
Definition at line 29 of file class.ilLSLearnerItemsQueries.php.
Referenced by __construct().
|
protected |
Definition at line 30 of file class.ilLSLearnerItemsQueries.php.
Referenced by __construct().
|
protected |
Definition at line 32 of file class.ilLSLearnerItemsQueries.php.
Referenced by __construct(), getFirstAccess(), and getStateFor().