Метод processAfterSave
Сигнатура метода
public function processAfterSave(Item $itemBeforeSave, Item $item, Context $context = null): FieldAfterSaveResult
Возвращает:
FieldAfterSaveResult
Описание
This method process some additional logic of this field that should be invoked after saving. Return object that may have some new values for $item that should be saved separately. This method should not perform changing of $item, only some related data.
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$itemBeforeSave
|
Item
|
—
|
—
|
$item
|
Item
|
—
|
—
|
$context
|
Context
|
null
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/field.php
Расположение метода в файле
Строки
143–146