TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Form\Domain\Model\ValidationElement Class Reference
Inheritance diagram for TYPO3\CMS\Form\Domain\Model\ValidationElement:
TYPO3\CMS\Extbase\DomainObject\AbstractEntity TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject TYPO3\CMS\Extbase\DomainObject\DomainObjectInterface TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface

Public Member Functions

 getIncomingFields ()
 
 setIncomingFields ($incomingFields=[])
 
 getIncomingField ($key='')
 
 setIncomingField ($key='', $value=null)
 
 hasIncomingField ($key)
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 __wakeup ()
 
 getUid ()
 
 setPid ($pid)
 
 getPid ()
 
 _setProperty ($propertyName, $propertyValue)
 
 _getProperty ($propertyName)
 
 _getProperties ()
 
 _hasProperty ($propertyName)
 
 _isNew ()
 
 _memorizeCleanState ($propertyName=null)
 
 _memorizePropertyCleanState ($propertyName)
 
 _getCleanProperties ()
 
 _getCleanProperty ($propertyName)
 
 _isDirty ($propertyName=null)
 
 _isClone ()
 
 _setClone ($clone)
 
 __clone ()
 
 __toString ()
 
- Public Member Functions inherited from TYPO3\CMS\Extbase\Persistence\ObjectMonitoringInterface
 _memorizeCleanState ()
 
 _isDirty ()
 

Protected Attributes

 $incomingFields
 
- Protected Attributes inherited from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 $uid
 
 $_localizedUid
 
 $_languageUid
 
 $_versionedUid
 
 $pid
 

Additional Inherited Members

- Protected Member Functions inherited from TYPO3\CMS\Extbase\DomainObject\AbstractDomainObject
 isPropertyDirty ($previousValue, $currentValue)
 

Detailed Description

The ValidationElement Domain Model represents the low-level view on the user submitted data in a flat hierarchy.

Definition at line 23 of file ValidationElement.php.

Member Function Documentation

◆ getIncomingField()

TYPO3\CMS\Form\Domain\Model\ValidationElement::getIncomingField (   $key = '')

Get a single fields from the request

Parameters
string$key
Returns
mixed

Definition at line 59 of file ValidationElement.php.

◆ getIncomingFields()

TYPO3\CMS\Form\Domain\Model\ValidationElement::getIncomingFields ( )

Return a array with all the fields from the request

Returns
array

Definition at line 37 of file ValidationElement.php.

References TYPO3\CMS\Form\Domain\Model\ValidationElement\$incomingFields.

Referenced by TYPO3\CMS\Form\Controller\FrontendController\confirmationAction().

◆ hasIncomingField()

TYPO3\CMS\Form\Domain\Model\ValidationElement::hasIncomingField (   $key)

Determines whether a field is part of the incoming fields.

Parameters
string$keyThe key of the field to be looked up
Returns
bool

Definition at line 82 of file ValidationElement.php.

◆ setIncomingField()

TYPO3\CMS\Form\Domain\Model\ValidationElement::setIncomingField (   $key = '',
  $value = null 
)

Set a single fields from the request

Parameters
string$key
mixed$value
Returns
array

Definition at line 71 of file ValidationElement.php.

◆ setIncomingFields()

TYPO3\CMS\Form\Domain\Model\ValidationElement::setIncomingFields (   $incomingFields = [])

Sets a array with all the fields from the request

Parameters
array$incomingFields
Returns
void

Definition at line 48 of file ValidationElement.php.

References TYPO3\CMS\Form\Domain\Model\ValidationElement\$incomingFields.

Member Data Documentation

◆ $incomingFields

TYPO3\CMS\Form\Domain\Model\ValidationElement::$incomingFields
protected