TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Extbase\Validation\Validator\AbstractObjectValidator Class Reference
Inheritance diagram for TYPO3\CMS\Extbase\Validation\Validator\AbstractObjectValidator:
TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface TYPO3\CMS\Extbase\Validation\Validator\ValidatorInterface Tx_Extbase_Validation_Validator_AbstractObjectValidator TYPO3\CMS\Extbase\Mvc\Controller\ArgumentsValidator Tx_Extbase_MVC_Controller_ArgumentsValidator

Public Member Functions

 setValidatedInstancesContainer (\SplObjectStorage $validatedInstancesContainer)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator
 __construct (array $options=array())
 
 validate ($value)
 
 setOptions (array $options)
 
 getErrors ()
 
 getOptions ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface
 canValidate ($object)
 
 isPropertyValid ($object, $propertyName)
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator
 isValid ($value)
 
 addError ($message, $code, array $arguments=array(), $title='')
 
 isEmpty ($value)
 
 translateErrorMessage ($translateKey, $extensionName, $arguments=array())
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\Validation\Validator\AbstractValidator
 $acceptsEmptyValues = TRUE
 
 $supportedOptions = array()
 
 $options = array()
 
 $errors = array()
 
 $result
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! An abstract Object Validator

Deprecated:
since Extbase 1.4.0, will be removed two versions after Extbase 6.1

Definition at line 21 of file AbstractObjectValidator.php.

Member Function Documentation

◆ setValidatedInstancesContainer()

TYPO3\CMS\Extbase\Validation\Validator\AbstractObjectValidator::setValidatedInstancesContainer ( \SplObjectStorage  $validatedInstancesContainer)

Allows to set a container to keep track of validated instances.

Parameters
\SplObjectStorage$validatedInstancesContainerA container to keep track of validated instances
Returns
void

Implements TYPO3\CMS\Extbase\Validation\Validator\ObjectValidatorInterface.

Definition at line 30 of file AbstractObjectValidator.php.