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 19
Control setValue(mixed $value)

No description

Parameters

mixed $value

Return Value

Control

at line 22
mixed getValue()

No description

Return Value

mixed

at line 24
void validate()

No description

Return Value

void

at line 30
array getErrors()

Returns errors corresponding to control.

Return Value

array

at line 35
bool isOmitted()

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

Return Value

bool