|
string | $_helpbutton ='' |
| html for help button, if empty then no help
|
|
◆ __construct()
MoodleQuickForm_header::__construct |
( |
|
$elementName = null , |
|
|
|
$text = null |
|
) |
| |
constructor
- Parameters
-
string | $elementName | name of the header element |
string | $text | text displayed in header element |
◆ accept()
MoodleQuickForm_header::accept |
( |
& |
$renderer, |
|
|
|
$required = false , |
|
|
|
$error = null |
|
) |
| |
Accepts a renderer.
- Parameters
-
HTML_QuickForm_Renderer | $renderer | a HTML_QuickForm_Renderer object |
◆ getHelpButton()
MoodleQuickForm_header::getHelpButton |
( |
| ) |
|
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_header()
MoodleQuickForm_header::MoodleQuickForm_header |
( |
|
$elementName = null , |
|
|
|
$text = null |
|
) |
| |
Old syntax of class constructor.
Deprecated in PHP7.
- Deprecated:
- since Moodle 3.1
The documentation for this class was generated from the following file: