Documentation

update

\Bitrix\Main\Entity\UpdateResult public static
\Bitrix\Iblock\ElementTable::update(
 mixed $primary,
 array $data
);

Method updates element parameters with $primary key.

Parameters

ParameterDescriptionVersion
$primaryPrimary key. Element ID.
$dataArray, containing values for iblock element fields.

Example



© «Bitrix24», 2001-2022
Up