|
ILIAS
release_8 Revision v8.24
|
This combines calls to ProgressDB and StateDB to handle learner-items in the context of a specific LSObject and a specific user. More...
Collaboration diagram for ilLSLearnerItemsQueries: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, and getItems().
Here is the call graph for this function:| ilLSLearnerItemsQueries::getCurrentItemRefId | ( | ) |
Definition at line 59 of file class.ilLSLearnerItemsQueries.php.
| ilLSLearnerItemsQueries::getFirstAccess | ( | ) |
Definition at line 104 of file class.ilLSLearnerItemsQueries.php.
| ilLSLearnerItemsQueries::getItems | ( | ) |
Definition at line 54 of file class.ilLSLearnerItemsQueries.php.
Referenced by getCurrentItemPosition(), and hasItems().
Here is the caller graph for this function:Definition at line 77 of file class.ilLSLearnerItemsQueries.php.
References $usr_id, ILIAS\KioskMode\View\buildInitialState(), and LSItem\getRefId().
Here is the call graph for this function:| ilLSLearnerItemsQueries::hasItems | ( | ) |
Definition at line 46 of file class.ilLSLearnerItemsQueries.php.
References getItems().
Here is the call graph for this function:| 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(), and getStateFor().