Documentation

prepareBindingChanges

void public static
\Bitrix\Crm\Binding\EntityBinding::prepareBindingChanges(
  $entityTypeID,
 array $origin,
 array $current,
 array ,
 array 
);

Method prepares binding updates. Static method.

Parameters

ParameterDescriptionVersion
$entityTypeIDEntity type ID.
$originOriginal binding.
$currentCurrent binding.
$addedAdded bindings (output parameter).
$removedDeleted bindings (input parameter).

Exceptions

  • \Bitrix\Main\ArgumentOutOfRangeException
  • \Bitrix\Main\NotSupportedException

Example



© «Bitrix24», 2001-2024