function GetEntityDataClass($HlBlockId) {
if (empty($HlBlockId) || $HlBlockId < 1){
return false;
}
$hlblock = HLBT::getById($HlBlockId)->fetch();
$entity = HLBT::compileEntity($hlblock);
$entity_data_class = $entity->getDataClass();
return $entity_data_class;
}
$entity_data_class = GetEntityDataClass($HL_BLOCK_ID);