TypoScriptReferenceController

class \TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController

Loads TSref information from a XML file and responds to an AJAX call.

Table of Contents

Properties

$xmlDoc  : DOMDocument

Methods

loadReference()  : ResponseInterface
Load TypoScript reference
getTypes()  : array
Get types from XML
loadFile()  : mixed
Load XML file

Properties

Methods

loadReference()

Load TypoScript reference

public loadReference(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

getTypes()

Get types from XML

protected getTypes() : array

Return values

array

loadFile()

Load XML file

protected loadFile(string $filepath) : mixed

Parameters

$filepath : string
On this page