‪TYPO3CMS  9.5
TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController Class Reference
Inheritance diagram for TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController:
TYPO3\CMS\T3editor\TypoScriptReferenceLoader

Public Member Functions

ResponseInterface loadReference (ServerRequestInterface $request)
 

Protected Member Functions

 loadFile ($filepath)
 
array getTypes ()
 

Protected Attributes

DOMDocument $xmlDoc
 

Detailed Description

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

This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.

Definition at line 25 of file TypoScriptReferenceController.php.

Member Function Documentation

◆ getTypes()

array TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController::getTypes ( )
protected

Get types from XML

Returns
‪array

Definition at line 65 of file TypoScriptReferenceController.php.

Referenced by TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController\loadReference().

◆ loadFile()

TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController::loadFile (   $filepath)
protected

Load XML file

Parameters
string$filepath

Definition at line 49 of file TypoScriptReferenceController.php.

Referenced by TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController\loadReference().

◆ loadReference()

ResponseInterface TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController::loadReference ( ServerRequestInterface  $request)

Load TypoScript reference

Parameters
ServerRequestInterface$request
Returns
‪ResponseInterface

Definition at line 37 of file TypoScriptReferenceController.php.

References TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController\getTypes(), and TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController\loadFile().

Member Data Documentation

◆ $xmlDoc

DOMDocument TYPO3\CMS\T3editor\Controller\TypoScriptReferenceController::$xmlDoc
protected

Definition at line 29 of file TypoScriptReferenceController.php.