1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
inputspecassembler.php
См. документацию.
1<?php
2namespace Bitrix\Sender\Integration\Yandex\Toloka\DTO\Assembler;
3
4use Bitrix\Main\HttpRequest;
5use Bitrix\Sender\Integration\Yandex\Toloka\DTO\InputOutputSpec;
6use Bitrix\Sender\Integration\Yandex\Toloka\DTO\TolokaTransferObject;
7
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}
if(!Loader::includeModule('catalog')) if(!AccessController::getCurrent() ->check(ActionDictionary::ACTION_PRICE_EDIT)) if(!check_bitrix_sessid()) $request
Определения catalog_reindex.php:36