rebindAllCompanies
public static \Bitrix\Crm\Binding\ContactCompanyTable::rebindAllCompanies( integer $seedContactID, integer $targContactID );
Method unbinds all Companies from source Contact and binds to target Contact. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$seedContactID | Source Contact ID. | |
$targContactID | Target Contact ID. |
Exceptions
- \Bitrix\Main\ArgumentException
Example
© «Bitrix24», 2001-2024