Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
block_section_links_renderer Class Reference

Renderer for the section links block. More...

Inheritance diagram for block_section_links_renderer:

Public Member Functions

 render_section_links (stdClass $course, array $sections, $jumptosection=false, $showsectionname=false)
 Render a series of section links.
 

Detailed Description

Renderer for the section links block.

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

Member Function Documentation

◆ render_section_links()

block_section_links_renderer::render_section_links ( stdClass $course,
array $sections,
$jumptosection = false,
$showsectionname = false )

Render a series of section links.

Parameters
stdClass$courseThe course we are rendering for.
array$sectionsAn array of section objects to render.
bool|intThe section to provide a jump to link for.
bool$showsectionnameWhether or not section name should be displayed.
Return values
stringThe HTML to display.

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