‪TYPO3CMS  ‪main
TYPO3\CMS\Dashboard\Controller\WidgetAjaxController Class Reference

Public Member Functions

 __construct (protected readonly DashboardRepository $dashboardRepository, protected readonly WidgetRegistry $widgetRegistry,)
 
 getContent (ServerRequestInterface $request)
 
 savePositions (ServerRequestInterface $request)
 

Protected Member Functions

 getBackendUser ()
 

Detailed Description

Definition at line 34 of file WidgetAjaxController.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Dashboard\Controller\WidgetAjaxController::__construct ( protected readonly DashboardRepository  $dashboardRepository,
protected readonly WidgetRegistry  $widgetRegistry 
)

Definition at line 36 of file WidgetAjaxController.php.

Member Function Documentation

◆ getBackendUser()

TYPO3\CMS\Dashboard\Controller\WidgetAjaxController::getBackendUser ( )
protected

◆ getContent()

TYPO3\CMS\Dashboard\Controller\WidgetAjaxController::getContent ( ServerRequestInterface  $request)

Definition at line 41 of file WidgetAjaxController.php.

◆ savePositions()

TYPO3\CMS\Dashboard\Controller\WidgetAjaxController::savePositions ( ServerRequestInterface  $request)

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

Definition at line 65 of file WidgetAjaxController.php.

References TYPO3\CMS\Dashboard\Controller\WidgetAjaxController\getBackendUser().