Prado\Web\UI\WebControls\TDataTypeValidator::getClientScriptOptions PHP 메소드

getClientScriptOptions() 보호된 메소드

Returns an array of javascript validator options.
protected getClientScriptOptions ( ) : array
리턴 array javascript validator options.
    protected function getClientScriptOptions()
    {
        $options = parent::getClientScriptOptions();
        $options['DataType'] = $this->getDataType();
        if (($dateFormat = $this->getDateFormat()) !== '') {
            $options['DateFormat'] = $dateFormat;
        }
        return $options;
    }