Bitrix API

StoreDocumentContactCompanyBinding

Class StoreDocumentContactCompanyBinding

Table of Contents

Methods

__construct()  : mixed
bindToDocuments()  : void
Bulk bind a contact/company to documents
isDocumentBoundToEntity()  : bool
rebind()  : void
Replace all bindings of a contact/company to another ones
unbind()  : void
Remove all bindings of a contact/company

Methods

bindToDocuments()

Bulk bind a contact/company to documents

public bindToDocuments(int $entityId, array<string|int, mixed> $documentIds) : void
Parameters
$entityId : int
$documentIds : array<string|int, mixed>

isDocumentBoundToEntity()

public isDocumentBoundToEntity(int $documentId, int $entityId) : bool
Parameters
$documentId : int
$entityId : int
Return values
bool

rebind()

Replace all bindings of a contact/company to another ones

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

        
On this page

Search results