• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/classes/general/pull_channel.php
  • Класс: CPullChannel
  • Вызов: CPullChannel::SignChannel
static function SignChannel($channelId)
{
	$signatureKey = BitrixPullConfig::getSignatureKey();
	if (!is_string($channelId))
	{
		trigger_error("Channel ID must be the string", E_USER_WARNING);

		return $channelId;
	}
	if ($signatureKey === "")
	{
		return $channelId;
	}

	return $channelId.".".static::GetSignature($channelId);
}