Skip to content

Instantly share code, notes, and snippets.

@Ginnw2
Created April 14, 2021 11:53
Show Gist options
  • Save Ginnw2/5d568e2016bb64c087816efb681d7d1a to your computer and use it in GitHub Desktop.
Save Ginnw2/5d568e2016bb64c087816efb681d7d1a to your computer and use it in GitHub Desktop.
Обновление свойства элемента Bitrix
<?//обновление свойства элемента
$result = \Bitrix\Iblock\ElementPropertyTable::update(
$arProp[ID],// ID в таблице
[
'IBLOCK_PROPERTY_ID'=>50, // ID свойства
'VALUE'=>$arProp['VALUE'] // новое значение свойства
]);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment