PHP Interface Nette\Forms\IControl

Author: David Grudl
Afficher le fichier Open project: nette/forms Interface Usage Examples

Méthodes publiques

Méthode 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 méthode

Returns errors corresponding to control.
public getErrors ( ) : array
Résultat array

getValue() public méthode

Returns control's value.
public getValue ( ) : mixed
Résultat mixed

isOmitted() public méthode

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

setValue() public méthode

Sets control's value.
public setValue ( $value ) : void
Résultat void

validate() public méthode

public validate ( ) : void
Résultat void