Dashboard
Table of Contents
Properties
- $container : ContainerInterface
- $identifier : string
- $title : string
- $widgetConfig : array<string, array<string, string>>
- $widgetOptions : array<string, array<string|int, mixed>>
- $widgetRegistry : WidgetRegistry
- $widgets : array<string, WidgetConfigurationInterface>
Methods
- __construct() : mixed
- getIdentifier() : string
- getTitle() : string
- getWidgetConfig() : array<string|int, mixed>
- getWidgetOptions() : array<string, array<string|int, mixed>>
- getWidgets() : array<string, WidgetConfigurationInterface>
- initializeWidgets() : void
- 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
- getLanguageService() : LanguageService
Properties
$container
protected
ContainerInterface
$container
$identifier
protected
string
$identifier
$title
protected
string
$title
$widgetConfig
protected
array<string, array<string, string>>
$widgetConfig
$widgetOptions
protected
array<string, array<string|int, mixed>>
$widgetOptions
= []
$widgetRegistry
protected
WidgetRegistry
$widgetRegistry
$widgets
protected
array<string, WidgetConfigurationInterface>
$widgets
= []
Methods
__construct()
public
__construct(string $identifier, string $title, array<string|int, mixed> $widgetConfig, WidgetRegistry $widgetRegistry, ContainerInterface $container) : mixed
Parameters
- $identifier : string
- $title : string
- $widgetConfig : array<string|int, mixed>
- $widgetRegistry : WidgetRegistry
- $container : ContainerInterface
getIdentifier()
public
getIdentifier() : string
Return values
stringgetTitle()
public
getTitle() : string
Return values
stringgetWidgetConfig()
public
getWidgetConfig() : array<string|int, mixed>
Return values
array<string|int, mixed>getWidgetOptions()
public
getWidgetOptions() : array<string, array<string|int, mixed>>
Return values
array<string, array<string|int, mixed>>getWidgets()
public
getWidgets() : array<string, WidgetConfigurationInterface>
Return values
array<string, WidgetConfigurationInterface>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
public
initializeWidgets() : void
getLanguageService()
protected
getLanguageService() : LanguageService