D7 API documentation
What's New
Modules
Available fields
New invoices
Composite Identifiers
New CRM API
SPA type preset
Bindings
Client in CRM
Items
bindCompanies
bindCompanyIDs
bindContactIDs
bindContacts
getCompanyBindings
getCompanyContactIDs
getContactBindingCount
getContactBindings
getContactCompanyIDs
getMap
getTableName
hasCompanies
prepareFilterJoinSql
rebindAllCompanies
rebindAllContacts
unbindAllCompanies
unbindAllContacts
unbindCompanies
unbindCompanyIDs
unbindContactIDs
unbindContacts
upsert
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
Up