VersionBuilder
VersionBuilder.php
:
19
Builder of {@see \Ibexa\Contracts\Core\Limitation\Target\Version} instance.
Methods¶
build() ¶
VersionBuilder.php
:
24
|
|
Return values
changeStatusTo() ¶
VersionBuilder.php
:
96
Set intent to change Version status.
|
|
Supported: VersionInfo::STATUS_DRAFT, VersionInfo::STATUS_PUBLISHED, VersionInfo::STATUS_ARCHIVED
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$status | int | - | - |
Return values
self
Tags
createFromAnyContentTypeOf() ¶
VersionBuilder.php
:
70
Set intent to create Content from unspecified (yet) content type, any from the given list.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$contentTypeIds | array<string|int, int> | - | - |
Return values
self
Tags
publishTranslations() ¶
VersionBuilder.php
:
147
Set intent to publish, to specified translations, all from the given list.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$languageCodes | array<string|int, string> | - | - |
Return values
self
Tags
translateToAnyLanguageOf() ¶
VersionBuilder.php
:
48
Set intent to translate, to an unspecified (yet) language, any from the given list.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$languageCodes | array<string|int, mixed> | - | - |
Return values
self
Tags
updateFields() ¶
VersionBuilder.php
:
32
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$updatedFields | array<string|int, Field> | - | - |
Return values
self
updateFieldsTo() ¶
VersionBuilder.php
:
121
Set intent to update Content Version Fields.
|
|
Parameters
Name | Type | Default value | Description |
---|---|---|---|
$initialLanguageCode | string|null | - | - |
$fields | array<string|int, Field> | - | - |
Return values
self