FormResultCompiler

class \TYPO3\CMS\Backend\Form\FormResultCompiler

This is form engine - Class for creating the backend editing forms.

Deprecated

This class is unused and only exists to support legacy form rendering. Please switch to using FormResultFactory and FormResultHandler instead. Will be removed in v15.

Table of Contents

Properties

$additionalInlineLanguageLabelFiles  : array
Additional language label files to include.
$hiddenFieldAccum  : array
$inlineData  : array
Data array from IRRE pushed to frontend as json array
$javaScriptModules  : array<int, JavaScriptModuleInstruction>
Array with instances of JavaScriptModuleInstruction.
$stylesheetFiles  : array
List of additional style sheet files to load

Methods

addCssFiles()  : void
Adds CSS files BEFORE the form is drawn
mergeResult()  : void
Merge existing data with the given result array
printNeededJSFunctions()  : string
Prints necessary JavaScript for TCEforms (after the form HTML).
getLanguageService()  : LanguageService

Properties

$additionalInlineLanguageLabelFiles

Additional language label files to include.

protected array $additionalInlineLanguageLabelFiles = []

$hiddenFieldAccum

protected array $hiddenFieldAccum = []

HTML of additional hidden fields rendered by sub containers

$inlineData

Data array from IRRE pushed to frontend as json array

protected array $inlineData = []

$stylesheetFiles

List of additional style sheet files to load

protected array $stylesheetFiles = []

Methods

addCssFiles()

Adds CSS files BEFORE the form is drawn

public addCssFiles() : void

mergeResult()

Merge existing data with the given result array

public mergeResult(array $resultArray) : void

Parameters

$resultArray : array

Array returned by child

printNeededJSFunctions()

Prints necessary JavaScript for TCEforms (after the form HTML).

public printNeededJSFunctions() : string

currently this is used to transform page-specific options in the TYPO3.Settings array for JS so the JS module can access these values

Return values

string
On this page