ContactCompanyTable
ContactCompanyTable class handles storage for Contact and Companies.
Class methods
Method | Description | Available from version |
---|---|---|
bindCompanies | Binds Contact with Companies. | |
bindCompanyIDs | Binds Contact to Companies with specified IDs. | |
bindContactIDs | Binds Company to Contacts with specified IDs. | |
bindContacts | Binds Company with Contacts. | |
getCompanyBindings | Gets company bindings. | |
getCompanyContactIDs | Gets Contact IDs, binded with specified Company. | |
getContactBindingCount | Gets number of Contact bindings. | |
getContactBindings | Gets Contact bindings. | |
getContactCompanyIDs | Gets Company IDs, binded with specified Contact. | |
getMap | Gets table fields map. | |
getTableName | Gets table name. | |
hasCompanies | Verifies, if Contact has Companies. | |
prepareFilterJoinSql | Prepares filter conditions SQL join query for specified entity. | |
[link= 4417045]rebindAllCompanies[/link] | Unbinds all compnaies from source contact and binds to target contact. | |
rebindAllContacts | Unbinds all contacts from source Company and binds to target Company. | |
unbindAllCompanies | Unbinds specified Contact from all Companies. | |
unbindAllContacts | Unbinds specified Company from all Contacts. | |
unbindCompanies | Deletes all specified bindings between Contact and Companies. | |
unbindCompanyIDs | Deletes bindings between Contact and Companies by Company IDs. | |
unbindContactIDs | Deletes bindings between Company and Contacts by Contact IDs. | |
unbindContacts | Deletes specified Company bindings to Contacts. | |
upsert | Executes UPSERT operation. |
© «Bitrix24», 2001-2024