TemplateAnalyzerModuleFunctionController
TypoScript template analyzer
This is a specific Backend Controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $pObj : TypoScriptTemplateModuleController
- $request : ServerRequestInterface
- $templateRow : array<string|int, mixed>|null
- The currently selected sys_template record
- $templateService : ExtendedTemplateService
Methods
- init() : mixed
- Init, called from parent object
- main() : string
- Main, called from parent object
- getCodeMirrorMarkup() : string
- getTextareaMarkup() : string
- initializeTemplates() : bool
- renderTemplates() : array<string|int, mixed>
- Render constants or setup templates using t3editor or plain textarea
Properties
$pObj
protected
TypoScriptTemplateModuleController
$pObj
$request
protected
ServerRequestInterface
$request
$templateRow
The currently selected sys_template record
protected
array<string|int, mixed>|null
$templateRow
$templateService
protected
ExtendedTemplateService
$templateService
Methods
init()
Init, called from parent object
public
init(TypoScriptTemplateModuleController $pObj, ServerRequestInterface $request) : mixed
Parameters
- $pObj : TypoScriptTemplateModuleController
- $request : ServerRequestInterface
main()
Main, called from parent object
public
main() : string
Return values
stringgetCodeMirrorMarkup()
protected
getCodeMirrorMarkup(string $label, int $lineOffset, int $lines, int $totalLines, int $highlightLine, string $content) : string
Parameters
- $label : string
- $lineOffset : int
- $lines : int
- $totalLines : int
- $highlightLine : int
- $content : string
Return values
stringgetTextareaMarkup()
protected
getTextareaMarkup(string $title, int $linesInTemplate, string $content) : string
Parameters
- $title : string
- $linesInTemplate : int
- $content : string
Return values
stringinitializeTemplates()
protected
initializeTemplates(int $pageId[, int $templateUid = 0 ]) : bool
Parameters
- $pageId : int
- $templateUid : int = 0
Return values
boolrenderTemplates()
Render constants or setup templates using t3editor or plain textarea
protected
renderTemplates(array<string|int, mixed> $templates, string $selectedTemplate, bool $highlight, int $highlightLine) : array<string|int, mixed>
Parameters
- $templates : array<string|int, mixed>
- $selectedTemplate : string
- $highlight : bool
- $highlightLine : int
Return values
array<string|int, mixed> —Modified assign array