Documentation

bindCompanies

void public static
\Bitrix\Crm\Binding\ContactCompanyTable::bindCompanies(
 integer $contactID,
 array $bindings
);

Method binds Contact to Companies. Static method.

Parameters

ParameterDescriptionVersion
$contactIDContact ID.
$bindingsArray with Company bindings.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024