Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс OrderBasket
+ Граф наследования:OrderBasket:

Открытые члены

 __construct (Order $order, $jsObjName="", $idPrefix="", $createProductBasement=true, $mode=self::EDIT_MODE)
 
 setSettingsShowPropsVisible (bool $isVisible)
 
 getEdit ($defTails=false)
 
 getTotalHtml ($needRecalculate=true)
 
 getCouponsHtml ($mode, $needRecalculate=true)
 
 getView ($index=0)
 
 getScripts ($defTails=false)
 
 getOffersSkuParams (array $productsParams, array $visibleColumns=array())
 
 getSettingsDialogContent ()
 
 getPrices ($discounts=null)
 

Открытые статические члены

static getBasePrice (Order $order)
 
static getOffersSkuParamsMode (array $productsParams, array $visibleColumns=array(), $mode=0)
 
static getProductDetails ($productId, $quantity, $userId, $siteId, array $columns=array())
 
static getProductsData (array $productsIds, $siteId, array $fields=array(), $userId=0)
 
static loadVisibleColumns ($idPrefix)
 
static getProductEditDialogHtml ($currency, $objName)
 
static getCatalogMeasures ()
 
static getDefaultMeasures ()
 

Открытые атрибуты

 $settingsDialog = null
 
const VIEW_MODE = 0
 
const EDIT_MODE = 1
 

Защищенные члены

 getTotalBlockFieldsJs ($totalPrices, $data)
 
 getOffersIds ($productId, array $products)
 
 getVisibleColumns ($idPrefix)
 

Защищенные статические члены

static getPropsParams ($iblockId, array $visibleColumns=array(), array $iblockPropsUsed=array())
 
static getPropsFromOffers2 (array $items, array $existOffers)
 
static getSkuProps ($flagAll, $iblockId)
 
static getOffersCatalog ($iblockId)
 
static getPropsList ($iblockId, $skuPropertyId=0)
 
static filterProps (&$props)
 
static getDefaultVisibleColumns ()
 

Защищенные данные

 $order = null
 
 $data = null
 
 $dataLight = null
 
 $jsObjName = ""
 
 $idPrefix = ""
 
 $visibleColumns = array()
 
 $createProductBasement = true
 
 $mode
 
 $weightUnit
 
 $weightKoef
 
 $isShowXmlId
 

Статические защищенные данные

static $jsInited = false
 
static $arSkuProps = array()
 
static $offersCatalog = array()
 
static $iblockPropsParams = array()
 
static $iblockPropsParamsOrder = array()
 
static $productsOffersSkuParams = array()
 
static $iblockIncluded = null
 
static $catalogIncluded = null
 
static $highloadIncluded = null
 

Подробное описание

См. определение в файле orderbasket.php строка 22

Конструктор(ы)

◆ __construct()

__construct ( Order $order,
$jsObjName = "",
$idPrefix = "",
$createProductBasement = true,
$mode = self::EDIT_MODE )

Переопределяется в PresetBasket.

См. определение в файле orderbasket.php строка 53

Методы

◆ filterProps()

static filterProps ( & $props)
staticprotected

См. определение в файле orderbasket.php строка 1248

◆ getBasePrice()

static getBasePrice ( Order $order)
static

См. определение в файле orderbasket.php строка 199

◆ getCatalogMeasures()

static getCatalogMeasures ( )
static

См. определение в файле orderbasket.php строка 1455

◆ getCouponsHtml()

getCouponsHtml ( $mode,
$needRecalculate = true )

См. определение в файле orderbasket.php строка 292

◆ getDefaultMeasures()

static getDefaultMeasures ( )
static

См. определение в файле orderbasket.php строка 1460

◆ getDefaultVisibleColumns()

static getDefaultVisibleColumns ( )
staticprotected

Переопределяется в OrderBasketShipment и PresetBasket.

См. определение в файле orderbasket.php строка 1272

◆ getEdit()

getEdit ( $defTails = false)
Аргументы
bool | false$defTails
Возвращает
string
Исключения
Main

ArgumentNullException

Переопределяется в OrderBasketShipment и PresetBasket.

См. определение в файле orderbasket.php строка 97

◆ getOffersCatalog()

static getOffersCatalog ( $iblockId)
staticprotected

См. определение в файле orderbasket.php строка 1197

◆ getOffersIds()

getOffersIds ( $productId,
array $products )
protected
Аргументы
int$productId
array$products
Возвращает
array

См. определение в файле orderbasket.php строка 563

◆ getOffersSkuParams()

getOffersSkuParams ( array $productsParams,
array $visibleColumns = array() )

См. определение в файле orderbasket.php строка 578

◆ getOffersSkuParamsMode()

static getOffersSkuParamsMode ( array $productsParams,
array $visibleColumns = array(),
$mode = 0 )
static
Аргументы
array$productsParams
array$visibleColumns
int$mode
Возвращает
array
Исключения
Main

LoaderException

См. определение в файле orderbasket.php строка 590

◆ getPrices()

getPrices ( $discounts = null)

См. определение в файле orderbasket.php строка 2150

◆ getProductDetails()

static getProductDetails ( $productId,
$quantity,
$userId,
$siteId,
array $columns = array() )
static
Аргументы
int$productId
int$quantity
int$userId
string$siteId
array$columns
Возвращает
array
Исключения
SystemException

