• Модуль: pull
  • Путь к файлу: ~/bitrix/modules/pull/classes/general/pull_options.php
  • Класс: CPullOptions
  • Вызов: CPullOptions::GetPublishWebUrl
static function GetPublishWebUrl($channelId = "")
{
	if (!is_array($channelId) && $channelId <> '')
		$channelId = Array($channelId);
	else if (!is_array($channelId))
		$channelId = Array();

	$optionName = "path_to_publish_web";
	$url = COption::GetOptionString("pull", $optionName, self::GetDefaultOption($optionName)).(count($channelId)>0?'?CHANNEL_ID='.implode('/', $channelId):'');

	return $url;
}