|
XOOPS 2.5.6
Final
|

Public Member Functions | |
| getMaxlength () | |
| getSize () | |
| getValue ($encode=false) | |
| render () | |
| setValue ($value) | |
| XoopsFormPassword ($caption, $name, $size, $maxlength, $value= '', $autoComplete=false) | |
Public Member Functions inherited from XoopsFormElement | |
| getAccessKey () | |
| getAccessString ($str) | |
| getCaption ($encode=false) | |
| getClass () | |
| getDescription ($encode=false) | |
| getExtra ($encode=false) | |
| getFormType () | |
| getName ($encode=true) | |
| getNocolspan () | |
| getTitle ($encode=true) | |
| isContainer () | |
| isHidden () | |
| isRequired () | |
| render () | |
| renderValidationJS () | |
| setAccessKey ($key) | |
| setCaption ($caption) | |
| setClass ($class) | |
| setDescription ($description) | |
| setExtra ($extra, $replace=false) | |
| setFormType ($value= '') | |
| setHidden () | |
| setName ($name) | |
| setNocolspan ($nocolspan=true) | |
| XoopsFormElement () | |
Public Attributes | |
| $_maxlength | |
| $_size | |
| $_value | |
| $autoComplete = false | |
Public Attributes inherited from XoopsFormElement | |
| $_accesskey = '' | |
| $_caption | |
| $_class = array() | |
| $_description = '' | |
| $_extra = array() | |
| $_formtype = '' | |
| $_hidden = false | |
| $_name | |
| $_nocolspan = false | |
| $_required = false | |
| $customValidationCode = array() | |
Password Field
Definition at line 26 of file formpassword.php.
| XoopsFormPassword::getMaxlength | ( | ) |
| XoopsFormPassword::getSize | ( | ) |
| XoopsFormPassword::getValue | ( | $encode = false | ) |
Get the "value" attribute
| bool | $encode | To sanitizer the text? |
Definition at line 108 of file formpassword.php.
| XoopsFormPassword::render | ( | ) |
| XoopsFormPassword::setValue | ( | $value | ) |
| XoopsFormPassword::XoopsFormPassword | ( | $caption, | |
| $name, | |||
| $size, | |||
| $maxlength, | |||
$value = '', |
|||
$autoComplete = false |
|||
| ) |
Constructor
| string | $caption | Caption |
| string | $name | "name" attribute |
| int | $size | Size of the field |
| int | $maxlength | Maximum length of the text |
| string | $value | Initial value of the field. Warning: this is readable in cleartext in the page's source! |
| bool | $autoComplete | To enable autoComplete or browser cache |
Definition at line 72 of file formpassword.php.
| XoopsFormPassword::$_maxlength |
Definition at line 42 of file formpassword.php.
| XoopsFormPassword::$_size |
Definition at line 34 of file formpassword.php.
| XoopsFormPassword::$_value |
Definition at line 50 of file formpassword.php.
| XoopsFormPassword::$autoComplete = false |
Definition at line 59 of file formpassword.php.