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
checkIndex()
public
static checkIndex(array<string|int, mixed> $params) : mixed
Parameters
- $params : array<string|int, mixed>
createFromMatches()
public
static createFromMatches(array<string|int, mixed> $matches) : mixed
Parameters
- $matches : array<string|int, mixed>
equals()
public
equals(DuplicateCriterion $item) : mixed
Parameters
- $item : DuplicateCriterion
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
getCommunicationType()
public
getCommunicationType() : mixed
getHiddenSupportedDedupeTypes()
public
static getHiddenSupportedDedupeTypes() : mixed
getIndexTypeID()
public
getIndexTypeID() : mixed
getMatchDescription()
public
getMatchDescription() : mixed
getMatches()
public
getMatches() : mixed
getMatchHash()
public
getMatchHash() : mixed
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
getSummary()
public
getSummary() : mixed
getSupportedDedupeTypes()
Get types supported by deduplication system.
public
static getSupportedDedupeTypes() : array<string|int, mixed>
Return values
array<string|int, mixed>getTextTotals()
public
getTextTotals(mixed $count[, mixed $limit = 0 ]) : mixed
Parameters
- $count : mixed
- $limit : mixed = 0
getTypeName()
public
getTypeName() : mixed
getValue()
public
getValue() : 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
normalizePhone()
public
static normalizePhone(mixed $value) : mixed
Parameters
- $value : 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
Return values
QueryprepareSortParams()
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
resolveTypeByIndexTypeID()
public
static resolveTypeByIndexTypeID(mixed $indexTypeID) : mixed
Parameters
- $indexTypeID : mixed
sanitizePhone()
public
static sanitizePhone(mixed $value) : mixed
Parameters
- $value : mixed
setCommunicationType()
public
setCommunicationType(mixed $communicationType) : mixed
Parameters
- $communicationType : mixed
setValue()
public
setValue(mixed $value) : mixed
Parameters
- $value : mixed
unregister()
public
static unregister(mixed $entityTypeID, mixed $entityID[, mixed $type = '' ]) : mixed
Parameters
- $entityTypeID : mixed
- $entityID : mixed
- $type : mixed = ''