Documentation

synchronize

void public static
\Bitrix\Crm\Synchronization\UserFieldSynchronizer::synchronize(
 integer $srcEntityTypeID,
 integer $dstEntityTypeID,
 string $languageID = ''
);

Method synchronizes source fields with target fields. Detected matches are compared by field names.

When source field is not found in target entity, creates it within target entity. Static method.

Parameters

ParameterDescriptionVersion
$srcEntityTypeIDSource entity type ID.
$dstEntityTypeIDTarget entity type ID.
$languageIDLanguage ID.

Example



© «Bitrix24», 2001-2025
Up