method public

EntityCollection::isAnyItemDeleted()

Класс: \Bitrix\Sale\Internals\EntityCollection

Сигнатура

public isAnyItemDeleted() : bool

Возвращаемое значение

bool

Как применяется в EntityCollection

EntityCollection::isAnyItemDeleted() — метод класса \Bitrix\Sale\Internals\EntityCollection модуля «Интернет-магазин».

Метод объекта: сначала нужен экземпляр EntityCollection.

use Bitrix\Main\Loader;
use Bitrix\Sale\Internals\EntityCollection;

Loader::includeModule('sale');

/** @var EntityCollection $object */
$result = $object->isAnyItemDeleted();
// $result: bool

Другие методы EntityCollection

isAnyItemDeleted() есть и у других классов модуля «Интернет-магазин»: Basket, BasketBase, BasketItemCollection, BasketPropertiesCollection, BasketPropertiesCollectionBase, ShipmentCollection, ShipmentItemCollection, ShipmentItemStoreCollection.

Исходный файл: source/sale/lib/internals/entitycollection.php:377

Что будем искать? Например,Продвижение