\Bitrix\Main\Loader::includeModule('highloadblock');
use Bitrix\Highloadblock as HL;
use Bitrix\Main\Entity;
// ID HL-блока
$hlbl = 2;
$hlblock = HL\HighloadBlockTable::getById($hlbl)->fetch();
$entity = HL\HighloadBlockTable::compileEntity($hlblock);
$entity_data_class = $entity->getDataClass();
// CRM_QUOTE_ID
$crmQuoteId = 100;
// XML_ID UF поля с CRM_QUOTE_ID в HL-блоке
$crmQuoteFieldId = 'UF_CRM_QUOTE_ID';
$result = $entity_data_class::getList([
'select' => ['ELEMENT_' => 'IBLOCK_ELEMENT'],
'order' => [],
'filter' => [$crmQuoteFieldId => $crmQuoteId],
'runtime' => [
'IBLOCK_ELEMENT' => [
'data_type' => \Bitrix\Iblock\ElementTable::class,
'reference' => ['this.'.$crmQuoteFieldId => 'ref.ID'],
'join' => 'RIGHT'
]
]
])->fetchAll();
print_r($result);
var s = 'some text -1.2 more text';
console.log(parseFloat(s.replace(/^.*?(-?\d+(?:\.\d+)?).*?$/, '$1')));
"SELECT * FROM `orders` WHERE `user_id`='" . $_SESSION["user"]["id"] . "' AND `status` = 'Активен'"
wp_reset_postdata();
function returnFalse(e){
e = e||event;
e.preventDefault ? e.preventDefault() : (e.returnValue = false);
}
//Ставьте запрет
document.addEventListener("scroll", returnFalse);
//И после вашего скролла удалите запрет
document.removeEventListener("scroll", returnFalse);