Documentation

EntityMerger

EntityMerger base class, responsible for merging entity fields.

Class methods

MethodDescription Available from version
createCreates new entity type with specified ID by merging.
enabledPermissionCheckEnables or disables access permission check.
getEntityTypeIDGets entity type ID.
getEntityTypeNameGets name for entity type.
getMergeCollisionsGets possible field matches when merging entity.
getUserIDGets user ID.
getUserNameGets user name.
isAdminUserChecks if user has administrative privileges.
isMergableChecks if entity merging is possible.
isPermissionCheckEnabledChecks if access permission check is enabled for merging of entity fields.
isRoleDefinedDefines, if role ID is defined.
mergeMerges entities.
mergeFieldsMerges fields. When value is missing in target field, it will be copied from source field.
registerCriterionMismatchRegisters mismatch in criteria duplicates.
setUserIDSets user ID.




© «Bitrix24», 2001-2024