interface IControl

Defines method that must be implemented to allow a component to act like a form control.

Methods

setValue(mixed $value)

Sets control's value.

mixed
getValue()

Returns control's value.

void
validate()

No description

array
getErrors()

Returns errors corresponding to control.

bool
isOmitted()

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

Details

at line 24
IControl setValue(mixed $value)

Sets control's value.

Parameters

mixed $value

Return Value

IControl

at line 30
mixed getValue()

Returns control's value.

Return Value

mixed

at line 32
void validate()

Return Value

void

at line 37
array getErrors()

Returns errors corresponding to control.

Return Value

array

at line 42
bool isOmitted()

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

Return Value

bool