RecordCreationEvent

final class \TYPO3\CMS\Core\Domain\Event\RecordCreationEvent

Implements
StoppableEventInterface

Event which allows to manipulate the properties to be used for a new Record.

With this event, it's even possible to create a new Record manually.

Table of Contents

Interfaces

StoppableEventInterface

Methods

__construct()  : mixed
getContext()  : Context
getProperties()  : array
getProperty()  : mixed
getRawRecord()  : RawRecord
getRecord()  : RecordInterface|null
getRecordIdentityMap()  : RecordIdentityMap
getSchema()  : TcaSchema
If available this is the subSchema for the current record type
getSystemProperties()  : SystemProperties
hasProperty()  : bool
isPropagationStopped()  : bool
setProperties()  : void
setProperty()  : void
setRecord()  : void
unsetProperty()  : bool

Methods

getProperties()

public getProperties() : array

Return values

array

getProperty()

public getProperty(string $name) : mixed

Parameters

$name : string

hasProperty()

public hasProperty(string $name) : bool

Parameters

$name : string

Return values

bool

isPropagationStopped()

public isPropagationStopped() : bool

Return values

bool

setProperties()

public setProperties(array $properties) : void

Parameters

$properties : array

setProperty()

public setProperty(string $name, mixed $propertyValue) : void

Parameters

$name : string
$propertyValue : mixed

unsetProperty()

public unsetProperty(string $name) : bool

Parameters

$name : string

Return values

bool
On this page