core_grades/searchwidget/repository

A repo for the search widget.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Methods

(inner) gradeitemFetch(courseid) → {object}

Source:

Given a course ID, we want to fetch the gradable items, so we may fetch reports based on activity items. Note: This will be worked upon in the single view issue.

Parameters:
Name Type Description
courseid int

ID of the course to fetch the users of.

Returns:

jQuery promise

Type
object

(inner) userFetch(courseid, groupId) → {object}

Source:

Given a course ID, we want to fetch the enrolled learners, so we may fetch their reports.

Parameters:
Name Type Description
courseid int

ID of the course to fetch the users of.

groupId int

ID of the group to fetch the users of.

Returns:

jQuery promise

Type
object