interface Control

Contract for all form controls.

Methods

setValue(mixed $value)

No description

mixed
getValue()

No description

void
validate()

No description

array
getErrors()

Returns errors corresponding to control.

bool
isOmitted()

Is control value excluded from $form->getValues() result?

Details

at line 16
Control setValue(mixed $value)

No description

Parameters

mixed $value

Return Value

Control

at line 18
mixed getValue()

No description

Return Value

mixed

at line 20
void validate()

No description

Return Value

void

at line 26
array getErrors()

Returns errors corresponding to control.

Return Value

array

at line 31
bool isOmitted()

Is control value excluded from $form->getValues() result?

Return Value

bool