![]() |
TYPO3
7.6
|
Public Member Functions | |
isValid ($value) | |
![]() | |
setRawArgument ($rawArgument) | |
setFormUtility (FormUtility $formUtility) | |
substituteMarkers ($message) | |
getLocalLanguageLabel ($type= '') | |
renderMessage ($message=null, $type=null, $messageType= 'message') | |
![]() | |
__construct (array $options=array()) | |
validate ($value) | |
getOptions () | |
Public Attributes | |
const | LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_required' |
![]() | |
const | LOCALISATION_OBJECT_NAME = 'tx_form_system_validate' |
Protected Member Functions | |
setAllFieldsAreEmpty ($allFieldsAreEmpty=true) | |
getAllFieldsAreEmpty () | |
Protected Attributes | |
$allFieldsAreEmpty = true | |
![]() | |
$formUtility | |
$rawArgument | |
$supportedOptions | |
$acceptsEmptyValues = false | |
![]() | |
$acceptsEmptyValues = true | |
$supportedOptions = array() | |
$options = array() | |
$result | |
Definition at line 17 of file RequiredValidator.php.
|
protected |
A helper method for the array_walk_recursive callback in the function isValid(). If the callback detect a empty value, the property allFieldsAreEmpty is set to TRUE.
Definition at line 98 of file RequiredValidator.php.
References RequiredValidator\$allFieldsAreEmpty.
Referenced by RequiredValidator\isValid().
isValid | ( | $value | ) |
Check if $value is valid. If it is not valid, needs to add an error to result.
mixed | $value |
Definition at line 38 of file RequiredValidator.php.
References AbstractValidator\addError(), RequiredValidator\getAllFieldsAreEmpty(), and AbstractValidator\renderMessage().
|
protected |
A helper method for the array_walk_recursive callback in the function isValid(). If the callback detect a empty value, the property allFieldsAreEmpty is set to TRUE.
bool | $allFieldsAreEmpty |
Definition at line 85 of file RequiredValidator.php.
References RequiredValidator\$allFieldsAreEmpty.
|
protected |
Definition at line 29 of file RequiredValidator.php.
Referenced by RequiredValidator\getAllFieldsAreEmpty(), and RequiredValidator\setAllFieldsAreEmpty().
const LOCALISATION_OBJECT_NAME = 'tx_form_system_validate_required' |
Definition at line 24 of file RequiredValidator.php.