Moodle PHP Documentation 4.1
Moodle 4.1.11 (Build: 20240610) (c8c84b4af18)
|
Component representing initials bar. More...
Public Member Functions | |
__construct ($current, $class, $title, $urlvar, $url, $alpha=null) | |
Constructor initials_bar with only the required params. | |
export_for_template (renderer_base $output) | |
Export for template. | |
Component representing initials bar.
initials_bar::__construct | ( | $current, | |
$class, | |||
$title, | |||
$urlvar, | |||
$url, | |||
$alpha = null ) |
Constructor initials_bar with only the required params.
string | $current | the currently selected letter. |
string | $class | class name to add to this initial bar. |
string | $title | the name to put in front of this initial bar. |
string | $urlvar | URL parameter name for this initial. |
string | $url | URL object. |
array | $alpha | of letters in the alphabet. |
initials_bar::export_for_template | ( | renderer_base | $output | ) |
Export for template.
renderer_base | $output | The renderer. |
stdClass |
Implements templatable.