RecordCreationEvent implements StoppableEventInterface
FinalYes
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<string|int, mixed>
 - 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
__construct()
    public
                    __construct(array<string|int, mixed> $properties, RawRecord $rawRecord, SystemProperties $systemProperties, Context $context, RecordIdentityMap $recordIdentityMap, TcaSchema $schema[, RecordInterface|null $record = null ]) : mixed
    Parameters
- $properties : array<string|int, mixed>
 - $rawRecord : RawRecord
 - $systemProperties : SystemProperties
 - $context : Context
 - $recordIdentityMap : RecordIdentityMap
 - $schema : TcaSchema
 - $record : RecordInterface|null = null
 
getContext()
    public
                    getContext() : Context
    Return values
ContextgetProperties()
    public
                    getProperties() : array<string|int, mixed>
    Return values
array<string|int, mixed>getProperty()
    public
                    getProperty(string $name) : mixed
    Parameters
- $name : string
 
getRawRecord()
    public
                    getRawRecord() : RawRecord
    Return values
RawRecordgetRecord()
    public
                    getRecord() : RecordInterface|null
    Return values
RecordInterface|nullgetRecordIdentityMap()
    public
                    getRecordIdentityMap() : RecordIdentityMap
    Return values
RecordIdentityMapgetSchema()
If available this is the subSchema for the current record type
    public
                    getSchema() : TcaSchema
    Return values
TcaSchemagetSystemProperties()
    public
                    getSystemProperties() : SystemProperties
    Return values
SystemPropertieshasProperty()
    public
                    hasProperty(string $name) : bool
    Parameters
- $name : string
 
Return values
boolisPropagationStopped()
    public
                    isPropagationStopped() : bool
    Return values
boolsetProperties()
    public
                    setProperties(array<string|int, mixed> $properties) : void
    Parameters
- $properties : array<string|int, mixed>
 
setProperty()
    public
                    setProperty(string $name, mixed $propertyValue) : void
    Parameters
- $name : string
 - $propertyValue : mixed
 
setRecord()
    public
                    setRecord(RecordInterface $record) : void
    Parameters
- $record : RecordInterface
 
unsetProperty()
    public
                    unsetProperty(string $name) : bool
    Parameters
- $name : string