block_myoverview/repository

Description:
  • A javascript module to retrieve enrolled coruses from the server.

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

A javascript module to retrieve enrolled coruses from the server.

Members

(static, constant) setFavouriteCourses

Description:
  • Set the favourite state on a list of courses.

    Valid args are: Array courses list of course id numbers.

Source:

Set the favourite state on a list of courses.

Valid args are: Array courses list of course id numbers.

Methods

(inner) getEnrolledCoursesByTimeline(args) → {promise}

Description:
  • Retrieve a list of enrolled courses.

    Valid args are: string classification future, inprogress, past int limit number of records to retreive int Offset offset for pagination int sort sort by lastaccess or name

Source:
Parameters:
Name Type Description
args object

The request arguments

Returns:

Resolved with an array of courses

Type
promise