TYPO3
7.6
|
Public Member Functions | |
isValid ($value) | |
substituteMarkers ($message) | |
Public Member Functions inherited from AbstractValidator | |
setRawArgument ($rawArgument) | |
setFormUtility (FormUtility $formUtility) | |
substituteMarkers ($message) | |
getLocalLanguageLabel ($type= '') | |
renderMessage ($message=null, $type=null, $messageType= 'message') | |
Public Member Functions inherited from AbstractValidator | |
__construct (array $options=array()) | |
validate ($value) | |
getOptions () | |
Public Attributes | |
const | LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_date' |
Public Attributes inherited from AbstractValidator | |
const | LOCALISATION_OBJECT_NAME = 'tx_form_system_validate' |
Protected Member Functions | |
humanReadableDateFormat ($format) | |
Protected Attributes | |
$supportedOptions | |
Protected Attributes inherited from AbstractValidator | |
$formUtility | |
$rawArgument | |
$supportedOptions | |
$acceptsEmptyValues = false | |
Protected Attributes inherited from AbstractValidator | |
$acceptsEmptyValues = true | |
$supportedOptions = array() | |
$options = array() | |
$result | |
Definition at line 17 of file DateValidator.php.
|
protected |
Converts strftime date format to human readable format according to local language.
Example for default language: e-m-Y becomes d-mm-yyyy
string | $format | strftime format |
Definition at line 133 of file DateValidator.php.
Referenced by DateValidator\substituteMarkers().
isValid | ( | $value | ) |
Check if $value is valid. If it is not valid, needs to add an error to result.
mixed | $value |
Definition at line 42 of file DateValidator.php.
References AbstractValidator\addError(), and AbstractValidator\renderMessage().
substituteMarkers | ( | $message | ) |
Substitute makers in the message text Overrides the abstract
string | $message | Message text with markers |
Definition at line 117 of file DateValidator.php.
References DateValidator\humanReadableDateFormat().
|
protected |
Definition at line 22 of file DateValidator.php.
const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_date' |
Definition at line 33 of file DateValidator.php.