Version Limitation target. Indicates an intent to create new Version.
Properties
|
public array<string|int, int> $allContentTypeIdsList
|
|
public array<string|int, string> $allLanguageCodesList
|
|
public array<string|int, string> $forPublishLanguageCodesList
|
|
public string $forUpdateInitialLanguageCode
|
|
public array<string|int, string> $forUpdateLanguageCodesList
|
|
public array<string|int, Field> $updatedFields
|
List of content types. At least one must match Limitation values.
|
protected array<string|int, int> $allContentTypeIdsList = []
|
List of language codes of translations. At least one must match Limitation values.
|
protected array<string|int, string> $allLanguageCodesList = []
|
List of language codes of translations to publish. All must match Limitation values.
|
protected array<string|int, string> $forPublishLanguageCodesList = []
|
Language code of a translation used when updated, can be null for e.g. multiple translations changed.
|
protected string|null $forUpdateInitialLanguageCode
|
List of language codes of translations to update. All must match Limitation values.
|
protected array<string|int, string> $forUpdateLanguageCodesList = []
|
One of the following: STATUS_DRAFT, STATUS_PUBLISHED, STATUS_ARCHIVED.
|
protected int|null $newStatus
|
Tags
-
See
-
VersionInfo::STATUS_DRAFT
-
See
-
VersionInfo::STATUS_PUBLISHED
-
See
-
VersionInfo::STATUS_ARCHIVED
|
protected array<string|int, Field> $updatedFields = []
|
Methods
Construct object optionally with a set of properties.
|
public __construct([array<string|int, mixed> $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>
|
[]
|
-
|
|
public deleteTranslations(array<string|int, string> $translationsToDelete) : self
|
Parameters
Name |
Type |
Default value |
Description |
$translationsToDelete
|
array<string|int, string>
|
-
|
List of language codes of translations to delete
|
Return values
self
|
public getTranslationsToDelete() : array<string|int, string>
|
Return values
array<string|int, string>
Function where list of properties are returned.
|
protected getProperties([array<string|int, mixed> $dynamicProperties = [] ]) : array<string|int, mixed>
|
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>