‪TYPO3CMS  10.4
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

 getDataToStore (ServerRequestInterface $request)
 
string getContent (ModuleData $data)
 
string getIdentifier ()
 
 getLabel ()
 

Protected Member Functions

array collectImagesOnPage ()
 
string collectDocumentSize ()
 
bool isNoCacheEnabled ()
 
TypoScriptFrontendController getTypoScriptFrontendController ()
 
TimeTracker getTimeTracker ()
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Adminpanel\ModuleApi\AbstractSubModule
LanguageService getLanguageService ()
 
 getBackendUser ()
 

Detailed Description

General information module displaying info about the current request

Definition at line 38 of file GeneralInformation.php.

Member Function Documentation

◆ collectDocumentSize()

string TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::collectDocumentSize ( )
protected

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

Returns
‪string

Definition at line 154 of file GeneralInformation.php.

References TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation\getTypoScriptFrontendController(), and TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation\isNoCacheEnabled().

◆ collectImagesOnPage()

array TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::collectImagesOnPage ( )
protected

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

Returns
‪array

Definition at line 119 of file GeneralInformation.php.

References TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation\isNoCacheEnabled().

◆ getContent()

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

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

Parameters
\TYPO3\CMS\Adminpanel\ModuleApi\ModuleData$data
Returns
‪string HTML content for the section. Consists of a string with table-rows with four columns.
See also
‪display()

Implements TYPO3\CMS\Adminpanel\ModuleApi\ContentProviderInterface.

Definition at line 79 of file GeneralInformation.php.

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

◆ getDataToStore()

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

Parameters
\Psr\Http\Message\ServerRequestInterface$request
Returns
‪\TYPO3\CMS\Adminpanel\ModuleApi\ModuleData

Implements TYPO3\CMS\Adminpanel\ModuleApi\DataProviderInterface.

Definition at line 43 of file GeneralInformation.php.

References TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation\getTypoScriptFrontendController().

◆ getIdentifier()

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

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

Returns
‪string

Implements TYPO3\CMS\Adminpanel\ModuleApi\ModuleInterface.

Definition at line 98 of file GeneralInformation.php.

◆ getLabel()

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

◆ getTimeTracker()

TimeTracker TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getTimeTracker ( )
protected
Returns
‪TimeTracker

Definition at line 183 of file GeneralInformation.php.

◆ getTypoScriptFrontendController()

TypoScriptFrontendController TYPO3\CMS\Adminpanel\Modules\Info\GeneralInformation::getTypoScriptFrontendController ( )
protected

◆ isNoCacheEnabled()