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
FIELD_TYPE_ADDRESS
public
mixed
FIELD_TYPE_ADDRESS
= 'address'
FIELD_TYPE_CHECKBOX
public
mixed
FIELD_TYPE_CHECKBOX
= 'checkbox'
FIELD_TYPE_DATE
public
mixed
FIELD_TYPE_DATE
= 'date'
FIELD_TYPE_DATETIME
public
mixed
FIELD_TYPE_DATETIME
= 'datetime'
FIELD_TYPE_EMAIL
public
mixed
FIELD_TYPE_EMAIL
= 'email'
FIELD_TYPE_FILE
public
mixed
FIELD_TYPE_FILE
= 'file'
FIELD_TYPE_FLOAT
public
mixed
FIELD_TYPE_FLOAT
= 'double'
FIELD_TYPE_INT
public
mixed
FIELD_TYPE_INT
= 'integer'
FIELD_TYPE_LIST
public
mixed
FIELD_TYPE_LIST
= 'list'
FIELD_TYPE_LIST_CHECKBOX
public
mixed
FIELD_TYPE_LIST_CHECKBOX
= 'listCheckbox'
FIELD_TYPE_LOCATION
public
mixed
FIELD_TYPE_LOCATION
= 'location'
FIELD_TYPE_PHONE
public
mixed
FIELD_TYPE_PHONE
= 'phone'
FIELD_TYPE_RADIO
public
mixed
FIELD_TYPE_RADIO
= 'radio'
FIELD_TYPE_STRING
public
mixed
FIELD_TYPE_STRING
= 'string'
FIELD_TYPE_TEXT
public
mixed
FIELD_TYPE_TEXT
= 'text'
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']
getCrmFieldType()
public
static getCrmFieldType(mixed $property) : mixed
Parameters
-
$property
: mixed
-
getDefaultCountryId()
public
static getDefaultCountryId() : mixed
getDeliveryRelations()
public
static getDeliveryRelations() : 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
= ''
-
getFieldStringTypes()
public
static getFieldStringTypes() : 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
-
getPaySystemRelations()
public
static getPaySystemRelations() : mixed
getRequisitePresetsInfo()
public
static getRequisitePresetsInfo() : mixed
getSaleFieldType()
public
static getSaleFieldType(mixed $crmType) : mixed
Parameters
-
$crmType
: mixed
-
getTypeList()
public
static getTypeList() : 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
-