Вывод элементов Highload

<?
                            if (CModule::IncludeModule('highloadblock')) {
                            	$arHLBlock = Bitrix\Highloadblock\HighloadBlockTable::getById(2)->fetch();
                            	$obEntity = Bitrix\Highloadblock\HighloadBlockTable::compileEntity($arHLBlock);
                            	$strEntityDataClass = $obEntity->getDataClass();
                            	$resData = $strEntityDataClass::getList(array(
                            		'select' => array('ID', 'UF_NAME'),
                            		'filter' => array(),
                            		'order'  => array('ID' => 'ASC'),
                            		'limit'  => 100,
                            	));
                            	while ($arItem = $resData->Fetch()) {
                            	    echo '<pre>';
                            		print_r($arItem);
                            		echo '</pre>';
                            	}
                            }
                            ?>
Show CommentsClose Comments

Leave a comment