Version Limitation target. Indicates an intent to create new Version.
Properties¶
$allContentTypeIdsList
¶
|
|
$allContentTypeIdsList
¶
List of content types. At least one must match Limitation values.
|
|
$allLanguageCodesList
¶
|
|
$allLanguageCodesList
¶
List of language codes of translations. At least one must match Limitation values.
|
|
$forPublishLanguageCodesList
¶
|
|
$forPublishLanguageCodesList
¶
List of language codes of translations to publish. All must match Limitation values.
|
|
$forUpdateInitialLanguageCode
¶
|
|
$forUpdateInitialLanguageCode
¶
Language code of a translation used when updated, can be null for e.g. multiple translations changed.
|
|
$forUpdateLanguageCodesList
¶
|
|
$forUpdateLanguageCodesList
¶
List of language codes of translations to update. All must match Limitation values.
|
|
$newStatus
¶
|
|
$newStatus
¶
One of the following: STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED.
|
|
Tags
$updatedFields
¶
|
|
$updatedFields
¶
|
|
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> | [] | - |
deleteTranslations()
¶
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$translationsToDelete | array<string|int, string> | - |
List of language codes of translations to delete |
Return values
self
getTranslationsToDelete()
¶
|
|
Return values
array<string|int, string>
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>