Moodle PHP Documentation 4.4
Moodle 4.4.9+ (Build: 20250711) (4ea86454947)
format_topics\output\courseformat\content\section\controlmenu Class Reference

Base class to render a course section menu. More...

Inheritance diagram for format_topics\output\courseformat\content\section\controlmenu:

Public Member Functions

 section_control_items ()
 Generate the edit control items of a section.
 

Protected Member Functions

 get_course_url ()
 Return the course url.
 
 get_highlight_control ()
 Return the specific section highlight action.
 

Protected Attributes

core_courseformat base $format
 the course format class
 
section_info $section
 the course section class
 

Detailed Description

Base class to render a course section menu.

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

Member Function Documentation

◆ get_course_url()

format_topics\output\courseformat\content\section\controlmenu::get_course_url ( )
protected

Return the course url.

Return values
moodle_url

◆ get_highlight_control()

format_topics\output\courseformat\content\section\controlmenu::get_highlight_control ( )
protected

Return the specific section highlight action.

Return values
arraythe action element.

◆ section_control_items()

format_topics\output\courseformat\content\section\controlmenu::section_control_items ( )

Generate the edit control items of a section.

This method must remain public until the final deprecation of section_edit_control_items.

Return values
arrayof edit control items

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