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])
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
getIsValid ( ) : boolean
getValidationPropertyValue ( ) : mixed
setIsValid ( $value ) : boolean

Method Details

getIsValid() public method

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

getValidationPropertyValue() public method

public getValidationPropertyValue ( ) : mixed
return mixed the value of the property to be validated.

setIsValid() public method

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