extends |
XoopsFormElement |
---|
A textarea
Methods | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $caption, string $name, string $value = '', int $rows = 5, int $cols = 50)
Constuctor
Constuctor Parameters
OverridesOverriden by |
# | ||||||||||
public
|
getRows(): int
get number of rows
get number of rows |
# | ||||||||||
public
|
getCols(): int
Get number of columns
Get number of columns |
# | ||||||||||
public
|
getValue(bool $encode = false): string
Get initial content
Get initial content Parameters
|
# | ||||||||||
public
|
setValue(string $value)
Set initial content
Set initial content |
# | ||||||||||
public
|
render(): string
prepare HTML for output
prepare HTML for output ReturnsHTML OverridesOverriden by |
# |
Properties | |||
---|---|---|---|
public
|
int
|
$_cols
|
# |
public
|
int
|
$_rows
|
# |
public
|
string
|
$_value
|
# |
Properties inherited from XoopsFormElement |
---|
$customValidationCode, $_name, $_caption, $_accesskey, $_class, $_hidden, $_extra, $_required, $_description, $_nocolspan, $_formtype |