|
XOOPS
2.6.0
|

Additional Inherited Members | |
Public Attributes inherited from Xoops\Form\Element | |
| $customValidationCode = array() | |
Protected Attributes inherited from Xoops\Form\Element | |
| $value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
| $attributes = array() | |
Definition at line 25 of file Button.php.
| Xoops\Form\Button::__construct | ( | $caption, | |
| $name, | |||
$value = "", |
|||
$type = "button" |
|||
| ) |
Constructor
| string | $caption | button caption |
| string | $name | button name |
| string | $value | button value |
| string | $type | type of the button. Possible values: "button", "submit", or "reset" |
Definition at line 36 of file Button.php.
References Xoops\Form\Element\$caption, $name, $type, Xoops\Form\Element\$value, Xoops\Html\Attributes\setAttribute(), Xoops\Form\Element\setCaption(), and Xoops\Form\Element\setValue().

| Xoops\Form\Button::getType | ( | ) |
Get the type
Definition at line 49 of file Button.php.
References Xoops\Html\Attributes\getAttribute().

| Xoops\Form\Button::render | ( | ) |
prepare HTML for output
Definition at line 60 of file Button.php.
References Xoops\Html\Attributes\$attributes, Xoops\Html\Attributes\addAttribute(), Xoops\Form\Element\getExtra(), Xoops\Form\Element\getValue(), and Xoops\Form\Element\renderAttributeString().
