RecordIndexingDataHandlerHook
final readonly class \
DataHandler hook to keep the index up to date when records are changed in the backend, as configured by indexing configurations of type "Database records".
Internal
This class is a hook implementation and is not part of the TYPO3 Core API.
Table of Contents
Methods
- __construct() : mixed
- processCmdmap_deleteAction() : void
- processDatamap_afterDatabaseOperations() : void
Methods
__construct()
public
__construct(RecordIndexer $recordIndexer, RecordFactory $recordFactory) : mixed
Parameters
- $recordIndexer : RecordIndexer
- $recordFactory : RecordFactory
processCmdmap_deleteAction()
public
processCmdmap_deleteAction(string $table, int|string $id, array $recordToDelete, bool &$recordWasDeleted, DataHandler $dataHandler) : void
Parameters
- $table : string
- $id : int|string
- $recordToDelete : array
- $recordWasDeleted : bool
- $dataHandler : DataHandler
processDatamap_afterDatabaseOperations()
public
processDatamap_afterDatabaseOperations(string $status, string $table, string|int $id, array $fieldArray, DataHandler $dataHandler) : void
Parameters
- $status : string
- $table : string
- $id : string|int
- $fieldArray : array
- $dataHandler : DataHandler