Differences Between: [Versions 310 and 402] [Versions 311 and 402] [Versions 39 and 402] [Versions 400 and 402] [Versions 401 and 402]
Password type form element Contains HTML class for a password type element
Copyright: | 2006 Jamie Pratt <me@jamiep.org> |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 106 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 1 file lib/form/templatable_form_element.php |
MoodleQuickForm_password:: (2 methods):
__construct()
MoodleQuickForm_password()
name:: (2 methods):
getHelpButton()
setHiddenLabel()
Class: MoodleQuickForm_password - X-Ref
Password type form element__construct($elementName=null, $elementLabel=null, $attributes=null) X-Ref |
constructor param: string $elementName (optional) name of the password element param: string $elementLabel (optional) label for password element param: mixed $attributes (optional) Either a typical HTML attribute string |
MoodleQuickForm_password($elementName=null, $elementLabel=null, $attributes=null) X-Ref |
Old syntax of class constructor. Deprecated in PHP7. |
getHelpButton() X-Ref |
get html for help button return: string html for help button |
setHiddenLabel($hiddenLabel) X-Ref |
Sets label to be hidden param: bool $hiddenLabel sets if label should be hidden |