• Модуль: timeman
  • Путь к файлу: ~/bitrix/modules/timeman/lib/monitor/history/reportcomment.php
  • Класс: BitrixTimemanMonitorHistoryReportComment
  • Вызов: ReportComment::record
static function record($history)
{
	$dateLog = new Date($history['dateLog'], 'Y-m-j');

	return MonitorReportCommentTable::add([
		'DATE_LOG' => $dateLog,
		'USER_ID' => User::getCurrentUserId(),
		'COMMENT' => $history['comment'],
		'DESKTOP_CODE' => $history['desktopCode'],
	]);
}