Bitrix API

DuplicateCommunicationCriterion extends DuplicateCriterion

Table of Contents

Methods

__construct()  : mixed
bulkRegister()  : mixed
checkIndex()  : mixed
createFromMatches()  : mixed
equals()  : mixed
extractMultifieldsValues()  : mixed
find()  : mixed
getCommunicationType()  : mixed
getHiddenSupportedDedupeTypes()  : mixed
getIndexTypeID()  : mixed
getMatchDescription()  : mixed
getMatches()  : mixed
getMatchHash()  : mixed
getMultifieldsValues()  : mixed
getRegisteredCodes()  : mixed
getRegisteredEntityMatches()  : mixed
getRegisteredTypes()  : mixed
getSummary()  : mixed
getSupportedDedupeTypes()  : array<string|int, mixed>
Get types supported by deduplication system.
getTextTotals()  : mixed
getTypeName()  : mixed
getValue()  : mixed
loadEntitiesMatches()  : mixed
loadEntityMatches()  : mixed
normalizePhone()  : mixed
prepareBatchEntityMultifieldValues()  : mixed
prepareBulkData()  : mixed
prepareCode()  : mixed
prepareCodes()  : mixed
prepareEntityMultifieldValues()  : mixed
prepareMatchHash()  : mixed
prepareSearchQuery()  : Query
Prepare duplicate search query
prepareSortParams()  : mixed
processMultifieldsChange()  : mixed
register()  : mixed
resolveTypeByIndexTypeID()  : mixed
sanitizePhone()  : mixed
setCommunicationType()  : mixed
setValue()  : mixed
unregister()  : mixed

Methods

__construct()

public __construct(mixed $communicationType, mixed $value) : mixed
Parameters
$communicationType : mixed
$value : mixed

bulkRegister()

public static bulkRegister(mixed $entityTypeID, mixed $entityID, array<string|int, mixed> $data[, mixed $isRaw = true ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$data : array<string|int, mixed>
$isRaw : mixed = true

createFromMatches()

public static createFromMatches(array<string|int, mixed> $matches) : mixed
Parameters
$matches : array<string|int, mixed>

extractMultifieldsValues()

public static extractMultifieldsValues(array<string|int, mixed> $multifields, mixed $type[, mixed $valueType = '' ]) : mixed
Parameters
$multifields : array<string|int, mixed>
$type : mixed
$valueType : mixed = ''

find()

public find([mixed $entityTypeID = \Bitrix\Crm\Integrity\CCrmOwnerType::Undefined ][, mixed $limit = 50 ]) : mixed
Parameters
$entityTypeID : mixed = \Bitrix\Crm\Integrity\CCrmOwnerType::Undefined
$limit : mixed = 50

getMultifieldsValues()

public static getMultifieldsValues(array<string|int, mixed> $multifields, mixed $communicationType) : mixed
Parameters
$multifields : array<string|int, mixed>
$communicationType : mixed

getRegisteredCodes()

public static getRegisteredCodes(mixed $entityTypeID, mixed $entityID[, mixed $enablePermissionCheck = false ][, mixed $userID = 0 ][, mixed $limit = 50 ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$enablePermissionCheck : mixed = false
$userID : mixed = 0
$limit : mixed = 50

getRegisteredEntityMatches()

public static getRegisteredEntityMatches(mixed $entityTypeID, mixed $entityID[, mixed $type = '' ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$type : mixed = ''

getRegisteredTypes()

public static getRegisteredTypes(mixed $entityTypeID, mixed $entityID) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed

getSupportedDedupeTypes()

Get types supported by deduplication system.

public static getSupportedDedupeTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>

loadEntitiesMatches()

public static loadEntitiesMatches(mixed $entityTypeID, array<string|int, mixed> $entityIDs, mixed $communicationType) : mixed
Parameters
$entityTypeID : mixed
$entityIDs : array<string|int, mixed>
$communicationType : mixed

loadEntityMatches()

public static loadEntityMatches(mixed $entityTypeID, mixed $entityID, mixed $communicationType) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$communicationType : mixed

prepareBatchEntityMultifieldValues()

public static prepareBatchEntityMultifieldValues(mixed $entityTypeID, array<string|int, mixed> $entityIDs) : mixed
Parameters
$entityTypeID : mixed
$entityIDs : array<string|int, mixed>

prepareBulkData()

public static prepareBulkData(array<string|int, mixed> $multifields) : mixed
Parameters
$multifields : array<string|int, mixed>

prepareCode()

public static prepareCode(mixed $communicationType, mixed $value) : mixed
Parameters
$communicationType : mixed
$value : mixed

prepareCodes()

public static prepareCodes(mixed $communicationType, array<string|int, mixed> $values) : mixed
Parameters
$communicationType : mixed
$values : array<string|int, mixed>

prepareEntityMultifieldValues()

public static prepareEntityMultifieldValues(mixed $entityTypeID, mixed $entityID[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$options : array<string|int, mixed> = null

prepareMatchHash()

public static prepareMatchHash(array<string|int, mixed> $matches) : mixed
Parameters
$matches : array<string|int, mixed>

prepareSearchQuery()

Prepare duplicate search query

public prepareSearchQuery([CCrmOwnerType $entityTypeID = \Bitrix\Crm\Integrity\CCrmOwnerType::Undefined ][, array<string|int, mixed> $select = null ][, array<string|int, mixed> $order = null ][, int $limit = 0 ]) : Query
Parameters
$entityTypeID : CCrmOwnerType = \Bitrix\Crm\Integrity\CCrmOwnerType::Undefined

Target Entity Type ID

$select : array<string|int, mixed> = null
$order : array<string|int, mixed> = null
$limit : int = 0

Limit of result query

Tags
throws
ArgumentTypeException
throws
InvalidOperationException
Return values
Query

prepareSortParams()

public static prepareSortParams(mixed $entityTypeID, array<string|int, mixed> $entityIDs[, mixed $type = '' ]) : mixed
Parameters
$entityTypeID : mixed
$entityIDs : array<string|int, mixed>
$type : mixed = ''

processMultifieldsChange()

public static processMultifieldsChange(mixed $entityTypeID, mixed $entityID) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed

register()

public static register(mixed $entityTypeID, mixed $entityID, mixed $type, array<string|int, mixed> $values[, mixed $isRaw = true ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$type : mixed
$values : array<string|int, mixed>
$isRaw : mixed = true

unregister()

public static unregister(mixed $entityTypeID, mixed $entityID[, mixed $type = '' ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$type : mixed = ''

        
On this page

Search results