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
Parameter | Description | Version |
---|---|---|
$entityTypeId | Entity type from \CCrmOwnerType. |
Exceptions
- \Bitrix\Main\NotSupportedException
Example
© «Bitrix24», 2001-2024