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 aren't writable anymore
after object has been created.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$properties | array<string, mixed> | [] | - |
getProperties()
¶
Returns list of available properties' names.
|
|
Override to add dynamic properties.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$dynamicProperties | array<int, string> | [] |
Additional dynamic properties exposed on the object |
Return values
array<int, string>