$classListOfDoctors = Iblock\Iblock::wakeUp($arParams['IBLOCK_ID'])->getEntityDataClass();
$objListOfDoctors = $classListOfDoctors::getList([
'select' => [
'*',
'GETSERVICESLIST',
'YOUTUBEVIDEO',
],
'filter' => ['ID' => $arParams['LIST_OF_DOCTOR'], 'ACTIVE' => 'Y'],
'order' => ['DATE_CREATE' => 'ASC'],
])->fetchCollection();
foreach ($objListOfDoctors as $keyList => $doctor) {
$arResult['ITEMS'][$keyList]['ID'] = $doctor->getId();
$arResult['ITEMS'][$keyList]['NAME'] = $doctor->getName();
}
<? var_dump($doctor->getGetserviceslist()->getId()) ?>
<? var_dump($doctor->getGetserviceslist()->getCode()) ?>
<? var_dump($doctor->getGetserviceslist()->getType()) ?>
require_once($_SERVER['DOCUMENT_ROOT'] . '/local/css/admin/style.php');
<style>
.adm-list-table-cell img {
max-width: 100px;
height: auto;
}
</style>