Moodle PHP Documentation 4.5
Moodle 4.5.5+ (Build: 20250711) (ce34e8ff087)
report_outline\output\activitieslist Class Reference
Inheritance diagram for report_outline\output\activitieslist:
core_report\output\coursestructure

Public Member Functions

 __construct (course_modinfo $modinfo, protected array array $views, protected bool bool $showlastaccess=true, protected int int $minlog=0, protected bool bool $showblogs=true,)
 Constructor.
 
 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.
 

Protected Member Functions

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

Constructor & Destructor Documentation

◆ __construct()

report_outline\output\activitieslist::__construct ( course_modinfo $modinfo,
protected array array $views,
protected bool bool $showlastaccess = true,
protected int int $minlog = 0,
protected bool bool $showblogs = true )

Constructor.

Parameters
course_modinfo$modinfo
array$viewsViews information for activity and users.
bool$showlastaccessWhether the last access should be shown or not.
int$minlogThe minimum log time is computed.
bool$showblogsWhether related blog entries should be shown or not.
Parameters
$views$views Views information for activity and users.
$showlastaccess$showlastaccess Whether the last access should be shown or not.
$minlog$minlog The minimum log time is computed.
$showblogs$showblogs Whether related blog entries should be shown or not.

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\activitieslist::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()

report_outline\output\activitieslist::export_for_template ( \renderer_base $output)

Exports the data.

Parameters
renderer_base$output
Return values
array|stdClass

Reimplemented from core_report\output\coursestructure.

◆ export_headers()

report_outline\output\activitieslist::export_headers ( \renderer_base $output)
protected

Exports the headers for report table.

Parameters
renderer_base$output
Return values
array

Reimplemented from core_report\output\coursestructure.

◆ 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

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