Documentation

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

ParameterDescriptionVersion
$entityTypeIDEntity type ID.
$currentUserIDCurrent user ID.
$enablePermissionCheckAccess permission flag.

Example



© «Bitrix24», 2001-2024