1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
inputspecassembler.php
См. документацию.
1
<?php
2
namespace
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler;
3
4
use Bitrix\Main\HttpRequest;
5
use Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec;
6
use Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject;
7
8
class
InputSpecAssembler
implements
Assembler
9
{
10
16
public
static
function
toDTO
(
HttpRequest
$request
)
17
{
18
$inputSpec =
new
InputOutputSpec
();
19
20
$inputSpec->setIdentificator(
$request
->get(
'input_identificator'
));
21
$inputSpec->setType(
$request
->get(
'input_type'
));
22
23
return
$inputSpec;
24
}
25
}
$request
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения
catalog_reindex.php:36
Bitrix\Main\HttpRequest
Определения
httprequest.php:20
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\InputSpecAssembler
Определения
inputspecassembler.php:9
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\InputSpecAssembler\toDTO
static toDTO(HttpRequest $request)
Определения
inputspecassembler.php:16
Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec
Определения
inputoutputspec.php:6
Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler\Assembler
Определения
assembler.php:8
bitrix
modules
sender
lib
integration
yandex
toloka
dto
assembler
inputspecassembler.php
Создано системой
1.14.0