Current Path : /home/bitrix/ext_www/dev.home-comfort.in.ua/bitrix/modules/sale/lib/ |
Current File : /home/bitrix/ext_www/dev.home-comfort.in.ua/bitrix/modules/sale/lib/providerbasketcollection.php |
<?php /** * Bitrix Framework * @package bitrix * @subpackage sale * @copyright 2001-2014 Bitrix */ namespace Bitrix\Sale; use Bitrix\Sale\Internals\EntityCollection; class ProviderBasketCollection extends EntityCollection { public function addBasketItem($provider, ProviderBasketItem $basketItem) { $this->collection[$provider->getId()][$basketItem->getField('BASKET_ID')] = $basketItem; } }