InfoPageTyposcriptConfigController

Page TSconfig viewer in Web -> Info

Internal

This class is a specific Backend controller implementation and is not part of the TYPO3's Core API.

Table of Contents

Properties

$iconFactory  : IconFactory
$id  : int
$pObj  : InfoModuleController
$uriBuilder  : UriBuilder
$view  : StandaloneView

Methods

__construct()  : mixed
init()  : mixed
Init, called from parent object
main()  : string
Main, called from parent object
extractLinesFromTSConfig()  : array<string|int, mixed>
Extract the lines of TSConfig from a given pages row
getBackendUser()  : BackendUserAuthentication
getCodeMirrorHtml()  : string
getFluidTemplateObject()  : StandaloneView
returns a new standalone view, shorthand function
getLanguageService()  : LanguageService
getList()  : array<string|int, mixed>
Get the list of pages to show.
getOverviewOfPagesUsingTSConfig()  : array<string|int, mixed>
Renders table rows of all pages containing TSConfig together with its rootline
getTextareaMarkup()  : string
modMenu()  : array<string|int, mixed>
Function menu initialization
setInPageArray()  : mixed
Set page in array This function is called recursively and builds a multi-dimensional array that reflects the page hierarchy.

Properties

$id

protected int $id

Value of the GET/POST var 'id'

Methods

main()

Main, called from parent object

public main(ServerRequestInterface $request) : string
Parameters
$request : ServerRequestInterface
Return values
string

HTML output

extractLinesFromTSConfig()

Extract the lines of TSConfig from a given pages row

protected extractLinesFromTSConfig(array<string|int, mixed> $row) : array<string|int, mixed>
Parameters
$row : array<string|int, mixed>

The row from the database containing the uid and TSConfig fields

Return values
array<string|int, mixed>

getCodeMirrorHtml()

protected getCodeMirrorHtml(string $label, string $content) : string
Parameters
$label : string
$content : string
Return values
string

getList()

Get the list of pages to show.

protected getList(array<string|int, mixed> $pageArray[, array<string|int, mixed> $lines = [] ][, int $pageDepth = 0 ]) : array<string|int, mixed>

This function is called recursively

Parameters
$pageArray : array<string|int, mixed>

The Page Array

$lines : array<string|int, mixed> = []

Lines that have been processed up to this point

$pageDepth : int = 0

The level of the current $pageArray being processed

Return values
array<string|int, mixed>

getOverviewOfPagesUsingTSConfig()

Renders table rows of all pages containing TSConfig together with its rootline

protected getOverviewOfPagesUsingTSConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>

getTextareaMarkup()

protected getTextareaMarkup(string $content) : string
Parameters
$content : string
Return values
string

modMenu()

Function menu initialization

protected modMenu() : array<string|int, mixed>
Return values
array<string|int, mixed>

Menu array

setInPageArray()

Set page in array This function is called recursively and builds a multi-dimensional array that reflects the page hierarchy.

protected setInPageArray(array<string|int, mixed> &$hierarchicArray, array<string|int, mixed> $rootlineArray, array<string|int, mixed> $row) : mixed
Parameters
$hierarchicArray : array<string|int, mixed>

The hierarchic array (passed by reference)

$rootlineArray : array<string|int, mixed>

The rootline array

$row : array<string|int, mixed>

The row from the database containing the uid and TSConfig fields


        
On this page

Search results