Inheritance diagram for PasswordChangeField:
Note: This fields doesnt work very well *yet*
When making use of this field you will want to add the following (or something like it) to your site's CSS to make the password strength meter work correctly.
*.pwdMeterActive, *.pwdMeterInactive
{
border: 1px solid black;
height: 5px;
width: 25px;
margin: 0px 0px 3px 3px;
float: left;
}
*.pwdMeterActive
{
background-color: green;
}
*.pwdMeterInactive
{
background-color: grey;
}
*.pwdMeterLabel
{
font-size: 0.8em;
}
Definition at line 42 of file passwordchange-field.inc.php.
Public Member Functions | |
__construct ($name, Form &$parentForm, array $attribs=array()) | |
Constructor. | |
__set ($name, $value) | |
Magic setter. | |
drawInput () | |
Draw the input. | |
validate () | |
Validate the input. | |
getData () | |
Get the value of the field. | |
getSqlImpl () | |
Get an SQL string for the form. | |
getJs () | |
Get the JavaScript required by this field. | |
getCss () | |
Get the special CSS for this field. | |
Protected Attributes | |
$meter | |
$suggest | |
Static Protected Attributes | |
$meterJsDrawn = false | |
$suggestJsDrawn = false | |
$cssDrawn = false |
|
Constructor.
Reimplemented from CollectionField. Definition at line 56 of file passwordchange-field.inc.php. |
|
Magic setter.
Reimplemented from CollectionField. Definition at line 76 of file passwordchange-field.inc.php. |
|
Draw the input.
Reimplemented from CollectionField. Definition at line 89 of file passwordchange-field.inc.php. |
|
Get the special CSS for this field.
Reimplemented from CollectionField. Definition at line 189 of file passwordchange-field.inc.php. |
|
Get the value of the field.
Reimplemented from CollectionField. Definition at line 147 of file passwordchange-field.inc.php. |
|
Get the JavaScript required by this field.
Reimplemented from CollectionField. Definition at line 165 of file passwordchange-field.inc.php. |
|
Get an SQL string for the form.
Reimplemented from CollectionField. Definition at line 156 of file passwordchange-field.inc.php. |
|
Validate the input. This makes sure that the user input the same value twice Reimplemented from CollectionField. Definition at line 128 of file passwordchange-field.inc.php. |
|
Definition at line 46 of file passwordchange-field.inc.php. |
|
Definition at line 47 of file passwordchange-field.inc.php. |
|
Definition at line 44 of file passwordchange-field.inc.php. |
|
Definition at line 48 of file passwordchange-field.inc.php. |
|
Definition at line 45 of file passwordchange-field.inc.php. |