method
public
BasketBase::getExistsItems()
Класс: \Bitrix\Sale\BasketBase
Сигнатура
public getExistsItems(string $moduleId, int $productId[, array<string|int, mixed>|null $properties = [] ]) : array<string|int, BasketItem>
Описание
Получает все элементы корзины для нужных moduleId, productId и свойств.
Параметры
$moduleId
string
$productId
int
$properties
array<string|int, mixed>|null
= []
если NULL — пропускает проверку свойств, даже если они заданы в параметрах и/или элементе корзины.
Возвращаемое значение
array<string|int, BasketItem>
Исходный файл: source/sale/lib/basketbase.php:187

