×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Denis Zakharov
Added: Aug 10, 2021 3:45 PM
Views: 3689
Tags: bitrix
  1. $wazzup = new CIBlockElement;
  2. $ID = $wazzup->Add([
  3.         "IBLOCK_SECTION_ID" => false,      
  4.         "IBLOCK_ID"      => 12,
  5.         "NAME" => "test element",
  6.         "PROPERTY_VALUES" => [43 => "seq->GetNext())" ]
  7.    ]); 
  8. var_dump($ID);