Bitrix API

ContactCompanyBinding

Table of Contents

Methods

__construct()  : mixed
bindToOrders()  : void
Bulk bind a contact/company to orders
rebind()  : void
Replace all bindings of a contact/company to another ones
unbind()  : void
Remove all bindings of a contact/company
unbindFromOrders()  : void
Bulk remove bindings of a contact/company from list of orders

Methods

bindToOrders()

Bulk bind a contact/company to orders

public bindToOrders(int $entityId, array<string|int, mixed> $orderIds) : void
Parameters
$entityId : int
$orderIds : array<string|int, mixed>
Tags
throws
NotSupportedException
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentOutOfRangeException
throws
ArgumentTypeException
throws
SystemException

rebind()

Replace all bindings of a contact/company to another ones

public rebind(int $oldEntityId, int $newEntityId) : void
Parameters
$oldEntityId : int
$newEntityId : int

unbind()

Remove all bindings of a contact/company

public unbind(int $entityId) : void
Parameters
$entityId : int
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

unbindFromOrders()

Bulk remove bindings of a contact/company from list of orders

public unbindFromOrders(int $entityId, array<string|int, mixed> $orderIds) : void
Parameters
$entityId : int
$orderIds : array<string|int, mixed>
Tags
throws
ArgumentException
throws
ObjectPropertyException
throws
SystemException

        
On this page

Search results