ModifyQueryBeforeFetchingObjectDataEvent¶
The PSR-14 event
\TYPO3\CMS\Extbase\Event\Persistence\ModifyQueryBeforeFetchingObjectDataEvent
is fired before the storage backend is asked for results from a given query.
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\Extbase\Event\Persistence\ ModifyQueryBeforeFetchingObjectDataEvent¶
-
Event which is fired before the storage backend is asked for results from a given query.
- getQuery ( ) ¶
-
- returntype
-
TYPO3\CMS\Extbase\Persistence\QueryInterface
- setQuery ( TYPO3\\CMS\\Extbase\\Persistence\\QueryInterface $query) ¶
-
- param TYPO3\\CMS\\Extbase\\Persistence\\QueryInterface $query
-
the query