Bitrix API

BasketXmlId

Basket item XML_ID builder and resolver.

Table of Contents

Constants

PREFIX  = 'crm_pr_'

Methods

getRowIdFromXmlId()  : int|null
Get ROW_ID from the XML_ID of the basket item.
getXmlIdFromRowId()  : string|null
Get XML_ID from the ROW_ID crm product row.

Constants

Methods

getRowIdFromXmlId()

Get ROW_ID from the XML_ID of the basket item.

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

getXmlIdFromRowId()

Get XML_ID from the ROW_ID crm product row.

public static getXmlIdFromRowId(int $rowId) : string|null
Parameters
$rowId : int
Return values
string|null

        
On this page

Search results