|
TYPO3 API
SVNRelease
|


Public Member Functions | |
| isValid ($arguments) | |
| canValidate ($object) | |
| isPropertyValid ($arguments, $argumentName) | |
Protected Member Functions | |
| addErrorsForArgument (array $errors, $argumentName) | |
Definition at line 36 of file ArgumentsValidator.php.
| Tx_Extbase_MVC_Controller_ArgumentsValidator::addErrorsForArgument | ( | array $ | errors, |
| $ | argumentName | ||
| ) | [protected] |
Adds the given errors to $this->errors and creates an ArgumentError instance if needed.
| array | $errors | Array of |
| string | $argumentName | Name of the argument to add errors for |
Definition at line 106 of file ArgumentsValidator.php.
Referenced by isPropertyValid().
| Tx_Extbase_MVC_Controller_ArgumentsValidator::canValidate | ( | $ | object | ) |
Checks the given object can be validated by the validator implementation
| object | $object | The object to be checked |
Implements Tx_Extbase_Validation_Validator_ObjectValidatorInterface.
Definition at line 66 of file ArgumentsValidator.php.
| Tx_Extbase_MVC_Controller_ArgumentsValidator::isPropertyValid | ( | $ | arguments, |
| $ | argumentName | ||
| ) |
Checks if the specified property (ie. the argument) of the given arguments object is valid. Validity is checked by first invoking the validation chain defined in the argument object.
If at least one error occurred, the result is FALSE.
| object | $arguments | The arguments object containing the property (argument) to validate |
| string | $argumentName | Name of the property (ie. name of the argument) to validate |
Implements Tx_Extbase_Validation_Validator_ObjectValidatorInterface.
Definition at line 81 of file ArgumentsValidator.php.
References addErrorsForArgument().
Referenced by isValid().
| Tx_Extbase_MVC_Controller_ArgumentsValidator::isValid | ( | $ | arguments | ) |
Checks if the given value (ie. an Arguments object) is valid.
If at least one error occurred, the result is FALSE and any errors can be retrieved through the getErrors() method.
| object | $arguments | The arguments object that should be validated |
Implements Tx_Extbase_Validation_Validator_ValidatorInterface.
Definition at line 47 of file ArgumentsValidator.php.
References isPropertyValid().
1.7.5.1