TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\T3editor\CodeCompletion Class Reference

Public Member Functions

 __construct ()
 
 processAjaxRequest (ServerRequestInterface $request, ResponseInterface $response)
 

Protected Attributes

 $ajaxObj
 

Private Member Functions

 treeWalkCleanup (array $treeBranch)
 

Detailed Description

Code completion for t3editor

Definition at line 23 of file CodeCompletion.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\T3editor\CodeCompletion::__construct ( )

Default constructor

Definition at line 33 of file CodeCompletion.php.

References $GLOBALS.

Member Function Documentation

◆ processAjaxRequest()

TYPO3\CMS\T3editor\CodeCompletion::processAjaxRequest ( ServerRequestInterface  $request,
ResponseInterface  $response 
)

General processor for AJAX requests. Called by AjaxRequestHandler

Parameters
ServerRequestInterface$request
ResponseInterface$response
Returns
ResponseInterface

Definition at line 46 of file CodeCompletion.php.

References $GLOBALS, TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance(), and TYPO3\CMS\T3editor\CodeCompletion\treeWalkCleanup().

◆ treeWalkCleanup()

TYPO3\CMS\T3editor\CodeCompletion::treeWalkCleanup ( array  $treeBranch)
private

Walks through a tree of TypoScript configuration an cleans it up.

olive.nosp@m.r@ty.nosp@m.po3.o.nosp@m.rg: Define and comment why this is necessary and exactly happens below

Parameters
array$treeBranchTypoScript configuration or sub branch of it
Returns
array Cleaned TypoScript branch

Definition at line 119 of file CodeCompletion.php.

Referenced by TYPO3\CMS\T3editor\CodeCompletion\processAjaxRequest().

Member Data Documentation

◆ $ajaxObj

TYPO3\CMS\T3editor\CodeCompletion::$ajaxObj
protected

Definition at line 28 of file CodeCompletion.php.