• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/eventlog/action.php
  • Класс: BitrixMainEventLogAction
  • Вызов: Action::send
public function send(Notification $notification);

protected static function getNotificationFields(Notification $notification)
{
	return [
		"NAME" => $notification->getName(),
		"AUDIT_TYPE_ID" => $notification->getAuditTypeId(),
		"ITEM_ID" => $notification->getItemId(),
		"USER_ID" => $notification->getUserId(),
		"REMOTE_ADDR" => $notification->getRemoteAddr(),
		"USER_AGENT" => $notification->getUserAgent(),
		"REQUEST_URI" => $notification->getRequestUri(),
		"EVENT_COUNT" => $notification->getEventCount(),
	];
}