Bitrix API

ProductRowXmlId

Builder and resolver `XML_ID` of basket item for product row.

Table of Contents

Methods

getBasketIdFromXmlId()  : int|null
Get BASKET_ID from the XML_ID of the product row.
getXmlIdFromBasketId()  : string|null
Get XML_ID from the BASKET_ID.

Methods

getBasketIdFromXmlId()

Get BASKET_ID from the XML_ID of the product row.

public static getBasketIdFromXmlId(string $xmlId) : int|null
Parameters
$xmlId : string
Return values
int|null

getXmlIdFromBasketId()

Get XML_ID from the BASKET_ID.

public static getXmlIdFromBasketId(int $basketId) : string|null
Parameters
$basketId : int
Return values
string|null

        
On this page

Search results