Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Like this
if (CModule::IncludeModule('highloadblock')) {
$ID = 1; // ИД
$hldata = Bitrix\Highloadblock\HighloadBlockTable::getById($ID)->fetch();
$hlentity = Bitrix\Highloadblock\HighloadBlockTable::compileEntity($hldata);
$hlDataClass = $hldata["NAME"] . "Table";
$result = $hlDataClass::getList(array(
"select" => array("ID", "UF_NAME", "UF_XML_ID"), // Поля для выборки
"order" => array("UF_SORT" => "ASC"),
"filter" => array(),
));
while ($res = $result->fetch()) {
// Выводите что вам надо
}
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question