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
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
Get the list of pages to show.
getOverviewOfPagesUsingTSConfig()  : array
Renders table rows of all pages containing TSConfig together with its rootline
getTextareaMarkup()  : string
modMenu()  : array
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 $row) : array
Parameters
$row : array

The row from the database containing the uid and TSConfig fields

Return values
array

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 $pageArray[, array $lines = [] ][, int $pageDepth = 0 ]) : array

This function is called recursively

Parameters
$pageArray : array

The Page Array

$lines : array = []

Lines that have been processed up to this point

$pageDepth : int = 0

The level of the current $pageArray being processed

Return values
array

getOverviewOfPagesUsingTSConfig()

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

protected getOverviewOfPagesUsingTSConfig() : array
Return values
array

getTextareaMarkup()

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

modMenu()

Function menu initialization

protected modMenu() : array
Return values
array —

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 &$hierarchicArray, array $rootlineArray, array $row) : mixed
Parameters
$hierarchicArray : array

The hierarchic array (passed by reference)

$rootlineArray : array

The rootline array

$row : array

The row from the database containing the uid and TSConfig fields

On this page

Search results