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

Public Member Functions

 mergeResult (array $resultArray)
string addCssFiles ()
string printNeededJSFunctions ()

Protected Member Functions

string JSbottom ()
 getBackendUserAuthentication ()
 getLanguageService ()
TYPO3 CMS Core Page PageRenderer getPageRenderer ()

Protected Attributes

array $hiddenFieldAccum = array( )
string $doSaveFieldName = ''
array $inlineData = array( )
array $stylesheetFiles = array( )
array $additionalInlineLanguageLabelFiles = array( )
list< JavaScriptModuleInstruction$javaScriptModules = array( )
PageRenderer $pageRenderer

Detailed Description

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

This class and its exposed method and method signatures will change

Definition at line 33 of file FormResultCompiler.php.

Member Function Documentation

◆ addCssFiles()

string TYPO3\CMS\Backend\Form\FormResultCompiler::addCssFiles ( )

◆ getBackendUserAuthentication()

TYPO3\CMS\Backend\Form\FormResultCompiler::getBackendUserAuthentication ( )

Definition at line 210 of file FormResultCompiler.php.

References $GLOBALS.

◆ getLanguageService()

TYPO3\CMS\Backend\Form\FormResultCompiler::getLanguageService ( )

Definition at line 215 of file FormResultCompiler.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

◆ getPageRenderer()

TYPO3 CMS Core Page PageRenderer TYPO3\CMS\Backend\Form\FormResultCompiler::getPageRenderer ( )

◆ JSbottom()

◆ mergeResult()

TYPO3\CMS\Backend\Form\FormResultCompiler::mergeResult ( array  $resultArray)

Merge existing data with the given result array

array$resultArray‪Array returned by child

Temporary method to use FormEngine class as final data merger

Definition at line 79 of file FormResultCompiler.php.

References TYPO3\CMS\Backend\Form\FormResultCompiler\$inlineData.

◆ printNeededJSFunctions()

string TYPO3\CMS\Backend\Form\FormResultCompiler::printNeededJSFunctions ( )

Prints necessary JavaScript for TCEforms (after the form HTML). currently this is used to transform page-specific options in the TYPO3.Settings array for JS so the JS module can access these values


Definition at line 139 of file FormResultCompiler.php.

References TYPO3\CMS\Backend\Form\FormResultCompiler\$pageRenderer, TYPO3\CMS\Core\Page\PageRenderer\addInlineSetting(), TYPO3\CMS\Backend\Form\FormResultCompiler\getPageRenderer(), and TYPO3\CMS\Backend\Form\FormResultCompiler\JSbottom().

Member Data Documentation

◆ $additionalInlineLanguageLabelFiles

array TYPO3\CMS\Backend\Form\FormResultCompiler::$additionalInlineLanguageLabelFiles = array( )

Additional language label files to include.

Definition at line 61 of file FormResultCompiler.php.

◆ $doSaveFieldName

string TYPO3\CMS\Backend\Form\FormResultCompiler::$doSaveFieldName = ''

Can be set to point to a field name in the form which will be set to '1' when the form is submitted with a save button. This way the recipient script can determine that the form was submitted for save and not "close" for example.

Definition at line 45 of file FormResultCompiler.php.

◆ $hiddenFieldAccum

array TYPO3\CMS\Backend\Form\FormResultCompiler::$hiddenFieldAccum = array( )

HTML of additional hidden fields rendered by sub containers

Definition at line 37 of file FormResultCompiler.php.

◆ $inlineData

array TYPO3\CMS\Backend\Form\FormResultCompiler::$inlineData = array( )

Data array from IRRE pushed to frontend as json array

Definition at line 49 of file FormResultCompiler.php.

Referenced by TYPO3\CMS\Backend\Form\FormResultCompiler\mergeResult().

◆ $javaScriptModules

list<JavaScriptModuleInstruction> TYPO3\CMS\Backend\Form\FormResultCompiler::$javaScriptModules = array( )

Array with instances of JavaScriptModuleInstruction.

Definition at line 67 of file FormResultCompiler.php.

◆ $pageRenderer

◆ $stylesheetFiles

array TYPO3\CMS\Backend\Form\FormResultCompiler::$stylesheetFiles = array( )

List of additional style sheet files to load

Definition at line 55 of file FormResultCompiler.php.