WidgetAjaxController

Internal

Table of Contents

Properties

$dashboardRepository  : DashboardRepository
$widgetRegistry  : WidgetRegistry

Methods

__construct()  : mixed
getContent()  : ResponseInterface
savePositions()  : ResponseInterface
Get the order of the widgets from the request and save the order in the database by using the repository
getBackendUser()  : BackendUserAuthentication
migrateData()  : array<string|int, mixed>
This method performs some runtime migrations necessary due to the update of chart.js v2 > v4

Properties

Methods

getContent()

public getContent(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

savePositions()

Get the order of the widgets from the request and save the order in the database by using the repository

public savePositions(ServerRequestInterface $request) : ResponseInterface
Parameters
$request : ServerRequestInterface
Return values
ResponseInterface

migrateData()

This method performs some runtime migrations necessary due to the update of chart.js v2 > v4

protected migrateData(EventDataInterface $widget) : array<string|int, mixed>
Deprecated

this method will be gone in TYPO3 v13

Parameters
$widget : EventDataInterface
Return values
array<string|int, mixed>

        
On this page

Search results