Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
core_course\output\content_export_link Class Reference

Prepares content for buttons/links to course content export/download. More...

Static Public Member Functions

static get_attributes (\context $context)
 Prepare and return the various attributes required for a link/button to populate/trigger the download course content modal.
 

Detailed Description

Prepares content for buttons/links to course content export/download.

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

Member Function Documentation

◆ get_attributes()

static core_course\output\content_export_link::get_attributes ( \context $context)
static

Prepare and return the various attributes required for a link/button to populate/trigger the download course content modal.

Parameters
context$contextThe context of the content being exported.
Return values
stdClass

The documentation for this class was generated from the following file: