extends |
XoopsFormElement |
---|
A button
Methods | ||||||
---|---|---|---|---|---|---|
public
|
__construct(string $caption, string $name, string $value = '', string $type = 'button')
Constructor
Constructor Parameters
Overrides |
# | ||||
public
|
getValue(bool $encode = false): string
Get the initial value
Get the initial value Parameters
|
# | ||||
public
|
setValue($value): string
Set the initial value
Set the initial value |
# | ||||
public
|
getType(): string
Get the type
Get the type |
# | ||||
public
|
render(): string
prepare HTML for output
|
# |
Properties | |||
---|---|---|---|
public
|
string
|
$_value
|
# |
public
|
string
|
$_type
|
# |
Properties inherited from XoopsFormElement |
---|
$customValidationCode, $_name, $_caption, $_accesskey, $_class, $_hidden, $_extra, $_required, $_description, $_nocolspan, $_formtype |