PHP Interface Prado\Web\UI\IValidatable

If a control wants to be validated by a validator, it must implement this interface.
Since: 3.0
Author: Qiang Xue ([email protected])
Afficher le fichier Open project: pradosoft/prado

Méthodes publiques

Méthode Description
getIsValid ( ) : boolean
getValidationPropertyValue ( ) : mixed
setIsValid ( $value ) : boolean

Method Details

getIsValid() public méthode

public getIsValid ( ) : boolean
Résultat boolean wether this control's validators validated successfully (must default to true)

getValidationPropertyValue() public méthode

public getValidationPropertyValue ( ) : mixed
Résultat mixed the value of the property to be validated.

setIsValid() public méthode

public setIsValid ( $value ) : boolean
Résultat boolean wether this control's validators validated successfully