AbstractFormEngineAjaxController

abstract readonly class \TYPO3\CMS\Backend\Controller\AbstractFormEngineAjaxController

Abstract class for a couple of FormEngine controllers triggered by ajax calls. The class containers some helpers to for instance prepare the form render result for json output.

Table of Contents

Methods

addJavaScriptModulesToJavaScriptItems()  : void
getLabelsFromLocalizationFile()  : array
Parse a language file and get a label/value array from it.
getLanguageService()  : LanguageService|null
getRelativePathToStylesheetFile()  : string
Resolve a CSS file position, possibly prefixed with 'EXT:'

Methods

getLabelsFromLocalizationFile()

Parse a language file and get a label/value array from it.

protected getLabelsFromLocalizationFile(string $file) : array

Parameters

$file : string

EXT:path/to/file

Return values

array —

Label/value array

getRelativePathToStylesheetFile()

Resolve a CSS file position, possibly prefixed with 'EXT:'

protected getRelativePathToStylesheetFile(string $stylesheetFile) : string

Parameters

$stylesheetFile : string

Given file, possibly prefixed with EXT:

Return values

string —

URL to file

On this page