RecordIndexingDataHandlerHook
Read onlyYes
FinalYes
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".
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<string|int, mixed> $recordToDelete, bool &$recordWasDeleted, DataHandler $dataHandler) : void
Parameters
- $table : string
- $id : int|string
- $recordToDelete : array<string|int, mixed>
- $recordWasDeleted : bool
- $dataHandler : DataHandler
processDatamap_afterDatabaseOperations()
public
processDatamap_afterDatabaseOperations(string $status, string $table, string|int $id, array<string|int, mixed> $fieldArray, DataHandler $dataHandler) : void
Parameters
- $status : string
- $table : string
- $id : string|int
- $fieldArray : array<string|int, mixed>
- $dataHandler : DataHandler