Attention

TYPO3 v10 has reached end-of-life as of April 30th 2023 and is no longer being maintained. Use the version switcher on the top left of this page to select documentation for a supported version of TYPO3.

Need more time before upgrading? You can purchase Extended Long Term Support (ELTS) for TYPO3 v10 here: TYPO3 ELTS.

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.

API

class 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()
Return type

TYPO3\CMS\Workspaces\Service\GridDataService

getData()
Return type

array

setData(array data)
Parameters
  • $data (array) -- the data

getDataArrayPart()
Return type

array

setDataArrayPart(array dataArrayPart)
Parameters
  • $dataArrayPart (array) -- the dataArrayPart

getStart()
Return type

int

getLimit()
Return type

int