Base SPI Value object.
All properties of SPI\ValueObject must be serializable for cache & NoSQL use.
Properties¶
$creatorId
¶
UpdateStruct.php
:
21
Creator user ID for the version.
|
|
$fields
¶
UpdateStruct.php
:
28
Contains fields to be updated.
|
|
$initialLanguageId
¶
UpdateStruct.php
:
43
ID for initial (main) language for this version.
|
|
$modificationDate
¶
UpdateStruct.php
:
36
Modification date for the version.
|
|
Unix timestamp.
$name
¶
UpdateStruct.php
:
14
|
|
Eg. array( 'eng-GB' => "New Article" )
Methods¶
__construct()
¶
ValueObject.php
:
31
Construct object optionally with a set of properties.
|
|
Readonly properties values must be set using $properties as they are not writable anymore after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string|int, mixed> | [] | - |
getProperties()
¶
ValueObject.php
:
53
Function where list of properties are returned.
|
|
Used by attributes(), override to add dynamic properties
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<string|int, mixed> | [] |
Additional dynamic properties exposed on the object |
Return values
array<string|int, mixed>