• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/classes/general/pull_stack.php
  • Класс: CAllPullStack
  • Вызов: CAllPullStack::AddShared
static function AddShared($arMessage, $channelType = 'shared')
{
	try
	{
		$sharedChannel = BitrixPullModelChannel::getShared();
	}
	catch (BitrixMainSystemException $e)
	{
		// BitrixMainApplication::getInstance()->getExceptionHandler()->writeToLog($e);
		return false;
	}

	return BitrixPullEvent::add(
		$sharedChannel,
		$arMessage,
		$channelType
	);
}