Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250711) (9addea9f0ac)
report_outline\output\hierarchicalactivities Class Reference
Inheritance diagram for report_outline\output\hierarchicalactivities:
core_report\output\coursestructure

Public Member Functions

 export_activities (\renderer_base $output)
 Exports activities data.
 
 export_activity_data (\renderer_base $output, cm_info $cm, bool $indelegated=false)
 Exports the data for a single activity.
 
 export_for_template (\renderer_base $output)
 Exports the data.
 
 export_hierarchy (\renderer_base $output)
 Exports course sections, sections delegated by modules and modules data in a hierarchical format.
 
 export_section_data (\renderer_base $output, section_info $sectioninfo, bool $isdelegated=false)
 Exports the data for a single section.
 
 print_activity (renderer_base $output, string $mode, cm_info $mod, stdClass $user, stdClass $course,)
 Print activity data.
 

Protected Member Functions

 export_headers (\renderer_base $output)
 Exports the headers for report table.
 

Member Function Documentation

◆ export_activities()

core_report\output\coursestructure::export_activities ( \renderer_base $output)
inherited

Exports activities data.

Parameters
renderer_base$output
Return values
array|stdClass

◆ export_activity_data()

report_outline\output\hierarchicalactivities::export_activity_data ( \renderer_base $output,
cm_info $cm,
bool $indelegated = false )

Exports the data for a single activity.

Parameters
renderer_base$output
cm_info$cm
bool$indelegatedWhether the activity is part of a delegated section or not.
Return values
array

Reimplemented from core_report\output\coursestructure.

◆ export_for_template()

core_report\output\coursestructure::export_for_template ( \renderer_base $output)
inherited

Exports the data.

Parameters
renderer_base$output
Return values
array|stdClass

Reimplemented in report_outline\output\activitieslist.

◆ export_headers()

core_report\output\coursestructure::export_headers ( \renderer_base $output)
protectedinherited

Exports the headers for report table.

Parameters
renderer_base$output
Return values
array

Reimplemented in report_outline\output\activitieslist.

◆ export_hierarchy()

core_report\output\coursestructure::export_hierarchy ( \renderer_base $output)
inherited

Exports course sections, sections delegated by modules and modules data in a hierarchical format.

Parameters
renderer_base$output
Return values
array|stdClass

◆ export_section_data()

core_report\output\coursestructure::export_section_data ( \renderer_base $output,
section_info $sectioninfo,
bool $isdelegated = false )
inherited

Exports the data for a single section.

Parameters
renderer_base$output
section_info$sectioninfoSection to export information from.
bool$isdelegatedWhether the section is a delegated subsection or not.
Return values
array

◆ print_activity()

report_outline\output\hierarchicalactivities::print_activity ( renderer_base $output,
string $mode,
cm_info $mod,
stdClass $user,
stdClass $course )

Print activity data.

Parameters
renderer_base$output
string$mode
cm_info$mod
stdClass$user
stdClass$course

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