This context provides functionality and data according to the current user.
Methods
-
<inner> addTry()
-
Tracks a try for the current WBT and delegates the value to the current persistence interface.
-
<inner> getLessonLocation() → {String}
-
Gets the pageId of the page where the learner left the lesson last time.
Returns:
PageID
- Type
- String
-
<inner> getName() → {String}
-
Gets the student name.
Returns:
The name of the student.
- Type
- String
-
<inner> getTries() → {Number}
-
Gets the current amount of tries, that is tracked for the WBT with addTry.
Returns:
The amount of tries for the wbt.
- Type
- Number
-
<inner> resetTries()
-
Resets the tries (to 0) for the current WBT and delegates the value to the current persistence interface.