PHP Class Prado\Web\UI\WebControls\TServerValidateEventParameter

TServerValidateEventParameter encapsulates the parameter data for OnServerValidate event of TCustomValidator components.
Since: 3.0
Author: Qiang Xue ([email protected])
Inheritance: extends Prado\TEventParameter
显示文件 Open project: pradosoft/prado

Public Methods

Method Description
__construct ( $value, $isValid ) Constructor.
getIsValid ( ) : boolean
getValue ( ) : string
setIsValid ( $value )

Method Details

__construct() public method

Constructor.
public __construct ( $value, $isValid )

getIsValid() public method

public getIsValid ( ) : boolean
return boolean whether the value is valid

getValue() public method

public getValue ( ) : string
return string value to be validated

setIsValid() public method

public setIsValid ( $value )