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¶
Note
Currently, we do not have an example for this event. If you can provide a useful one, please open an issue with your code snippets or a pull request.
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 ( )
-
- returntype
-
TYPO3\CMS\Workspaces\Service\GridDataService
- getData ( )
-
- returntype
-
array
- setData ( array $data)
-
- param array $data
-
the data
- getDataArrayPart ( )
-
- returntype
-
array
- setDataArrayPart ( array $dataArrayPart)
-
- param array $dataArrayPart
-
the dataArrayPart
- getStart ( )
-
- returntype
-
int
- getLimit ( )
-
- returntype
-
int