$arParams['HIGHLOAD_TABLE_ID']],
]);
if ($hldata = $rsData->fetch()) {
$hlentity = \Bitrix\Highloadblock\HighloadBlockTable::compileEntity($hldata);
$hlDataClass = $hlentity->getDataClass();
$res = $hlDataClass::getList([
'select' => ['*'],
'order' => ($arParams['USE_SORT'] == 'Y') ? [$arParams['SORT_FIELD'] => $arParams['SORT_ORDER']] : [],
'limit' => $nav->getLimit(),
'offset' => $nav->getOffset(),
'filter' => ['ID' => "ID ЗНАЧЕНИЯ"],
]);
while ($HLinfo = $res->fetch()) {
$arResult['ITEMS'][$HLinfo['ID']] = $HLinfo;
}
}
Спасибо
Обсуждают сегодня