Bitrix API

Manager

FinalYes

Table of Contents

Methods

getFirstPredictionTextByProduct()  : string|null
Returns first prediction which has user by current basket.
getInstance()  : Manager
Returns Singleton of Manager
getUserId()  : int
setUserId()  : $this

Methods

getFirstPredictionTextByProduct()

Returns first prediction which has user by current basket.

public getFirstPredictionTextByProduct(Basket $basket, array<string|int, mixed> $product[, array<string|int, mixed> $options = [] ]) : string|null
Parameters
$basket : Basket

Basket.

$product : array<string|int, mixed>

Target product.

$options : array<string|int, mixed> = []

Config.

Tags
throws
SystemException
Return values
string|null

getUserId()

public getUserId() : int
Return values
int

setUserId()

public setUserId(int $userId) : $this
Parameters
$userId : int
Return values
$this

        
On this page

Search results