IControl
interface IControl
Defines method that must be implemented to allow a component to act like a form control.
Methods
void
setValue($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?
string
translate($s, $count = NULL)
Returns translated string.
Details
at line 24
void
setValue($value)
Sets control's value.
at line 30
mixed
getValue()
Returns control's value.
at line 35
void
validate()
No description
at line 41
array
getErrors()
Returns errors corresponding to control.
at line 47
bool
isOmitted()
Is control value excluded from $form->getValues() result?
at line 55
string
translate($s, $count = NULL)
Returns translated string.