extends |
XoopsFormElement |
---|
A simple text field
Methods | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $caption, string $name, int $size, int $maxlength, string $value = '')
Constructor
Constructor Parameters
OverridesOverriden by |
# | ||||||||||
public
|
getSize(): int
Get size
Get size |
# | ||||||||||
public
|
getMaxlength(): int
Get maximum text length
Get maximum text length |
# | ||||||||||
public
|
getValue(bool $encode = false): string
Get initial content
Get initial content Parameters
|
# | ||||||||||
public
|
setValue(string $value)
Set initial text value
Set initial text value |
# | ||||||||||
public
|
render(): string
Prepare HTML for output
Prepare HTML for output ReturnsHTML OverridesOverriden by |
# |
Properties | |||
---|---|---|---|
public
|
int
|
$_size
|
# |
public
|
int
|
$_maxlength
|
# |
public
|
string
|
$_value
|
# |
Properties inherited from XoopsFormElement |
---|
$customValidationCode, $_name, $_caption, $_accesskey, $_class, $_hidden, $_extra, $_required, $_description, $_nocolspan, $_formtype |