Dashboard

class \TYPO3\CMS\Dashboard\Dashboard

Table of Contents

Properties

$container  : ContainerInterface
$identifier  : string
$title  : string
$widgetConfig  : array
$widgetOptions  : array<string, array>
$widgetPositions  : object|null
$widgetRegistry  : WidgetRegistry
$widgets  : array<string, WidgetConfigurationInterface>

Methods

__construct()  : mixed
getIdentifier()  : string
getTitle()  : string
getWidgetConfig()  : array
getWidgetOptions()  : array<string, array>
getWidgetPositions()  : object
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 read-only

protected ContainerInterface $container

$identifier read-only

protected string $identifier

$widgetConfig read-only

protected array $widgetConfig

$widgetOptions

protected array<string, array> $widgetOptions = []

$widgetPositions

protected object|null $widgetPositions = null

Methods

__construct()

public __construct(string $identifier, string $title, array<string, array<string, string|array>> $widgetConfig, WidgetRegistry $widgetRegistry, ContainerInterface $container) : mixed

Parameters

$identifier : string
$title : string
$widgetConfig : array<string, array<string, string|array>>
$widgetRegistry : WidgetRegistry
$container : ContainerInterface

getIdentifier()

public getIdentifier() : string

Return values

string

getTitle()

public getTitle() : string

Return values

string

getWidgetConfig()

public getWidgetConfig() : array

Return values

array

getWidgetOptions()

public getWidgetOptions() : array<string, array>

Return values

array<string, array>

getWidgetPositions()

public getWidgetPositions() : object

Return values

object

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(ServerRequestInterface $request) : void

Parameters

$request : ServerRequestInterface
On this page