FormDataCompiler

class \TYPO3\CMS\Backend\Form\FormDataCompiler

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

Table of Contents

Methods

__construct()  : mixed
compile()  : array
Main entry method maps given data input array and sanitizes some crucial input parameters and calls compile on FormDataGroupInterface.

Methods

compile()

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

public compile(array $initialData[, FormDataGroupInterface|null $formDataGroup = null ]) : array

Parameters

$initialData : array

Initial set of data to map into result array

$formDataGroup : FormDataGroupInterface|null = null

Tags

throws
InvalidArgumentException
throws
UnexpectedValueException

Return values

array
On this page