TemplateAnalyzerModuleFunctionController

TypoScript template analyzer

Internal

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

$request

protected ServerRequestInterface $request

$templateRow

The currently selected sys_template record

protected array<string|int, mixed>|null $templateRow

Methods

main()

Main, called from parent object

public main() : string
Return values
string

getCodeMirrorMarkup()

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
string

getTextareaMarkup()

protected getTextareaMarkup(string $title, int $linesInTemplate, string $content) : string
Parameters
$title : string
$linesInTemplate : int
$content : string
Return values
string

initializeTemplates()

protected initializeTemplates(int $pageId[, int $templateUid = 0 ]) : bool
Parameters
$pageId : int
$templateUid : int = 0
Return values
bool

renderTemplates()

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


        
On this page

Search results