mod_forum/local/grades/local/grader/user_picker

This module will tie together all of the different calls the gradable module will make.

Source:
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}

Source:

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

Classes

mod_forum/local/grades/local/grader/user_picker
mod_forum/local/grades/local/grader/user_picker