static warning element Contains class for static warning type element
Copyright: | 2008 Jamie Pratt <me@jamiep.org> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 113 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/form/templatable_form_element.php |
MoodleQuickForm_warning:: (2 methods):
__construct()
MoodleQuickForm_warning()
name:: (4 methods):
toHtml()
getHelpButton()
getElementTemplateType()
export_for_template()
Class: MoodleQuickForm_warning - X-Ref
static warning__construct($elementName=null, $elementClass='notifyproblem', $text=null) X-Ref |
constructor param: string $elementName (optional) name of the field param: string $elementClass (optional) show as warning or notification => 'notifyproblem' param: string $text (optional) Text to put in warning field |
MoodleQuickForm_warning($elementName=null, $elementClass='notifyproblem', $text=null) X-Ref |
Old syntax of class constructor. Deprecated in PHP7. |
toHtml() X-Ref |
Returns HTML for this form element. return: string |
getHelpButton() X-Ref |
get html for help button return: string html for help button |
getElementTemplateType() X-Ref |
Gets the type of form element return: string |
export_for_template(renderer_base $output) X-Ref |
No description |