CodeCompletionController
Code completion for t3editor
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
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<string|int, mixed>
- 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
ResponseInterfacegetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegetMergedTemplates()
Gets merged templates by walking the rootline to a given page id.
protected
getMergedTemplates(int $pageId) : array<string|int, mixed>
Parameters
- $pageId : int
Tags
Return values
array<string|int, mixed> —Setup part of merged template records