Метод internalSetAsChanged

public

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

public function internalSetAsChanged(string $fieldName, mixed $value): static

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

Описание

Assigns the field the way {@see self::internalSet()} does and says it is to be written all the same. The one caller of it is the step publishing the event before an update: what a subscriber of that event changed has to reach the row, and an update writes only the fields marked as changed - while the value itself has to go in through the hydration path, because the shapes coming back off a legacy field array do not fit the setters, one of which refuses the assignment outright.

Параметры

2
Имя Тип По умолчанию Флаги
$fieldName string —
—
$value mixed —
—

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

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

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/V2/Internal/Entity/Activity/Activity.php
Расположение метода в файле
Строки 136–142

Исходный код

PHP