AfterFileAddedToIndexEvent

Read onlyYes
FinalYes

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.

Table of Contents

Methods

__construct()  : mixed
getFileUid()  : int
getRecord()  : array<string|int, mixed>

Methods

__construct()

public __construct(int $fileUid, array<string|int, mixed> $record) : mixed
Parameters
$fileUid : int
$record : array<string|int, mixed>

getFileUid()

public getFileUid() : int
Return values
int

getRecord()

public getRecord() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results