• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/rest.php
  • Класс: BitrixTimemanRest
  • Вызов: Rest::setDayGeoPosition
static function setDayGeoPosition($entryId, $query, $action = 'open')
{
	$updateFields = array(
		'LAT_'.ToUpper($action) => isset($query['LAT']) ? doubleval($query['LAT']) : '',
		'LON_'.ToUpper($action) => isset($query['LON']) ? doubleval($query['LON']) : '',
	);

	CTimeManEntry::Update($entryId, $updateFields);
	static::getUserInstance($query)->GetCurrentInfo(true);
}