См. определение в файле orderbasket.php строка 803

◆ getProductEditDialogHtml()

static getProductEditDialogHtml ( $currency,
$objName )
static

См. определение в файле orderbasket.php строка 1354

◆ getProductsData()

static getProductsData ( array $productsIds,
$siteId,
array $fields = array(),
$userId = 0 )
static
Аргументы
int[]$productsIds
string$siteId
array$fields
int$userId
Возвращает
array
Исключения
Main

ArgumentNullException

См. определение в файле orderbasket.php строка 860

◆ getPropsFromOffers2()

static getPropsFromOffers2 ( array $items,
array $existOffers )
staticprotected

$propParams["~VALUE"] ||

См. определение в файле orderbasket.php строка 1111

◆ getPropsList()

static getPropsList ( $iblockId,
$skuPropertyId = 0 )
staticprotected

См. определение в файле orderbasket.php строка 1210

◆ getPropsParams()

static getPropsParams ( $iblockId,
array $visibleColumns = array(),
array $iblockPropsUsed = array() )
staticprotected

См. определение в файле orderbasket.php строка 896

◆ getScripts()

getScripts ( $defTails = false)
Аргументы
bool | false$defTailsdeferred or not loading of tails.
Возвращает
string
Исключения
Main

ArgumentNullException

Переопределяется в PresetBasket и OrderBasketShipment.

См. определение в файле orderbasket.php строка 387

◆ getSettingsDialogContent()

getSettingsDialogContent ( )

См. определение в файле orderbasket.php строка 1262

◆ getSkuProps()

static getSkuProps ( $flagAll,
$iblockId )
staticprotected

См. определение в файле orderbasket.php строка 1187

◆ getTotalBlockFieldsJs()

getTotalBlockFieldsJs ( $totalPrices,
$data )
protected

См. определение в файле orderbasket.php строка 510

◆ getTotalHtml()

getTotalHtml ( $needRecalculate = true)

См. определение в файле orderbasket.php строка 204

◆ getView()

getView ( $index = 0)
Аргументы
int$index
Возвращает
string

Переопределяется в OrderBasketShipment.

См. определение в файле orderbasket.php строка 339

◆ getVisibleColumns()

getVisibleColumns ( $idPrefix)
protected

См. определение в файле orderbasket.php строка 1285

◆ loadVisibleColumns()

static loadVisibleColumns ( $idPrefix)
static

См. определение в файле orderbasket.php строка 1267

◆ setSettingsShowPropsVisible()

setSettingsShowPropsVisible ( bool $isVisible)

См. определение в файле orderbasket.php строка 86

Данные класса

◆ $arSkuProps

$arSkuProps = array()
staticprotected

См. определение в файле orderbasket.php строка 25

◆ $catalogIncluded

$catalogIncluded = null
staticprotected

См. определение в файле orderbasket.php строка 47

◆ $createProductBasement

$createProductBasement = true
protected

См. определение в файле orderbasket.php строка 40

◆ $data

$data = null
protected

См. определение в файле orderbasket.php строка 35

◆ $dataLight

$dataLight = null
protected

См. определение в файле orderbasket.php строка 36

◆ $highloadIncluded

$highloadIncluded = null
staticprotected

См. определение в файле orderbasket.php строка 48

◆ $iblockIncluded

$iblockIncluded = null
staticprotected

См. определение в файле orderbasket.php строка 46

◆ $iblockPropsParams

$iblockPropsParams = array()
staticprotected

См. определение в файле orderbasket.php строка 27

◆ $iblockPropsParamsOrder

$iblockPropsParamsOrder = array()
staticprotected

См. определение в файле orderbasket.php строка 28

◆ $idPrefix

$idPrefix = ""
protected

См. определение в файле orderbasket.php строка 38

◆ $isShowXmlId

$isShowXmlId
protected

См. определение в файле orderbasket.php строка 44

◆ $jsInited

$jsInited = false
staticprotected

См. определение в файле orderbasket.php строка 24

◆ $jsObjName

$jsObjName = ""
protected

См. определение в файле orderbasket.php строка 37

◆ $mode

$mode
protected

См. определение в файле orderbasket.php строка 41

◆ $offersCatalog

$offersCatalog = array()
staticprotected

См. определение в файле orderbasket.php строка 26

◆ $order

Order $order = null
protected

См. определение в файле orderbasket.php строка 34

◆ $productsOffersSkuParams

$productsOffersSkuParams = array()
staticprotected

См. определение в файле orderbasket.php строка 29

◆ $settingsDialog

$settingsDialog = null

См. определение в файле orderbasket.php строка 31

◆ $visibleColumns

$visibleColumns = array()
protected

См. определение в файле orderbasket.php строка 39

◆ $weightKoef

$weightKoef
protected

См. определение в файле orderbasket.php строка 43

◆ $weightUnit

$weightUnit
protected

См. определение в файле orderbasket.php строка 42

◆ EDIT_MODE

const EDIT_MODE = 1

См. определение в файле orderbasket.php строка 51

◆ VIEW_MODE

const VIEW_MODE = 0

См. определение в файле orderbasket.php строка 50