JobItem
JobItem.php
:
14
Read-only
Final
Properties¶
$autoTranslationId
¶
JobItem.php
:
31
|
|
|
$contentId
¶
JobItem.php
:
19
|
|
|
$contentName
¶
JobItem.php
:
21
|
|
|
$contentTypeIdentifier
¶
JobItem.php
:
20
|
|
|
$createdAt
¶
JobItem.php
:
26
|
|
|
$finishedAt
¶
JobItem.php
:
29
|
|
|
$id
¶
JobItem.php
:
17
|
|
|
$jobId
¶
JobItem.php
:
18
|
|
|
$locationId
¶
JobItem.php
:
22
|
|
|
$providerIdentifier
¶
JobItem.php
:
25
|
|
|
$reviewStatus
¶
JobItem.php
:
30
|
|
|
$startedAt
¶
JobItem.php
:
28
|
|
|
$status
¶
JobItem.php
:
23
|
|
|
$targetLanguageCode
¶
JobItem.php
:
24
|
|
|
$translationPublished
¶
JobItem.php
:
33
|
|
|
$updatedAt
¶
JobItem.php
:
27
|
|
|
$versionNo
¶
JobItem.php
:
32
|
|
|
Methods¶
__construct()
¶
JobItem.php
:
16
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $id | int | - | - |
| $jobId | int | - | - |
| $contentId | int | - | - |
| $contentTypeIdentifier | string | - | - |
| $contentName | string | - | - |
| $locationId | int|null | - | - |
| $status | JobItemStatus | - | - |
| $targetLanguageCode | string | - | - |
| $providerIdentifier | string|null | - | - |
| $createdAt | DateTimeImmutable | - | - |
| $updatedAt | DateTimeImmutable | - | - |
| $startedAt | DateTimeImmutable|null | - | - |
| $finishedAt | DateTimeImmutable|null | - | - |
| $reviewStatus | AutoTranslationReviewStatus|null | - | - |
| $autoTranslationId | int|null | null | - |
| $versionNo | int|null | null | - |
| $translationPublished | bool | false | - |
isPublishedVersionDeleted()
¶
JobItem.php
:
49
A completed item whose translation was published and whose archived version was deleted afterwards: the content keeps the translation, but the item can no longer be reviewed, retranslated or compared side by side.
|
|
|
Return values
bool
isUnpublishedVersionDeleted()
¶
JobItem.php
:
40
A completed item whose translated draft was deleted before it was published: it can no longer be reviewed, retranslated or compared side by side. Deleting the archived version of a published translation does not count.
|
|
|
Return values
bool
isVersionDeleted()
¶
JobItem.php
:
54
|
|
|
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| $status | JobItemStatus | - | - |
| $autoTranslationId | int|null | - | - |
Return values
bool