1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
taskspec.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO;
4
5
class
TaskSpec
implements
TolokaTransferObject
6
{
10
private
$inputSpec;
11
15
private
$outputSpec;
16
20
private
$viewSpec;
21
25
public
function
getInputSpec
():
InputOutputSpec
26
{
27
return
$this->inputSpec;
28
}
29
35
public
function
setInputSpec
(
InputOutputSpec
$inputSpec):
TaskSpec
36
{
37
$this->inputSpec = $inputSpec;
38
39
return
$this;
40
}
41
45
public
function
getOutputSpec
():
InputOutputSpec
46
{
47
return
$this->outputSpec;
48
}
49
55
public
function
setOutputSpec
(
InputOutputSpec
$outputSpec):
TaskSpec
56
{
57
$this->outputSpec = $outputSpec;
58
59
return
$this;
60
}
61
65
public
function
getViewSpec
():
ViewSpec
66
{
67
return
$this->viewSpec;
68
}
69
75
public
function
setViewSpec
(
ViewSpec
$viewSpec):
TaskSpec
76
{
77
$this->viewSpec = $viewSpec;
78
79
return
$this;
80
}
81
82
public
function
toArray
():
array
83
{
84
return
[
85
'input_spec'
=> $this->inputSpec->toArray(),
86
'output_spec'
=> $this->outputSpec->toArray(),
87
'view_spec'
=> $this->viewSpec->toArray()
88
];
89
}
90
}
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec
Определения
inputoutputspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec
Определения
taskspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\setOutputSpec
setOutputSpec(InputOutputSpec $outputSpec)
Определения
taskspec.php:55
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\getInputSpec
getInputSpec()
Определения
taskspec.php:25
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\getOutputSpec
getOutputSpec()
Определения
taskspec.php:45
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\toArray
toArray()
Определения
taskspec.php:82
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\setViewSpec
setViewSpec(ViewSpec $viewSpec)
Определения
taskspec.php:75
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\getViewSpec
getViewSpec()
Определения
taskspec.php:65
Bitrix\Sender\Integration\Yandex\Toloka\DTO\TaskSpec\setInputSpec
setInputSpec(InputOutputSpec $inputSpec)
Определения
taskspec.php:35
Bitrix\Sender\Integration\Yandex\Toloka\DTO\ViewSpec
Определения
viewspec.php:6
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
taskspec.php
Создано системой
1.14.0