Base SPI Value object.
All properties of SPI\ValueObject must be serializable for cache & NoSQL use.
Properties¶
$defaultAlwaysAvailable¶
|
|
Tags
$description¶
Human readable description of the content type.
|
|
The structure of this field is:
array( 'eng' => '<description_eng>', 'de' => '<description_de>' );
$identifier¶
String identifier of a type.
|
|
$initialLanguageId¶
Initial language.
|
|
$isContainer¶
Determines if the type is a container.
|
|
$modified¶
Modification date (timestamp).
|
|
$modifierId¶
Modifier user id.
|
|
$name¶
Human readable name of the content type.
|
|
The structure of this field is:
array( 'eng' => '<name_eng>', 'de' => '<name_de>' );
$nameSchema¶
Name schema.
|
|
$remoteId¶
Unique remote ID.
|
|
$sortField¶
Specifies which property the child locations should be sorted on by default when created.
|
|
$sortOrder¶
Specifies whether the sort order should be ascending or descending by default when created.
|
|
$urlAliasSchema¶
URL alias schema.
|
|
Methods¶
__construct() ¶
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() ¶
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>