1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
taskspec.php
См. документацию.
1<?php
2
3namespace Bitrix\Sender\Integration\Yandex\Toloka\DTO;
4
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}
setOutputSpec(InputOutputSpec $outputSpec)
Определения taskspec.php:55
setViewSpec(ViewSpec $viewSpec)
Определения taskspec.php:75
setInputSpec(InputOutputSpec $inputSpec)
Определения taskspec.php:35
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804