Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250620) (7d9030acd6e)
|
Renderer for the section links block. More...
Public Member Functions | |
render_section_links (stdClass $course, array $sections, $jumptosection=false, $showsectionname=false) | |
Render a series of section links. | |
Renderer for the section links block.
block_section_links_renderer::render_section_links | ( | stdClass | $course, |
array | $sections, | ||
$jumptosection = false, | |||
$showsectionname = false ) |
Render a series of section links.
stdClass | $course | The course we are rendering for. |
array | $sections | An array of section objects to render. |
bool|int | The section to provide a jump to link for. | |
bool | $showsectionname | Whether or not section name should be displayed. |
string | The HTML to display. |