D7 API documentation
What's New
Modules
Available fields
New invoices
Composite Identifiers
New CRM API
SPA type preset
Bindings
Client in CRM
Items
create
enabledPermissionCheck
getEntityTypeID
getEntityTypeName
getMergeCollisions
getUserID
getUserName
isAdminUser
isMergable
isPermissionCheckEnabled
isRoleDefined
merge
mergeFields
registerCriterionMismatch
setUserID
create
\Bitrix\Crm\Merger\EntityMerger public static \Bitrix\Crm\Merger\EntityMerger::create( integer $entityTypeID, integer $currentUserID, boolean $enablePermissionCheck = false );
Method creates new entity with specified entity type ID by merging. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$entityTypeID | Entity type ID. | |
$currentUserID | Current user ID. | |
$enablePermissionCheck | Access permission flag. |
Example
© «Bitrix24», 2001-2024
Up