validate() validate(integer $checkType, string $value) : boolean Validate input against regular expression Parameters integer $checkType The type to check for string $value The value to validate Returns boolean — True if valid, false if not.
getCheck() getCheck(integer $checkType) : string Get the regular expression that is used by the given field type Parameters integer $checkType Field type Returns string — The matching regular expression