Documentation

register

void public static
\Bitrix\Crm\Integration\Channel\ActivityChannelBinding::register(
 integer $ID,
 \Bitrix\Crm\Integration\Channel\ChannelType $typeID,
 array $params = null
);

Method binding registers to channel for specified activity. Static method.

Parameters

ParameterDescriptionVersion
$IDActivity ID.
$typeIDChannel type ID.
$paramsArray with binding parameters. For example, ORIGIN_ID и COMPONENT_ID.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024
Up