Documentation

createTarget

\Bitrix\Crm\Automation\Target\BaseTarget public static
\Bitrix\Crm\Automation\Factory::createTarget(
 integer $entityTypeId
);

Method creates target instance by entity type. Non-static method.

Parameters

ParameterDescriptionVersion
$entityTypeIdEntity type from \CCrmOwnerType.

Exceptions

  • \Bitrix\Main\NotSupportedException

Example



© «Bitrix24», 2001-2024