Bitrix API

BasketBuilder implements IteratorAggregate, Countable

Table of Contents

Interfaces

IteratorAggregate
Countable

Methods

__construct()  : mixed
add()  : self
clear()  : self
count()  : int
createItem()  : BasketItem
getFormattedItems()  : array<string|int, mixed>
getItemById()  : BasketItem|null
getItemBySkuId()  : BasketItem|null
getIterator()  : ArrayIterator
getJsObject()  : string
loadItemBySkuId()  : BasketItem|null
loadItemsBySkuIds()  : self
setItem()  : self

Methods

getFormattedItems()

public getFormattedItems() : array<string|int, mixed>
Return values
array<string|int, mixed>

getIterator()

public getIterator() : ArrayIterator
Return values
ArrayIterator

getJsObject()

public getJsObject() : string
Return values
string

loadItemsBySkuIds()

public loadItemsBySkuIds(array<string|int, mixed> $ids) : self
Parameters
$ids : array<string|int, mixed>
Return values
self

        
On this page

Search results