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