Bitrix API

BasketHelper

Table of Contents

Methods

delete()  : bool
doGetUserShoppingCart()  : mixed
getList()  : CDBResult
update()  : bool

Methods

delete()

public static delete(mixed $id) : bool
Parameters
$id : mixed
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ObjectNotFoundException
Return values
bool

doGetUserShoppingCart()

public static doGetUserShoppingCart(mixed $siteId, mixed $userId, mixed $shoppingCart, mixed &$errors[, mixed $orderId = 0 ][, mixed $enableCustomCurrency = false ]) : mixed
Parameters
$siteId : mixed
$userId : mixed
$shoppingCart : mixed
$errors : mixed
$orderId : mixed = 0
$enableCustomCurrency : mixed = false

getList()

public static getList([array<string|int, mixed> $order = [] ][, array<string|int, mixed> $filter = [] ][, bool $group = false ][, bool $navStartParams = false ][, array<string|int, mixed> $select = [] ]) : CDBResult
Parameters
$order : array<string|int, mixed> = []
$filter : array<string|int, mixed> = []
$group : bool = false
$navStartParams : bool = false
$select : array<string|int, mixed> = []
Return values
CDBResult

update()

public static update(mixed $id, mixed $fields) : bool
Parameters
$id : mixed
$fields : mixed
Tags
throws
ArgumentException
throws
ArgumentNullException
throws
ArgumentTypeException
throws
ObjectNotFoundException
Return values
bool

        
On this page

Search results