RecordIndexingDataHandlerHook

final readonly class \TYPO3\CMS\IndexedSearch\Hook\RecordIndexingDataHandlerHook

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".

Table of Contents

Methods

__construct()  : mixed
processCmdmap_deleteAction()  : void
processDatamap_afterDatabaseOperations()  : void

Methods

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
On this page