WidgetRegistry implements SingletonInterface
Table of Contents
Interfaces
- SingletonInterface
- "empty" interface for singletons (marker interface pattern)
Properties
- $container : ContainerInterface
Methods
- __construct() : mixed
- getAllWidgets() : array<string|int, WidgetConfigurationInterface>
- getAvailableWidget() : WidgetInterface
- getAvailableWidgets() : array<string|int, WidgetConfigurationInterface>
- getAvailableWidgetsForWidgetGroup() : array<string|int, WidgetConfigurationInterface>
- registerWidget() : void
- widgetItemsProcFunc() : void
- checkPermissionOfWidgets() : array<string|int, WidgetConfigurationInterface>
- getBackendUser() : BackendUserAuthentication
Properties
$container
protected
ContainerInterface
$container
Methods
__construct()
public
__construct(ContainerInterface $container) : mixed
Parameters
- $container : ContainerInterface
getAllWidgets()
public
getAllWidgets() : array<string|int, WidgetConfigurationInterface>
Return values
array<string|int, WidgetConfigurationInterface>getAvailableWidget()
public
getAvailableWidget(string $identifier) : WidgetInterface
Parameters
- $identifier : string
Tags
Return values
WidgetInterfacegetAvailableWidgets()
public
getAvailableWidgets() : array<string|int, WidgetConfigurationInterface>
Return values
array<string|int, WidgetConfigurationInterface>getAvailableWidgetsForWidgetGroup()
public
getAvailableWidgetsForWidgetGroup(string $widgetGroupIdentifier) : array<string|int, WidgetConfigurationInterface>
Parameters
- $widgetGroupIdentifier : string
Return values
array<string|int, WidgetConfigurationInterface>registerWidget()
public
registerWidget(string $serviceName) : void
Parameters
- $serviceName : string
widgetItemsProcFunc()
public
widgetItemsProcFunc(array<string|int, mixed> &$parameters) : void
Parameters
- $parameters : array<string|int, mixed>
checkPermissionOfWidgets()
protected
checkPermissionOfWidgets(array<string|int, WidgetConfigurationInterface> $widgets) : array<string|int, WidgetConfigurationInterface>
Parameters
- $widgets : array<string|int, WidgetConfigurationInterface>
Return values
array<string|int, WidgetConfigurationInterface>getBackendUser()
protected
getBackendUser() : BackendUserAuthentication