Prado\Web\UI\WebControls\TCustomValidator::onServerValidate PHP Method

onServerValidate() public method

It will raise the OnServerValidate event. The method also allows derived classes to handle the event without attaching a delegate. Note The derived classes should call parent implementation to ensure the OnServerValidate event is raised.
public onServerValidate ( $value ) : boolean
return boolean whether the value is valid
    public function onServerValidate($value)
    {
        $param = new TServerValidateEventParameter($value, true);
        $this->raiseEvent('OnServerValidate', $this, $param);
        return $param->getIsValid();
    }