PageModificationListener
Creates a message everytime something changed within a page.
This example does not use PSR-14 events, but creates a message manually, which is then dispatched.
not part of TYPO3 Core API
Attributes
- #[Autoconfigure]
- $public: true
Table of Contents
Properties
- $bus : MessageBusInterface
- $logger : LoggerInterface
- $siteFinder : SiteFinder
Methods
- __construct() : mixed
- processDatamap_afterDatabaseOperations() : mixed
- dispatchMessage() : void
Properties
$bus read-only
protected
MessageBusInterface
$bus
$logger read-only
protected
LoggerInterface
$logger
$siteFinder read-only
protected
SiteFinder
$siteFinder
Methods
__construct()
public
__construct(MessageBusInterface $bus, LoggerInterface $logger, SiteFinder $siteFinder) : mixed
Parameters
- $bus : MessageBusInterface
- $logger : LoggerInterface
- $siteFinder : SiteFinder
processDatamap_afterDatabaseOperations()
public
processDatamap_afterDatabaseOperations(mixed $status, mixed $table, mixed $id, mixed $fieldArray, DataHandler $dataHandler) : mixed
Parameters
- $status : mixed
- $table : mixed
- $id : mixed
- $fieldArray : mixed
- $dataHandler : DataHandler
dispatchMessage()
protected
dispatchMessage(PageModificationMessage $message) : void
Parameters
- $message : PageModificationMessage