function GetSPExportLink() { global $USER; $userId = $USER->IsAuthorized() ? $USER->GetID() : ''; return '&user_id=' . $userId . '&sign=' . CCalendarSect::GetSign($userId, 'superposed_calendars'); }
public static function GetSPExportLink() { $userId = CCalendar::GetCurUserId(); return '&user_id=' . $userId . '&sign=' . CCalendarSect::GetSign($userId, 'superposed_calendars'); }