Метод isItemShouldBeSkipped
Сигнатура метода
protected function isItemShouldBeSkipped(Factory $factory, Item $item, PreparedData $data): bool
Возвращает:
bool
Описание
Is item should be skipped since there is no sense in processing it. For example, if this action changes item stage, and item is already at that stage, there is no sense processing it. Note that this method should not check permissions or data correctness. Its designed only for performance optimization to skip unneeded work
Параметры
3| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$factory
|
Factory
|
—
|
—
|
$item
|
Item
|
—
|
—
|
$data
|
PreparedData
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/controller/autorun/base.php
Расположение метода в файле
Строки
512–515