Метод applyAfterUpdate

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу строки 306–328
~/bitrix/modulesim/lib/model/chat.php

Исходный код

PHP
protected static

Сигнатура метода

protected static function applyAfterUpdate(int $chatId, array $fields): void

Возвращает: void

Описание

What an update of a chat row owes besides the row itself: the chat cache, the state of the instances already loaded by this request and the entry in the sync log. All three hang on the update event, so a write that cannot go through update() would silently skip them - hence one implementation with two callers instead of a copy of this handler next to every such write.

Параметры

2
Имя Тип По умолчанию Флаги
$chatId int -
-
$fields array -
-