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

Public Member Functions

 __construct (private readonly GridDataService $gridService, private array $data, private readonly int $start, private readonly int $limit, private array $dataArrayPart)
 
 getGridService ()
 
 getData ()
 
 setData (array $data)
 
 getDataArrayPart ()
 
 setDataArrayPart (array $dataArrayPart)
 
 getStart ()
 
 getLimit ()
 

Detailed Description

Used in the workspaces module to find all data of versions of a workspace. In comparison to AfterDataGeneratedForWorkspaceEvent, this one contains the cleaned / prepared data with an optional limit applied depending on the view.

Definition at line 27 of file GetVersionedDataEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent::__construct ( private readonly GridDataService  $gridService,
private array  $data,
private readonly int  $start,
private readonly int  $limit,
private array  $dataArrayPart 
)

Definition at line 29 of file GetVersionedDataEvent.php.

Member Function Documentation

◆ getData()

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

Definition at line 42 of file GetVersionedDataEvent.php.

◆ getDataArrayPart()

TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent::getDataArrayPart ( )

Definition at line 52 of file GetVersionedDataEvent.php.

◆ getGridService()

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

Definition at line 37 of file GetVersionedDataEvent.php.

◆ getLimit()

TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent::getLimit ( )

Definition at line 67 of file GetVersionedDataEvent.php.

◆ getStart()

TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent::getStart ( )

Definition at line 62 of file GetVersionedDataEvent.php.

◆ setData()

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

Definition at line 47 of file GetVersionedDataEvent.php.

◆ setDataArrayPart()

TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent::setDataArrayPart ( array  $dataArrayPart)

Definition at line 57 of file GetVersionedDataEvent.php.