CIBlockElement::GetProperty выводит свойства без значений.
https://dev.1c-bitrix.ru/learning/course/?COURSE_ID=43&LESSON_ID=2832
Код |
---|
$db_props = CIBlockElement::GetProperty(IBLOCK_ID, ELEMENT_ID, "sort", "asc", array()); $PROPS = array(); while($ar_props = $db_props->Fetch()) $PROPS[$ar_props['CODE']] = $ar_props['VALUE']; print_r ($PROPS); |