static warning
More...
|
| | __construct ($elementName=null, $elementClass='notifyproblem', $text=null) |
| | constructor
|
| |
|
| export_for_template (renderer_base $output) |
| |
| | getElementTemplateType () |
| | Gets the type of form element.
|
| |
| | getHelpButton () |
| | get html for help button
|
| |
| | MoodleQuickForm_warning ($elementName=null, $elementClass='notifyproblem', $text=null) |
| | Old syntax of class constructor.
|
| |
| | toHtml () |
| | Returns HTML for this form element.
|
| |
|
|
string | $_class ='' |
| | class assigned to field, default is notifyproblem
|
| |
|
string | $_elementTemplateType ='warning' |
| | Form element type.
|
| |
|
string | $_helpbutton ='' |
| | html for help button, if empty then no help
|
| |
static warning
overrides HTML_QuickForm_static to display staic warning.
- Copyright
- 2008 Jamie Pratt me@ja.nosp@m.miep.nosp@m..org
- License
- http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
◆ __construct()
| MoodleQuickForm_warning::__construct |
( |
| $elementName = null, |
|
|
| $elementClass = 'notifyproblem', |
|
|
| $text = null ) |
constructor
- Parameters
-
| string | $elementName | (optional) name of the field |
| string | $elementClass | (optional) show as warning or notification => 'notifyproblem' |
| string | $text | (optional) Text to put in warning field |
◆ getElementTemplateType()
| MoodleQuickForm_warning::getElementTemplateType |
( |
| ) |
|
Gets the type of form element.
- Return values
-
◆ getHelpButton()
| MoodleQuickForm_warning::getHelpButton |
( |
| ) |
|
get html for help button
- Return values
-
| string | html for help button |
◆ MoodleQuickForm_warning()
| MoodleQuickForm_warning::MoodleQuickForm_warning |
( |
| $elementName = null, |
|
|
| $elementClass = 'notifyproblem', |
|
|
| $text = null ) |
◆ toHtml()
| MoodleQuickForm_warning::toHtml |
( |
| ) |
|
Returns HTML for this form element.
- Return values
-
The documentation for this class was generated from the following file: