‪TYPO3CMS  10.4
TYPO3\CMS\Dashboard\Dashboard Class Reference

Public Member Functions

 __construct (string $identifier, string $title, array $widgetConfig, WidgetRegistry $widgetRegistry, ContainerInterface $container)
 
string getIdentifier ()
 
string getTitle ()
 
array getWidgetConfig ()
 
WidgetInterface[] getWidgets ()
 
 initializeWidgets ()
 

Protected Member Functions

LanguageService getLanguageService ()
 

Protected Attributes

string $identifier
 
string $title
 
array $widgetConfig
 
WidgetRegistry $widgetRegistry
 
ContainerInterface $container
 
WidgetInterface[] $widgets = array( )
 

Detailed Description

Definition at line 28 of file Dashboard.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Dashboard\Dashboard::__construct ( string  $identifier,
string  $title,
array  $widgetConfig,
WidgetRegistry  $widgetRegistry,
ContainerInterface  $container 
)

Member Function Documentation

◆ getIdentifier()

string TYPO3\CMS\Dashboard\Dashboard::getIdentifier ( )

◆ getLanguageService()

LanguageService TYPO3\CMS\Dashboard\Dashboard::getLanguageService ( )
protected
Returns
‪LanguageService

Definition at line 118 of file Dashboard.php.

References $GLOBALS.

Referenced by TYPO3\CMS\Dashboard\Dashboard\getTitle().

◆ getTitle()

string TYPO3\CMS\Dashboard\Dashboard::getTitle ( )

◆ getWidgetConfig()

array TYPO3\CMS\Dashboard\Dashboard::getWidgetConfig ( )
Returns
‪array

Definition at line 87 of file Dashboard.php.

References TYPO3\CMS\Dashboard\Dashboard\$widgetConfig.

◆ getWidgets()

WidgetInterface [] TYPO3\CMS\Dashboard\Dashboard::getWidgets ( )
Returns
‪WidgetInterface[]

Definition at line 95 of file Dashboard.php.

References TYPO3\CMS\Dashboard\Dashboard\$widgets.

◆ initializeWidgets()

TYPO3\CMS\Dashboard\Dashboard::initializeWidgets ( )

This will return a list of all widgets of the current dashboard object. It will only include available widgets and will add the initialized object of the widget itself

Definition at line 104 of file Dashboard.php.

References TYPO3\CMS\Dashboard\Dashboard\$widgetConfig.

Member Data Documentation

◆ $container

ContainerInterface TYPO3\CMS\Dashboard\Dashboard::$container
protected

Definition at line 48 of file Dashboard.php.

Referenced by TYPO3\CMS\Dashboard\Dashboard\__construct().

◆ $identifier

string TYPO3\CMS\Dashboard\Dashboard::$identifier
protected

◆ $title

string TYPO3\CMS\Dashboard\Dashboard::$title
protected

◆ $widgetConfig

array TYPO3\CMS\Dashboard\Dashboard::$widgetConfig
protected

◆ $widgetRegistry

WidgetRegistry TYPO3\CMS\Dashboard\Dashboard::$widgetRegistry
protected

Definition at line 44 of file Dashboard.php.

Referenced by TYPO3\CMS\Dashboard\Dashboard\__construct().

◆ $widgets

WidgetInterface [] TYPO3\CMS\Dashboard\Dashboard::$widgets = array( )
protected

Definition at line 52 of file Dashboard.php.

Referenced by TYPO3\CMS\Dashboard\Dashboard\getWidgets().