‪TYPO3CMS  10.4
TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent Class Reference

Public Member Functions

 __construct (int $fileUid, array $record)
 
 getFileUid ()
 
 getRecord ()
 

Private Attributes

int $fileUid
 
array $record
 

Detailed Description

This event is fired once an index was just added to the database (= indexed).

Examples: Allows to additionally populate custom fields of the sys_file/sys_file_metadata database records.

Definition at line 25 of file AfterFileAddedToIndexEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::__construct ( int  $fileUid,
array  $record 
)

Member Function Documentation

◆ getFileUid()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::getFileUid ( )

◆ getRecord()

TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::getRecord ( )

Member Data Documentation

◆ $fileUid

int TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::$fileUid
private

◆ $record

array TYPO3\CMS\Core\Resource\Event\AfterFileAddedToIndexEvent::$record
private