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
getSystemProperties()  : SystemProperties
hasProperty()  : bool
isPropagationStopped()  : bool
setProperties()  : void
setProperty()  : void
setRecord()  : void
unsetProperty()  : bool

Methods

getProperties()

public getProperties() : array<string|int, mixed>
Return values
array<string|int, mixed>

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<string|int, mixed> $properties) : void
Parameters
$properties : array<string|int, mixed>

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

Search results