Documentation

update

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

Static method updates row data in entity table by primary keys.

Parameters

ParameterDescriptionVersion
$primary
$dataArray of data to be updated

Exceptions

  • \Exception

Example



© «Bitrix24», 2001-2024