‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Form\FormDataCompiler Class Reference

Public Member Functions

 compile (array $initialData, FormDataGroupInterface $formDataGroup)

Private Member Functions

 initializeResultArray ()

Detailed Description

Create and return a defined array of data ready to be used by the container / element render part of FormEngine

Definition at line 25 of file FormDataCompiler.php.

Member Function Documentation

◆ compile()

TYPO3\CMS\Backend\Form\FormDataCompiler::compile ( array  $initialData,
FormDataGroupInterface  $formDataGroup 

Main entry method maps given data input array and sanitizes some crucial input parameters and calls compile on FormDataGroupInterface.

array$initialData‪Initial set of data to map into result array

Definition at line 35 of file FormDataCompiler.php.

References TYPO3\CMS\Core\Utility\MathUtility\canBeInterpretedAsInteger(), TYPO3\CMS\Backend\Form\FormDataGroupInterface\compile(), and TYPO3\CMS\Backend\Form\FormDataCompiler\initializeResultArray().

◆ initializeResultArray()

TYPO3\CMS\Backend\Form\FormDataCompiler::initializeResultArray ( )