Password type form element.
More...
|
| $_helpbutton ='' |
|
| string |
| html for help button, if empty then no help
|
|
|
bool | $_hiddenLabel = false |
| if true label will be hidden.
|
|
Password type form element.
HTML class for a password type element
- Copyright
- 2006 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_password::__construct |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $attributes = null ) |
constructor
- Parameters
-
string | $elementName | (optional) name of the password element |
string | $elementLabel | (optional) label for password element |
mixed | $attributes | (optional) Either a typical HTML attribute string or an associative array |
Reimplemented in MoodleQuickForm_passwordunmask.
◆ getHelpButton()
MoodleQuickForm_password::getHelpButton |
( |
| ) |
|
get html for help button
- Return values
-
string | html for help button |
◆ MoodleQuickForm_password()
MoodleQuickForm_password::MoodleQuickForm_password |
( |
| $elementName = null, |
|
|
| $elementLabel = null, |
|
|
| $attributes = null ) |
◆ setHiddenLabel()
MoodleQuickForm_password::setHiddenLabel |
( |
| $hiddenLabel | ) |
|
Sets label to be hidden.
- Parameters
-
bool | $hiddenLabel | sets if label should be hidden |
The documentation for this class was generated from the following file: