1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
tasksuite.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO;
4
5
class
TaskSuite
implements
TolokaTransferObject
6
{
10
private
$id;
11
15
private
$poolId;
16
20
private
$tasks;
21
25
public
function
getId
(): int
26
{
27
return
$this->id;
28
}
29
35
public
function
setId
(
int
$id):
TaskSuite
36
{
37
$this->
id
= $id;
38
39
return
$this;
40
}
41
45
public
function
getPoolId
(): int
46
{
47
return
$this->poolId;
48
}
49
55
public
function
setPoolId
(
int
$poolId):
TaskSuite
56
{
57
$this->poolId = $poolId;
58
59
return
$this;
60
}
61
65
public
function
getTasks
():
array
66
{
67
return
$this->tasks;
68
}
69
75
public
function
setTasks
(
array
$tasks):
TaskSuite
76
{
77
$this->tasks = $tasks;
78
79
return
$this;
80
}
81
82
83
public
function
toArray
():
array
84
{
85
$tasks = [];
86
foreach
($this->tasks as $task)
87
{
88
$tasks[] = $task->toArray();
89
}
90
91
return
[
92
'pool_id'
=> $this->poolId,
93
'tasks'
=> $tasks
94
];
95
}
96
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite
Определения
tasksuite.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\getId
getId()
Определения
tasksuite.php:25
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\getPoolId
getPoolId()
Определения
tasksuite.php:45
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\getTasks
getTasks()
Определения
tasksuite.php:65
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\toArray
toArray()
Определения
tasksuite.php:83
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\setPoolId
setPoolId(int $poolId)
Определения
tasksuite.php:55
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\setTasks
setTasks(array $tasks)
Определения
tasksuite.php:75
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSuite\setId
setId(int $id)
Определения
tasksuite.php:35
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject
Определения
tolokatransferobject.php:6
bitrix
modules
sender
lib
integration
yandex
toloka
dto
tasksuite.php
Создано системой
1.14.0