‪TYPO3CMS  ‪main
TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent Class Reference

Public Member Functions

 __construct (private string $table, private int $recordId, private int $workspaceId,)
 
 getTable ()
 
 getRecordId ()
 
 getWorkspaceId ()
 

Detailed Description

Event that is fired after a record has been published in a workspace.

Definition at line 23 of file AfterRecordPublishedEvent.php.

Constructor & Destructor Documentation

◆ __construct()

TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent::__construct ( private string  $table,
private int  $recordId,
private int  $workspaceId 
)

Definition at line 25 of file AfterRecordPublishedEvent.php.

Member Function Documentation

◆ getRecordId()

TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent::getRecordId ( )

The uid of the record

Definition at line 42 of file AfterRecordPublishedEvent.php.

◆ getTable()

TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent::getTable ( )

The table name of the record.

Definition at line 34 of file AfterRecordPublishedEvent.php.

◆ getWorkspaceId()

TYPO3\CMS\Workspaces\Event\AfterRecordPublishedEvent::getWorkspaceId ( )

The workspace the record has been published in.

Definition at line 50 of file AfterRecordPublishedEvent.php.