GeneralInformation extends AbstractSubModule implements DataProviderInterface

General information module displaying info about the current request

Internal

Table of Contents

Interfaces

DataProviderInterface
Adminpanel interface to denote that a module provides data to be stored for the current request

Methods

getContent()  : string
Creates the content for the "info" section ("module") of the Admin Panel
getDataToStore()  : ModuleData
getIdentifier()  : string
Identifier for this Sub-module, for example "preview" or "cache"
getLabel()  : string
Module label
collectDocumentSize()  : string
Gets the document size from the current page in a human readable format
collectImagesOnPage()  : array<string|int, mixed>
Collects images from TypoScriptFrontendController and calculates the total size.
getBackendUser()  : BackendUserAuthentication
getLanguageService()  : LanguageService
Returns LanguageService
getTimeTracker()  : TimeTracker
getTypoScriptFrontendController()  : TypoScriptFrontendController
isNoCacheEnabled()  : bool

Methods

getContent()

Creates the content for the "info" section ("module") of the Admin Panel

public getContent(ModuleData $data) : string
Parameters
$data : ModuleData
Tags
see
display()
Return values
string

HTML content for the section. Consists of a string with table-rows with four columns.

getDataToStore()

public getDataToStore(ServerRequestInterface $request) : ModuleData
Parameters
$request : ServerRequestInterface
Tags
inheritdoc
Return values
ModuleData

getIdentifier()

Identifier for this Sub-module, for example "preview" or "cache"

public getIdentifier() : string
Return values
string

getLabel()

Module label

public getLabel() : string
Tags
inheritdoc
Return values
string

collectDocumentSize()

Gets the document size from the current page in a human readable format

protected collectDocumentSize() : string
Return values
string

collectImagesOnPage()

Collects images from TypoScriptFrontendController and calculates the total size.

protected collectImagesOnPage() : array<string|int, mixed>

Returns human readable image sizes for fluid template output

Return values
array<string|int, mixed>

isNoCacheEnabled()

protected isNoCacheEnabled() : bool
Return values
bool

        
On this page

Search results