Bitrix API

DuplicateIndexType

Table of Contents

Constants

ALL  = 0x1f0ffff
BANK_DETAIL  = 0x700000
COMMUNICATION  = 0x18003fc
COMMUNICATION_BITRIX24  = 0x100
COMMUNICATION_BITRIX24_NAME  = 'COMMUNICATION_BITRIX24'
COMMUNICATION_EMAIL  = 0x8
COMMUNICATION_EMAIL_NAME  = 'COMMUNICATION_EMAIL'
COMMUNICATION_FACEBOOK  = 0x10
COMMUNICATION_FACEBOOK_NAME  = 'COMMUNICATION_FACEBOOK'
COMMUNICATION_OPENLINE  = 0x200
COMMUNICATION_OPENLINE_NAME  = 'COMMUNICATION_OPENLINE'
COMMUNICATION_PHONE  = 0x4
COMMUNICATION_PHONE_NAME  = 'COMMUNICATION_PHONE'
COMMUNICATION_SKYPE  = 0x80
COMMUNICATION_SKYPE_NAME  = 'COMMUNICATION_SKYPE'
COMMUNICATION_SLUSER  = 0x1000000
COMMUNICATION_SLUSER_NAME  = 'COMMUNICATION_SLUSER'
COMMUNICATION_TELEGRAM  = 0x20
COMMUNICATION_TELEGRAM_NAME  = 'COMMUNICATION_TELEGRAM'
COMMUNICATION_VIBER  = 0x800000
COMMUNICATION_VIBER_NAME  = 'COMMUNICATION_VIBER'
COMMUNICATION_VK  = 0x40
COMMUNICATION_VK_NAME  = 'COMMUNICATION_VK'
DEFAULT_SCOPE  = ''
DENOMINATION  = 0x3
ORGANIZATION  = 0x2
ORGANIZATION_NAME  = 'ORGANIZATION'
PERSON  = 0x1
PERSON_NAME  = 'PERSON'
REQUISITE  = 0xfc00
RQ_ACC_NUM  = 0x100000
RQ_ACC_NUM_NAME  = 'RQ_ACC_NUM'
RQ_BIN  = 0x2000
RQ_BIN_NAME  = 'RQ_BIN'
RQ_EDRPOU  = 0x4000
RQ_EDRPOU_NAME  = 'RQ_EDRPOU'
RQ_IBAN  = 0x200000
RQ_IBAN_NAME  = 'RQ_IBAN'
RQ_IIK  = 0x400000
RQ_IIK_NAME  = 'RQ_IIK'
RQ_INN  = 0x400
RQ_INN_NAME  = 'RQ_INN'
RQ_OGRN  = 0x800
RQ_OGRN_NAME  = 'RQ_OGRN'
RQ_OGRNIP  = 0x1000
RQ_OGRNIP_NAME  = 'RQ_OGRNIP'
RQ_VAT_ID  = 0x8000
RQ_VAT_ID_NAME  = 'RQ_VAT_ID'
UNDEFINED  = 0x0
VOLATILE_1  = 0x2000000
VOLATILE_1_NAME  = 'VOLATILE_1'
VOLATILE_2  = 0x4000000
VOLATILE_2_NAME  = 'VOLATILE_2'
VOLATILE_3  = 0x8000000
VOLATILE_3_NAME  = 'VOLATILE_3'
VOLATILE_4  = 0x10000000
VOLATILE_4_NAME  = 'VOLATILE_4'
VOLATILE_5  = 0x20000000
VOLATILE_5_NAME  = 'VOLATILE_5'
VOLATILE_6  = 0x40000000
VOLATILE_6_NAME  = 'VOLATILE_6'
VOLATILE_7  = 0x80000000
VOLATILE_7_NAME  = 'VOLATILE_7'

Methods

