Bitrix API

FieldSynchronizer

Table of Contents

Constants

FIELD_TYPE_ADDRESS  = 'address'
FIELD_TYPE_CHECKBOX  = 'checkbox'
FIELD_TYPE_DATE  = 'date'
FIELD_TYPE_DATETIME  = 'datetime'
FIELD_TYPE_EMAIL  = 'email'
FIELD_TYPE_FILE  = 'file'
FIELD_TYPE_FLOAT  = 'double'
FIELD_TYPE_INT  = 'integer'
FIELD_TYPE_LIST  = 'list'
FIELD_TYPE_LIST_CHECKBOX  = 'listCheckbox'
FIELD_TYPE_LOCATION  = 'location'
FIELD_TYPE_PHONE  = 'phone'
FIELD_TYPE_RADIO  = 'radio'
FIELD_TYPE_STRING  = 'string'
FIELD_TYPE_TEXT  = 'text'
FIELD_TYPE_TYPED_STRING  = 'typed_string'
MULTI_FIELD_WITH_TYPE_CHOICE_CLASS_LIST  = [\CCrmFieldMulti::PHONE => '\Bitrix\Crm\FieldSynchronizer\Phone', \CCrmFieldMulti::EMAIL => '\Bitrix\Crm\FieldSynchronizer\Email']

Methods

getCrmFieldType()  : mixed
getDefaultCountryId()  : mixed
getDeliveryRelations()  : mixed
getEntityMap()  : mixed
getEntityMapCommonExcludedFields()  : mixed
getFieldCaption()  : mixed
getFieldFullCode()  : mixed
getFields()  : mixed
getFieldsByCode()  : mixed
getFieldsTree()  : mixed
getFieldStringTypes()  : mixed
getOrderFieldsDescription()  : mixed
getOrderPropertyName()  : mixed
getPaySystemRelations()  : mixed
getRequisitePresetsInfo()  : mixed
getSaleFieldType()  : mixed
getTypeList()  : mixed
onAfterSetEnumValues()  : mixed
prepareFiles()  : mixed
prepareToDeactivate()  : mixed
save()  : mixed
updateDuplicateMode()  : mixed

Constants

FIELD_TYPE_LIST_CHECKBOX

public mixed FIELD_TYPE_LIST_CHECKBOX = 'listCheckbox'

FIELD_TYPE_TYPED_STRING

public mixed FIELD_TYPE_TYPED_STRING = 'typed_string'

MULTI_FIELD_WITH_TYPE_CHOICE_CLASS_LIST

public mixed MULTI_FIELD_WITH_TYPE_CHOICE_CLASS_LIST = [\CCrmFieldMulti::PHONE => '\Bitrix\Crm\FieldSynchronizer\Phone', \CCrmFieldMulti::EMAIL => '\Bitrix\Crm\FieldSynchronizer\Email']

Methods

getCrmFieldType()

public static getCrmFieldType(mixed $property) : mixed
Parameters
$property : mixed

getEntityMap()

public static getEntityMap([mixed $entityTypeName = null ]) : mixed
Parameters
$entityTypeName : mixed = null

getEntityMapCommonExcludedFields()

public static getEntityMapCommonExcludedFields() : mixed

getFieldCaption()

public static getFieldCaption(mixed $entityName, mixed $fieldId) : mixed
Parameters
$entityName : mixed
$fieldId : mixed

getFieldFullCode()

public static getFieldFullCode(mixed $field) : mixed
Parameters
$field : mixed

getFields()

public static getFields(mixed $personTypeId) : mixed
Parameters
$personTypeId : mixed

getFieldsByCode()

public static getFieldsByCode(mixed $personTypeId) : mixed
Parameters
$personTypeId : mixed

getFieldsTree()

public static getFieldsTree(mixed $personTypeId[, mixed $entityName = '' ]) : mixed
Parameters
$personTypeId : mixed
$entityName : mixed = ''

getOrderFieldsDescription()

public static getOrderFieldsDescription(mixed $personTypeId) : mixed
Parameters
$personTypeId : mixed

getOrderPropertyName()

public static getOrderPropertyName(mixed $code[, mixed $id = null ]) : mixed
Parameters
$code : mixed
$id : mixed = null

getSaleFieldType()

public static getSaleFieldType(mixed $crmType) : mixed
Parameters
$crmType : mixed

onAfterSetEnumValues()

public static onAfterSetEnumValues(mixed $ufId[, mixed $items = [] ]) : mixed
Parameters
$ufId : mixed
$items : mixed = []

prepareFiles()

public static prepareFiles(mixed &$prepared, mixed $field) : mixed
Parameters
$prepared : mixed
$field : mixed

prepareToDeactivate()

public static prepareToDeactivate(mixed $field) : mixed
Parameters
$field : mixed

save()

public static save(mixed $personTypeId, mixed $fields[, mixed $relations = [] ]) : mixed
Parameters
$personTypeId : mixed
$fields : mixed
$relations : mixed = []

updateDuplicateMode()

public static updateDuplicateMode(mixed $personTypeId, mixed $duplicateMode) : mixed
Parameters
$personTypeId : mixed
$duplicateMode : mixed

        
On this page

Search results