WidgetRegistry implements SingletonInterface

Internal

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 read-only

protected ContainerInterface $container

Methods

__construct()

public __construct(ContainerInterface $container) : mixed
Parameters
$container : ContainerInterface

getAvailableWidget()

public getAvailableWidget(ServerRequestInterface $request, string $identifier) : WidgetInterface
Parameters
$request : ServerRequestInterface
$identifier : string
Tags
throws
InvalidArgumentException

If requested identifier does not exist.

Return values
WidgetInterface

registerWidget()

public registerWidget(string $serviceName) : void
Parameters
$serviceName : string

widgetItemsProcFunc()

public widgetItemsProcFunc(array<string|int, mixed> &$parameters) : void
Parameters
$parameters : array<string|int, mixed>

        
On this page

Search results