ObjectState
This class represents a object state value.
Properties¶
$id
¶
|
|
the id of the content type group
$id
¶
Primary key.
|
|
$identifier
¶
|
|
the identifier of the content type group
$identifier
¶
Readable string identifier of the object state.
|
|
$languageCodes
¶
|
|
the available languages
$languageCodes
¶
The available language codes for names an descriptions.
|
|
$mainLanguageCode
¶
|
|
the default language of the object state names and descriptions used for fallback.
$priority
¶
|
|
the priority in the group ordering
$priority
¶
Priority for ordering.
|
|
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> | [] | - |
getObjectStateGroup()
¶
The object state group this object state belongs to.
|
|
Return values
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>