RecordStatisticsService
Read onlyYes
    FinalYes
Service for collecting database record statistics
This is not part of the public API and may change at any time
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $iconFactory : IconFactory
- $pageDoktypeRegistry : PageDoktypeRegistry
- $tcaSchemaFactory : TcaSchemaFactory
Methods
- __construct() : mixed
- collectDoktypeStatistics() : array<int, array{icon: string, title: string, count: int}>
- Collects statistics for different page doktypes
- collectPageStatistics() : array<string, array{icon: string, count: int}>
- Collects page statistics including total, translated, hidden, and deleted pages
- collectTableStatistics() : array<string, array{icon: string, title: string, count: int|string, lostRecords: string}>
- Collects statistics for all TCA tables including lost records
- getLanguageService() : LanguageService
Properties
$iconFactory
        protected
            IconFactory
    $iconFactory
    
    
    
    
    
    
$pageDoktypeRegistry
        protected
            PageDoktypeRegistry
    $pageDoktypeRegistry
    
    
    
    
    
    
$tcaSchemaFactory
        protected
            TcaSchemaFactory
    $tcaSchemaFactory
    
    
    
    
    
    
Methods
__construct()
    public
                    __construct(IconFactory $iconFactory, TcaSchemaFactory $tcaSchemaFactory, PageDoktypeRegistry $pageDoktypeRegistry) : mixed
    Parameters
- $iconFactory : IconFactory
- $tcaSchemaFactory : TcaSchemaFactory
- $pageDoktypeRegistry : PageDoktypeRegistry
collectDoktypeStatistics()
Collects statistics for different page doktypes
    public
                    collectDoktypeStatistics() : array<int, array{icon: string, title: string, count: int}>
    Return values
array<int, array{icon: string, title: string, count: int}>collectPageStatistics()
Collects page statistics including total, translated, hidden, and deleted pages
    public
                    collectPageStatistics() : array<string, array{icon: string, count: int}>
    Return values
array<string, array{icon: string, count: int}>collectTableStatistics()
Collects statistics for all TCA tables including lost records
    public
                    collectTableStatistics() : array<string, array{icon: string, title: string, count: int|string, lostRecords: string}>
    Return values
array<string, array{icon: string, title: string, count: int|string, lostRecords: string}>getLanguageService()
    protected
                    getLanguageService() : LanguageService