Created
May 31, 2017 04:41
-
-
Save qwersk/37c5be2b286ea4b5a130daffc2e9a9a1 to your computer and use it in GitHub Desktop.
GET ELEMENT PROPERTIES #BITRIX
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$db_props = CIBlockElement::GetProperty($item["IBLOCK_ID"], $item["ID"], "sort", "asc", array()); | |
$PROPS = array(); | |
while($ar_props = $db_props->Fetch()){ | |
$PROPS[$ar_props['CODE']] = $ar_props['VALUE']; | |
echo $PROPS[$ar_props['CODE']] . "<br />"; | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment