‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent Class Reference

Public Member Functions

 __construct (private readonly GridDataService $gridService, private array $data, private string $sortColumn, private string $sortDirection)
 
 getGridService ()
 
 getData ()
 
 setData (array $data)
 
 getSortColumn ()
 
 setSortColumn (string $sortColumn)
 
 getSortDirection ()
 
 setSortDirection (string $sortDirection)
 

Detailed Description

Used in the workspaces module after sorting all data for versions of a workspace.

Definition at line 25 of file SortVersionedDataEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::__construct ( private readonly GridDataService  $gridService,
private array  $data,
private string  $sortColumn,
private string  $sortDirection 
)

Definition at line 27 of file SortVersionedDataEvent.php.

Member Function Documentation

◆ getData()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::getData ( )

Definition at line 39 of file SortVersionedDataEvent.php.

◆ getGridService()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::getGridService ( )

Definition at line 34 of file SortVersionedDataEvent.php.

◆ getSortColumn()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::getSortColumn ( )

Definition at line 49 of file SortVersionedDataEvent.php.

◆ getSortDirection()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::getSortDirection ( )

Definition at line 59 of file SortVersionedDataEvent.php.

◆ setData()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::setData ( array  $data)

Definition at line 44 of file SortVersionedDataEvent.php.

◆ setSortColumn()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::setSortColumn ( string  $sortColumn)

Definition at line 54 of file SortVersionedDataEvent.php.

◆ setSortDirection()

TYPO3\CMS\Workspaces\Event\SortVersionedDataEvent::setSortDirection ( string  $sortDirection)

Definition at line 64 of file SortVersionedDataEvent.php.