XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
__construct ($caption, $name, $size, $maxlength, $value='', $autoComplete=false) | |
getSize () | |
getMaxlength () | |
getValue ($encode=false) | |
setValue ($value) | |
render () | |
Fonctions membres publiques hérités de XoopsFormElement | |
__construct () | |
isContainer () | |
setName ($name) | |
getName ($encode=true) | |
setAccessKey ($key) | |
getAccessKey () | |
getAccessString ($str) | |
setClass ($class) | |
getClass () | |
setCaption ($caption) | |
getCaption ($encode=false) | |
getTitle ($encode=true) | |
setDescription ($description) | |
getDescription ($encode=false) | |
setHidden () | |
isHidden () | |
isRequired () | |
setExtra ($extra, $replace=false) | |
getExtra ($encode=false) | |
setNocolspan ($nocolspan=true) | |
getNocolspan () | |
getFormType () | |
setFormType ($value='') | |
renderValidationJS () | |
Champs de données | |
$_size | |
$_maxlength | |
$_value | |
$autoComplete = false | |
Champs de données hérités de XoopsFormElement | |
$customValidationCode = array() | |
$_name | |
$_caption | |
$_accesskey = '' | |
$_class = array() | |
$_hidden = false | |
$_extra = array() | |
$_required = false | |
$_description = '' | |
$_nocolspan = false | |
$_formtype = '' | |
Password Field
__construct | ( | $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 |
getMaxlength | ( | ) |
Get the max length
getSize | ( | ) |
Get the field size
getValue | ( | $encode = false | ) |
Get the "value" attribute
bool | $encode | To sanitizer the text? |
render | ( | ) |
Prepare HTML for output
Réimplémentée à partir de XoopsFormElement.
setValue | ( | $value | ) |
Set the initial value
@patam $value string
$value |
$_maxlength |
$_size |
$_value |
$autoComplete = false |