core_user/repository

Description:
  • Module to handle AJAX interactions.

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

Module to handle AJAX interactions.

Members

(static, constant) getUserPreference

Description:
  • Get single user preference

Source:

Get single user preference

(static, constant) getUserPreferences

Description:
  • Get multiple user preferences

Source:

Get multiple user preferences

(static, constant) setUserPreference

Description:
  • Set single user preference

Source:

Set single user preference

(static, constant) setUserPreferences

Description:
  • Set multiple user preferences

Source:

Set multiple user preferences

(static, constant) submitUserEnrolmentForm

Description:
  • Submit the user enrolment form with the specified form data.

Source:

Submit the user enrolment form with the specified form data.

(static, constant) unenrolUser

Description:
  • Unenrol the user with the specified user enrolmentid ID.

Source:

Unenrol the user with the specified user enrolmentid ID.

Methods

(inner) addLegacySavedProperty(response, preferences) → {Promise.<Proxy>}

Description:
  • Turn the response object into a Proxy object that will log a warning if the saved property is accessed.

Source:
Parameters:
Name Type Description
response Object
preferences Object

The preferences that might be in the response

Returns:
Type
Promise.<Proxy>