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) groupFetch(courseid, actionBaseUrl) → {object}

Description:
  • Given a course ID, we want to fetch the groups, so we may fetch their users.

Source:
Parameters:
Name Type Description
courseid int

ID of the course to fetch the users of.

actionBaseUrl string

The base URL for the group action.

Returns:

jQuery promise

Type
object

(inner) userFetch(courseid, actionBaseUrl, 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.

actionBaseUrl string

The base URL for the user option.

groupId int

ID of the group to fetch the users of.

Returns:

jQuery promise

Type
object