GetVersionedDataEvent

The PSR-14 event \TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent is used in the Web > 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.

Example

API

class GetVersionedDataEvent
Fully qualified name
\TYPO3\CMS\Workspaces\Event\GetVersionedDataEvent

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.

getGridService ( )
Returns
\TYPO3\CMS\Workspaces\Service\GridDataService
getData ( )
Returns
array
setData ( array $data)
param $data

the data

getDataArrayPart ( )
Returns
array
setDataArrayPart ( array $dataArrayPart)
param $dataArrayPart

the dataArrayPart

getStart ( )
Returns
int
getLimit ( )
Returns
int