Public Member Functions | |
| __construct ($name) | |
| Create a new submit button. | |
| fill ($values) | |
| Fill the form control from the given values. | |
Definition at line 106 of file button.lib.php.
| AnewtFormControlButtonSubmit::__construct | ( | $ | name | ) |
Create a new submit button.
| $name | The name of this control. |
Reimplemented from AnewtFormControlButton.
Definition at line 114 of file button.lib.php.
| AnewtFormControlButtonSubmit::fill | ( | $ | values | ) |
Fill the form control from the given values.
This only sets the value for controls for which the can-be-filled property is enabled.
The return value of this function indicates whether the control was successfully filled with a value. For some control types such as checkboxes this always succeeds since both presence and absence of the value from $values are meaningful. For other controls such as text inputs this is only true if the value was actually present in the $values parameters.
| $values | An associative array from which the form control should be filled. |
true if filling was succesfull, false otherwise.Reimplemented from AnewtFormControl.
Definition at line 128 of file button.lib.php.
1.5.9