Documentation

DealContactTable

DealContactTable class handles Deals and Contacts bindings storage.

Class methods

MethodDescription Available from version
bindContactIDsBinds Deal to Contacts with specified IDs.
bindContactsBinds Deal to Contacts.
getContactDealIDsGets Deal IDs binded with specified Contact.
getDealBindingCountGets number of Deal bindings.
getDealBindingsGets Deal bindings.
getDealContactIDsGets Contact IDs binded with specified Deal.
getMapGets table field map.
getTableNameGets table name.
hasContactsVerifies if Deal has Contacts.
prepareFilterJoinSqlPrepares filter conditions for SQL JOIN-query for specific entity.
rebindAllDealsUnbinds all deals from source Contact and assigns to target Contact.
unbindAllContactsUnbinds specified Deal from all Contacts.
unbindAllDealsUnbinds specified Contact from all Deals.
unbindContactIDsDeletes bindings between Deal and Contact by Contact IDs.
unbindContactsDeletes specified Deal bindings to Contacts.
upsertExecutes UPSERT operation.


© «Bitrix24», 2001-2024
Up