CodeCompletionController

class \TYPO3\CMS\T3editor\Controller\CodeCompletionController

Code completion for t3editor

Table of Contents

Methods

loadCompletions()  : ResponseInterface
Loads all templates up to a given page id (walking the rootline) and cleans parts that are not required for the t3editor codecompletion.
getLanguageService()  : LanguageService
getMergedTemplates()  : array
Gets merged templates by walking the rootline to a given page id.

Methods

loadCompletions()

Loads all templates up to a given page id (walking the rootline) and cleans parts that are not required for the t3editor codecompletion.

public loadCompletions(ServerRequestInterface $request) : ResponseInterface

Parameters

$request : ServerRequestInterface

Return values

ResponseInterface

getMergedTemplates()

Gets merged templates by walking the rootline to a given page id.

protected getMergedTemplates(int $pageId) : array

Parameters

$pageId : int

Tags

todo

oliver@typo3.org: Refactor this method and comment what's going on there

Return values

array —

Setup part of merged template records

On this page