core_course/downloadcontent

Description:
  • Functions related to downloading course content.

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

Functions related to downloading course content.

Members

(static, constant) init

Description:
  • Set up listener to trigger the download course content modal.

Source:

Set up listener to trigger the download course content modal.

Methods

(inner) displayDownloadConfirmation(downloadModalTrigger) → {void}

Description:
  • Display the download course content modal.

Source:
Parameters:
Name Type Description
downloadModalTrigger Object

The DOM element that triggered the download modal.

Returns:
Type
void

(inner) downloadContent(e, downloadModalTrigger, modal) → {void}

Description:
  • Trigger downloading of course content.

Source:
Parameters:
Name Type Description
e Event

The event triggering the download.

downloadModalTrigger Object

The DOM element that triggered the download modal.

modal Object

The modal object.

Returns:
Type
void