CIBlockPriceTools
Table of Contents
Methods
- CanBuy() : bool
- CheckProductProperties() : mixed
- checkPropDirectory() : mixed
- clearProperties() : mixed
- disableCalculationDiscounts() : mixed
- enableCalculationDiscounts() : mixed
- GetAllowCatalogPrices() : array<string|int, mixed>
- GetCatalogPrices() : array<string|int, mixed>
- GetDefaultMeasure() : array<string|int, mixed>|null
- getDoublePicturesForItem() : mixed
- getFillProductProperties() : mixed
- GetItemPrices() : mixed
- getLabel() : mixed
- getMinPriceFromList() : mixed
- getMinPriceFromOffers() : mixed
- GetOfferProperties() : mixed
- GetOffersArray() : mixed
- GetOffersIBlock() : mixed
- GetProductProperties() : mixed
- getSliderForItem() : mixed
- getTreeProperties() : mixed
- getTreePropertyValues() : mixed
- isEnabledCalculationDiscounts() : mixed
- SetCatalogDiscountCache() : mixed
- setRatioMinPrice() : mixed
Methods
CanBuy()
public
static CanBuy(int $IBLOCK_ID, array<string|int, mixed> $arCatalogPrices, array<string|int, mixed> $arItem) : bool
Parameters
- $IBLOCK_ID : int
- $arCatalogPrices : array<string|int, mixed>
- $arItem : array<string|int, mixed>
Return values
boolCheckProductProperties()
public
static CheckProductProperties(mixed $iblockID, mixed $elementID, mixed $propertiesList, mixed $propertiesValues[, mixed $enablePartialList = false ]) : mixed
Parameters
- $iblockID : mixed
- $elementID : mixed
- $propertiesList : mixed
- $propertiesValues : mixed
- $enablePartialList : mixed = false
checkPropDirectory()
public
static checkPropDirectory(mixed &$property[, mixed $getPropInfo = false ]) : mixed
Parameters
- $property : mixed
- $getPropInfo : mixed = false
clearProperties()
public
static clearProperties(mixed &$properties, mixed $clearCodes) : mixed
Parameters
- $properties : mixed
- $clearCodes : mixed
disableCalculationDiscounts()
public
static disableCalculationDiscounts() : mixed
enableCalculationDiscounts()
public
static enableCalculationDiscounts() : mixed
GetAllowCatalogPrices()
public
static GetAllowCatalogPrices(array<string|int, mixed> $arPriceTypes) : array<string|int, mixed>
Parameters
- $arPriceTypes : array<string|int, mixed>
Return values
array<string|int, mixed>GetCatalogPrices()
public
static GetCatalogPrices(int $IBLOCK_ID, array<string|int, mixed> $arPriceCode) : array<string|int, mixed>
Parameters
- $IBLOCK_ID : int
- $arPriceCode : array<string|int, mixed>
Tags
Return values
array<string|int, mixed>GetDefaultMeasure()
public
static GetDefaultMeasure() : array<string|int, mixed>|null
since 14.5.0
Tags
Return values
array<string|int, mixed>|nullgetDoublePicturesForItem()
public
static getDoublePicturesForItem(mixed &$item, mixed $propertyCode[, mixed $encode = true ]) : mixed
Parameters
- $item : mixed
- $propertyCode : mixed
- $encode : mixed = true
getFillProductProperties()
public
static getFillProductProperties(mixed $productProps) : mixed
Parameters
- $productProps : mixed
GetItemPrices()
public
static GetItemPrices(mixed $IBLOCK_ID, mixed $arCatalogPrices, mixed $arItem[, mixed $bVATInclude = true ][, mixed $arCurrencyParams = array() ][, mixed $USER_ID = 0 ][, mixed $LID = \SITE_ID ]) : mixed
Parameters
- $IBLOCK_ID : mixed
- $arCatalogPrices : mixed
- $arItem : mixed
- $bVATInclude : mixed = true
- $arCurrencyParams : mixed = array()
- $USER_ID : mixed = 0
- $LID : mixed = \SITE_ID
getLabel()
public
static getLabel(mixed &$item, mixed $propertyCode) : mixed
Parameters
- $item : mixed
- $propertyCode : mixed
getMinPriceFromList()
public
static getMinPriceFromList(mixed $priceList) : mixed
Parameters
- $priceList : mixed
getMinPriceFromOffers()
public
static getMinPriceFromOffers(mixed &$offers, mixed $currency[, mixed $replaceMinPrice = true ]) : mixed
Parameters
- $offers : mixed
- $currency : mixed
- $replaceMinPrice : mixed = true
GetOfferProperties()
public
static GetOfferProperties(mixed $offerID, mixed $iblockID, mixed $propertiesList[, mixed $skuTreeProps = '' ]) : mixed
Parameters
- $offerID : mixed
- $iblockID : mixed
- $propertiesList : mixed
- $skuTreeProps : mixed = ''
GetOffersArray()
public
static GetOffersArray(mixed $arFilter, mixed $arElementID, mixed $arOrder, mixed $arSelectFields, mixed $arSelectProperties, mixed $limit, mixed $arPrices, mixed $vat_include[, mixed $arCurrencyParams = array() ][, mixed $USER_ID = 0 ][, mixed $LID = \SITE_ID ]) : mixed
Parameters
- $arFilter : mixed
- $arElementID : mixed
- $arOrder : mixed
- $arSelectFields : mixed
- $arSelectProperties : mixed
- $limit : mixed
- $arPrices : mixed
- $vat_include : mixed
- $arCurrencyParams : mixed = array()
- $USER_ID : mixed = 0
- $LID : mixed = \SITE_ID
GetOffersIBlock()
public
static GetOffersIBlock(mixed $IBLOCK_ID) : mixed
Parameters
- $IBLOCK_ID : mixed
GetProductProperties()
public
static GetProductProperties(mixed $IBLOCK_ID, mixed $ELEMENT_ID, mixed $arPropertiesList, mixed $arPropertiesValues) : mixed
Parameters
- $IBLOCK_ID : mixed
- $ELEMENT_ID : mixed
- $arPropertiesList : mixed
- $arPropertiesValues : mixed
getSliderForItem()
public
static getSliderForItem(mixed &$item, mixed $propertyCode, mixed $addDetailToSlider[, mixed $encode = true ]) : mixed
Parameters
- $item : mixed
- $propertyCode : mixed
- $addDetailToSlider : mixed
- $encode : mixed = true
getTreeProperties()
public
static getTreeProperties(mixed $skuInfo, mixed $propertiesCodes[, mixed $defaultFields = array() ]) : mixed
Parameters
- $skuInfo : mixed
- $propertiesCodes : mixed
- $defaultFields : mixed = array()
getTreePropertyValues()
public
static getTreePropertyValues(mixed &$propList, mixed &$propNeedValues) : mixed
Parameters
- $propList : mixed
- $propNeedValues : mixed
isEnabledCalculationDiscounts()
public
static isEnabledCalculationDiscounts() : mixed
SetCatalogDiscountCache()
public
static SetCatalogDiscountCache(mixed $arCatalogGroups, mixed $arUserGroups[, mixed $siteId = false ]) : mixed
Parameters
- $arCatalogGroups : mixed
- $arUserGroups : mixed
- $siteId : mixed = false
setRatioMinPrice()
public
static setRatioMinPrice(mixed &$item[, mixed $replaceMinPrice = false ]) : mixed
Parameters
- $item : mixed
- $replaceMinPrice : mixed = false