AnewtFormControlButtonSubmit class

Submit control form button.

Class Overview

Submit control form button.

Public Methods

__construct($name)

Create a new submit button.

Parameters

$name

The name of this control.

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.

Parameters

$values

An associative array from which the form control should be filled.

Return value

true if filling was succesfull, false otherwise.

See also

Inheritance

Base Classes

Inherited members