getExistsItem
\Bitrix\Sale\BasketItemCollection::getExistsItem($moduleId, $productId, array $properties = array());
Method returns item from collection (or null
). Non-static method.
Returns created element.
Parameters
Parameter | Description | Version |
---|---|---|
$moduleId | Module ID. | |
$productId | Item PRODUCT_ID. | |
$properties | Array with properties. Empty array by default. Optional. |
Example
© «Bitrix24», 2001-2024