checkScopeValue()  : mixed
convertFromCommunicationType()  : int
Try to convert communication type into duplicate index type
convertToCommunicationType()  : int
Try to convert duplicate index type into communication type
getAllDescriptions()  : array<string|int, mixed>
Get all type descriptions
getAllScopeTitles()  : mixed
getPreferredScope()  : mixed
getSupportedTypes()  : array<string|int, mixed>
Get supported types for specified entity type.
isDefined()  : bool
Check if type defined
isSingle()  : bool
Check if name is not multiple.
joinType()  : int
Convert type list to multiple type ID.
resolveID()  : int
Resolve type ID by name.
resolveName()  : string
Resolve type name by ID.
splitType()  : array<string|int, mixed>
Convert multiple type ID to type list.

Constants

COMMUNICATION_BITRIX24_NAME

public mixed COMMUNICATION_BITRIX24_NAME = 'COMMUNICATION_BITRIX24'

COMMUNICATION_EMAIL_NAME

public mixed COMMUNICATION_EMAIL_NAME = 'COMMUNICATION_EMAIL'

COMMUNICATION_FACEBOOK_NAME

public mixed COMMUNICATION_FACEBOOK_NAME = 'COMMUNICATION_FACEBOOK'

COMMUNICATION_OPENLINE_NAME

public mixed COMMUNICATION_OPENLINE_NAME = 'COMMUNICATION_OPENLINE'

COMMUNICATION_PHONE_NAME

public mixed COMMUNICATION_PHONE_NAME = 'COMMUNICATION_PHONE'

COMMUNICATION_SKYPE_NAME

public mixed COMMUNICATION_SKYPE_NAME = 'COMMUNICATION_SKYPE'

COMMUNICATION_SLUSER_NAME

public mixed COMMUNICATION_SLUSER_NAME = 'COMMUNICATION_SLUSER'

COMMUNICATION_TELEGRAM_NAME

public mixed COMMUNICATION_TELEGRAM_NAME = 'COMMUNICATION_TELEGRAM'

COMMUNICATION_VIBER_NAME

public mixed COMMUNICATION_VIBER_NAME = 'COMMUNICATION_VIBER'

Methods

checkScopeValue()

public static checkScopeValue(mixed $scope) : mixed
Parameters
$scope : mixed

convertFromCommunicationType()

Try to convert communication type into duplicate index type

public static convertFromCommunicationType(int $commTypeID) : int
Parameters
$commTypeID : int

Source communication type.

Return values
int

convertToCommunicationType()

Try to convert duplicate index type into communication type

public static convertToCommunicationType(int $typeID) : int
Parameters
$typeID : int

Duplicate index type.

Return values
int

getAllDescriptions()

Get all type descriptions

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

getSupportedTypes()

Get supported types for specified entity type.

public static getSupportedTypes(int $entityTypeID) : array<string|int, mixed>

since 16.2.0

Parameters
$entityTypeID : int

Entity Type ID.

Tags
see:

DuplicateManager::getSupportedDedupeTypes

Return values
array<string|int, mixed>

isDefined()

Check if type defined

public static isDefined(int $typeID) : bool
Parameters
$typeID : int

Type ID.

Return values
bool

isSingle()

Check if name is not multiple.

public static isSingle(int $typeID) : bool
Parameters
$typeID : int

Type ID.

Return values
bool

joinType()

Convert type list to multiple type ID.

public static joinType(array<string|int, mixed> $typeIDs) : int
Parameters
$typeIDs : array<string|int, mixed>

Type ID list.

Return values
int

resolveID()

Resolve type ID by name.

public static resolveID(string $typeName) : int
Parameters
$typeName : string

Type name (single or multiple).

Return values
int

resolveName()

Resolve type name by ID.

public static resolveName(int $typeID) : string
Parameters
$typeID : int

Type ID.

Return values
string

splitType()

Convert multiple type ID to type list.

public static splitType(int $typeID) : array<string|int, mixed>
Parameters
$typeID : int

Type ID.

Return values
array<string|int, mixed>

        
On this page

Search results