BasketHelper
Table of Contents
Methods
-
delete()
: bool
-
doGetUserShoppingCart()
: mixed
-
getList()
: CDBResult
-
update()
: bool
delete()
public
static delete(mixed $id) : bool
Parameters
-
$id
: mixed
-
-
throws
-
ArgumentException
-
throws
-
ArgumentNullException
-
throws
-
ObjectNotFoundException
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>
= []
-
update()
public
static update(mixed $id, mixed $fields) : bool
Parameters
-
$id
: mixed
-
-
$fields
: mixed
-
-
throws
-
ArgumentException
-
throws
-
ArgumentNullException
-
throws
-
ArgumentTypeException
-
throws
-
ObjectNotFoundException