CreateRecordResolution

final readonly class \TYPO3\CMS\Reactions\Reaction\CreateRecordResolution

The record a create-record reaction composes from a payload, before anything is written.

Table of Contents

Properties

$error  : string|null
$fields  : array
$skippedFields  : array
$storagePid  : int
$table  : string

Methods

__construct()  : mixed

Properties

Methods

__construct()

public __construct(string $table, int $storagePid, array<string, string> $fields, array<string, string> $skippedFields[, string|null $error = null ]) : mixed

Parameters

$table : string
$storagePid : int
$fields : array<string, string>

the values the record would be written with

$skippedFields : array<string, string>

a SkippedFieldReason value per field left out

$error : string|null = null

why no record would be written at all

On this page