‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Resource\Event\AfterFileMetaDataCreatedEvent Class Reference

Public Member Functions

 __construct (private readonly int $fileUid, private readonly int $metaDataUid, private array $record)
 getFileUid ()
 getMetaDataUid ()
 getRecord ()
 setRecord (array $record)

Detailed Description

This event is fired once metadata of a file was added to the database, so it can be enriched with more information.

Definition at line 24 of file AfterFileMetaDataCreatedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Core\Resource\Event\AfterFileMetaDataCreatedEvent::__construct ( private readonly int  $fileUid,
private readonly int  $metaDataUid,
private array  $record 

Definition at line 26 of file AfterFileMetaDataCreatedEvent.php.

Member Function Documentation

◆ getFileUid()

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

Definition at line 32 of file AfterFileMetaDataCreatedEvent.php.

◆ getMetaDataUid()

TYPO3\CMS\Core\Resource\Event\AfterFileMetaDataCreatedEvent::getMetaDataUid ( )

Definition at line 37 of file AfterFileMetaDataCreatedEvent.php.

◆ getRecord()

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

◆ setRecord()

TYPO3\CMS\Core\Resource\Event\AfterFileMetaDataCreatedEvent::setRecord ( array  $record)