‪TYPO3CMS  ‪main
TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation Class Reference
Inheritance diagram for TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation:
TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule TYPO3\CMS\Adminpanel\ModuleApi\DataProviderInterface TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface

Public Member Functions

 __construct (private readonly TimeTracker $timeTracker, private readonly Context $context,)
 
 getDataToStore (ServerRequestInterface $request)
 
 getContent (ModuleData $data)
 
 getIdentifier ()
 
 getLabel ()
 

Protected Member Functions

 collectImagesOnPage (ServerRequestInterface $request)
 
 collectDocumentSize (ServerRequestInterface $request)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule
 getLanguageService ()
 
 getBackendUser ()
 

Detailed Description

General information module displaying info about the current request

Definition at line 36 of file GeneralInformation.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::__construct ( private readonly TimeTracker  $timeTracker,
private readonly Context  $context 
)

Definition at line 38 of file GeneralInformation.php.

Member Function Documentation

◆ collectDocumentSize()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::collectDocumentSize ( ServerRequestInterface  $request)
protected

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

Definition at line 133 of file GeneralInformation.php.

◆ collectImagesOnPage()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::collectImagesOnPage ( ServerRequestInterface  $request)
protected

Collects images from TypoScriptFrontendController and calculates the total size. Returns human-readable image sizes for fluid template output

Definition at line 101 of file GeneralInformation.php.

References TYPO3\CMS\Core\Core\Environment\getPublicPath().

◆ getContent()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getContent ( ModuleData  $data)

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

Implements TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface.

Definition at line 74 of file GeneralInformation.php.

References TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule\getBackendUser().

◆ getDataToStore()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getDataToStore ( ServerRequestInterface  $request)

◆ getIdentifier()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getIdentifier ( )

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

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 85 of file GeneralInformation.php.

◆ getLabel()

TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getLabel ( )