core_grades/searchwidget/repository

Description:
  • A repo for the search widget.

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

A repo for the search widget.

Methods

(inner) gradeitemFetch(courseid) → {object}

Description:
  • 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.

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

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

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