Class Hex
Responsibility: Validate if submitted characters representing a hexadecimal digit.
- MvcCore\Ext\Forms\Validator implements MvcCore\Ext\Forms\IValidator
-
MvcCore\Ext\Forms\Validators\Hex
Namespace: MvcCore\Ext\Forms\Validators
See: http://php.net/manual/en/function.ctype-xdigit.php
Located at ext-form-validator-special/src/MvcCore/Ext/Forms/Validators/Hex.php
See: http://php.net/manual/en/function.ctype-xdigit.php
Located at ext-form-validator-special/src/MvcCore/Ext/Forms/Validators/Hex.php
public
string|null
|
CreateInstance(),
GetErrorMessage(),
SetField(),
SetForm(),
__construct(),
setUpFieldProps(),
throwNewInvalidArgumentException()
|
integer |
ERROR_HEX
Error message index(es). |
#
0
|
protected static
array
|
$errorMessages
Validation failure message template definitions. |
#
[
self::ERROR_HEX => "Field '{0}' requires hexadecimal value ([a-fA-F0-9]).",
]
|
$field,
$fieldSpecificProperties,
$form,
$toolClass
|