QueryInformation extends AbstractSubModule implements DataProviderInterface
Admin Panel Query Information module for showing SQL Queries
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Interfaces
- DataProviderInterface
- Adminpanel interface to denote that a module provides data to be stored for the current request
Methods
- __construct() : mixed
- getContent() : string
- Main method for content generation of an admin panel module.
- getDataToStore() : ModuleData
- getIdentifier() : string
- Identifier for this Sub-module, for example "preview" or "cache"
- getLabel() : string
- Sub-Module label
- getBackendUser() : BackendUserAuthentication
- getLanguageService() : LanguageService
- groupQueries() : array<string|int, mixed>
Methods
__construct()
public
__construct(ViewFactoryInterface $viewFactory) : mixed
Parameters
- $viewFactory : ViewFactoryInterface
getContent()
Main method for content generation of an admin panel module.
public
getContent(ModuleData $data) : string
Return content as HTML. For modules implementing the DataProviderInterface the "ModuleData" object is automatically filled with the stored data - if no data is given a "fresh" ModuleData object is injected.
Parameters
- $data : ModuleData
Return values
stringgetDataToStore()
public
getDataToStore(ServerRequestInterface $request) : ModuleData
Parameters
- $request : ServerRequestInterface
Return values
ModuleDatagetIdentifier()
Identifier for this Sub-module, for example "preview" or "cache"
public
getIdentifier() : string
Return values
stringgetLabel()
Sub-Module label
public
getLabel() : string
Return values
stringgetBackendUser()
protected
getBackendUser() : BackendUserAuthentication
Return values
BackendUserAuthenticationgetLanguageService()
protected
getLanguageService() : LanguageService
Return values
LanguageServicegroupQueries()
protected
groupQueries(array<string|int, mixed> $queries) : array<string|int, mixed>
Parameters
- $queries : array<string|int, mixed>