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