This class represents a value for creating and updating object states and groups.
Properties¶
$defaultLanguage
¶
The default language code for.
|
|
$description
¶
Human readable description of the object state.
|
|
The structure of this field is:
array( 'eng-US' => '<description_eng>', 'ger-DE' => '<description_de>' );
$identifier
¶
The identifier for the object state group.
|
|
$name
¶
Human readable name of the object state.
|
|
The structure of this field is:
array( 'eng-US' => '<name_eng>', 'ger-DE' => '<name_de>' );
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>