• Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/classes/general/calendar_sect.php
  • Класс: CCalendarSect
  • Вызов: CCalendarSect::GetExportLink
static function GetExportLink($sectionId, $type = '', $ownerId = null)
{
	$userId = CCalendar::getCurUserId();
	$ownerId = (int)$ownerId;
	$path = Util::getPathToCalendar($ownerId, $type);

	return '&type='.mb_strtolower($type)
			.'&owner='.$ownerId
			.'&ncc=1&user='.$userId
			.'&'.'sec_id='.(int)$sectionId
			.'&sign='.self::getSign($userId, $sectionId)
			.'&bx_hit_hash='.self::getAuthHash($userId, $path);
}