Bitrix API

DuplicatePersonCriterion extends DuplicateCriterion

Table of Contents

Methods

__construct()  : mixed
checkIndex()  : mixed
createFromMatches()  : mixed
equals()  : mixed
find()  : mixed
getIndexTypeID()  : mixed
getLastName()  : mixed
getMatchDescription()  : mixed
getMatches()  : mixed
getMatchHash()  : mixed
getName()  : mixed
getRegisteredEntityMatches()  : mixed
getSecondName()  : mixed
getSummary()  : mixed
getSupportedDedupeTypes()  : array<string|int, mixed>
Get types supported by deduplication system.
getTextTotals()  : mixed
getTypeName()  : mixed
loadEntitiesMatches()  : mixed
loadEntityMatches()  : mixed
prepareCode()  : mixed
prepareMatchHash()  : mixed
prepareSearchQuery()  : Query
Prepare duplicate search query
prepareSortParams()  : mixed
register()  : mixed
setLastName()  : mixed
setName()  : mixed
setSecondName()  : mixed
unregister()  : mixed

Methods

__construct()

public __construct(mixed $lastName[, mixed $name = '' ][, mixed $secondName = '' ]) : mixed
Parameters
$lastName : mixed
$name : mixed = ''
$secondName : mixed = ''

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>

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

getRegisteredEntityMatches()

public static getRegisteredEntityMatches(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>

getTextTotals()

public getTextTotals(mixed $count[, mixed $limit = 0 ]) : mixed
Parameters
$count : mixed
$limit : mixed = 0

loadEntitiesMatches()

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

loadEntityMatches()

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

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
Parameters
$entityTypeID : mixed
$entityIDs : array<string|int, mixed>

register()

public static register(mixed $entityTypeID, mixed $entityID, mixed $lastName, mixed $name, mixed $secondName[, mixed $isRaw = true ]) : mixed
Parameters
$entityTypeID : mixed
$entityID : mixed
$lastName : mixed
$name : mixed
$secondName : mixed
$isRaw : mixed = true

unregister()

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

        
On this page

Search results