extends |
XoopsFormElement |
---|
Password Field
Methods | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $caption, string $name, int $size, int $maxlength, string $value = '', bool $autoComplete = false)
Constructor
Constructor Parameters
Overrides |
# | ||||||||||||
public
|
getSize(): int
Get the field size
Get the field size |
# | ||||||||||||
public
|
getMaxlength(): int
Get the max length
Get the max length |
# | ||||||||||||
public
|
getValue(bool $encode = false): string
Get the "value" attribute
Get the "value" attribute Parameters
|
# | ||||||||||||
public
|
setValue($value)
Set the initial value
Set the initial value |
# | ||||||||||||
public
|
render(): string
Prepare HTML for output
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$_size
|
# |
public
|
int
|
$_maxlength
|
# |
public
|
string
|
$_value
|
# |
public
|
boolean
|
$autoComplete = false
|
# |
Properties inherited from XoopsFormElement |
---|
$customValidationCode, $_name, $_caption, $_accesskey, $_class, $_hidden, $_extra, $_required, $_description, $_nocolspan, $_formtype |