This module will tie together all of the different calls the gradable module will make.
- Source:
- Copyright:
- 2019 Mathew May
- 2019 Mathew May
- License:
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
(require("mod_forum/local/grades/local/grader/user_picker"))(users, showUserCallback, preChangeUserCallback, currentUserIDopt) → {UserPicker}
Create a new user picker.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
users |
Array | The list of users |
|
showUserCallback |
function | The function to call to show a specific user |
|
preChangeUserCallback |
function | The fucntion to call to save the grade for the current user |
|
currentUserID |
Number |
<optional> |
The userid of the current user |
Returns:
- Type
- UserPicker