PHP Interface Nette\Forms\IControl

Author: David Grudl
Mostrar archivo Open project: nette/forms Interface Usage Examples

Public Methods

Method Description
getErrors ( ) : array Returns errors corresponding to control.
getValue ( ) : mixed Returns control's value.
isOmitted ( ) : boolean Is control value excluded from $form->getValues() result?
setValue ( $value ) : void Sets control's value.
validate ( ) : void

Method Details

getErrors() public method

Returns errors corresponding to control.
public getErrors ( ) : array
return array

getValue() public method

Returns control's value.
public getValue ( ) : mixed
return mixed

isOmitted() public method

Is control value excluded from $form->getValues() result?
public isOmitted ( ) : boolean
return boolean

setValue() public method

Sets control's value.
public setValue ( $value ) : void
return void

validate() public method

public validate ( ) : void
return void