1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
inputoutputspec.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO;
4
5
class
InputOutputSpec
implements
TolokaTransferObject
6
{
7
public
const
TYPES
= [
8
'URL'
=>
'url'
,
9
'BOOLEAN'
=>
'boolean'
,
10
'INTEGER'
=>
'integer'
,
11
'STRING'
=>
'string'
,
12
'FLOAT'
=>
'float'
,
13
'JSON'
=>
'json'
,
14
'FILE'
=>
'file'
,
15
];
19
private
$identificator;
20
24
private
$type;
25
29
private
$required =
true
;
30
34
public
function
getIdentificator
(): string
35
{
36
return
$this->identificator;
37
}
38
44
public
function
setIdentificator
(
string
$identificator):
InputOutputSpec
45
{
46
$this->identificator = $identificator;
47
48
return
$this;
49
}
50
54
public
function
getType
(): string
55
{
56
return
$this->type
;
57
}
58
64
public
function
setType
(
string
$type):
InputOutputSpec
65
{
66
$this->type = $type;
67
68
return
$this;
69
}
70
71
public
function
toArray
():
array
72
{
73
return
[
74
$this->identificator => [
75
"type"
=>
$this->type
,
76
"required"
=> (bool)$this->required,
77
]
78
];
79
}
80
}
$type
$type
Определения
options.php:106
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec
Определения
inputoutputspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\setIdentificator
setIdentificator(string $identificator)
Определения
inputoutputspec.php:44
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\TYPES
const TYPES
Определения
inputoutputspec.php:7
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\toArray
toArray()
Определения
inputoutputspec.php:71
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\getType
getType()
Определения
inputoutputspec.php:54
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\getIdentificator
getIdentificator()
Определения
inputoutputspec.php:34
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec\setType
setType(string $type)
Определения
inputoutputspec.php:64
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
inputoutputspec.php
Создано системой
1.14.0