1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CAllCatalogProduct
Граф наследования:CAllCatalogProduct:
CCatalogProduct

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

static setUsedCurrency ($currency)
static getUsedCurrency ()
static clearUsedCurrency ()
static setPriceVatIncludeMode ($mode)
static getPriceVatIncludeMode ()
static setUseDiscount ($use)
static getUseDiscount ()
static ClearCache ()
static isAvailable ($product)
static IsExistProduct ($intID)
static CheckFields ($ACTION, &$arFields, $ID=0)
static Add ($fields, $checkExist=true)
static Update ($id, $fields)
static Delete ($id)
static ParseQueryBuildField ($field)
static GetByID ($ID)
static GetByIDEx ($ID, $boolAllValues=false)
static QuantityTracer ($ProductID, $DeltaQuantity)
static GetNearestQuantityPrice ($productID, $quantity=1, $arUserGroups=array())
static GetOptimalPrice ($intProductID, $quantity=1, $arUserGroups=array(), $renewal="N", $priceList=array(), $siteID=false, $arDiscountCoupons=false)
static GetOptimalPriceList (array $products, $arUserGroups=array(), $renewal="N", $priceList=array(), $siteID=false, $needCoupons=true)
static CountPriceWithDiscount ($price, $currency, $discounts)
static GetProductSections ($ID)
static OnIBlockElementDelete ($ProductID)
static OnAfterIBlockElementUpdate ($arFields)
static CheckProducts ($arItemIDs)
static GetQueryBuildArrays ($order, $filter, $select)
static GetTimePeriodTypes ($boolFull=false)

Поля данных

const TYPE_PRODUCT = Catalog\ProductTable::TYPE_PRODUCT
const TYPE_SET = Catalog\ProductTable::TYPE_SET
const TYPE_SKU = Catalog\ProductTable::TYPE_SKU
const TYPE_OFFER = Catalog\ProductTable::TYPE_OFFER
const TYPE_FREE_OFFER = Catalog\ProductTable::TYPE_FREE_OFFER
const TYPE_EMPTY_SKU = Catalog\ProductTable::TYPE_EMPTY_SKU
const TIME_PERIOD_HOUR = Catalog\ProductTable::PAYMENT_PERIOD_HOUR
const TIME_PERIOD_DAY = Catalog\ProductTable::PAYMENT_PERIOD_DAY
const TIME_PERIOD_WEEK = Catalog\ProductTable::PAYMENT_PERIOD_WEEK
const TIME_PERIOD_MONTH = Catalog\ProductTable::PAYMENT_PERIOD_MONTH
const TIME_PERIOD_QUART = Catalog\ProductTable::PAYMENT_PERIOD_QUART
const TIME_PERIOD_SEMIYEAR = Catalog\ProductTable::PAYMENT_PERIOD_SEMIYEAR
const TIME_PERIOD_YEAR = Catalog\ProductTable::PAYMENT_PERIOD_YEAR
const TIME_PERIOD_DOUBLE_YEAR = Catalog\ProductTable::PAYMENT_PERIOD_DOUBLE_YEAR

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

static __PrimaryDiscountFilter (&$arDiscount, &$arPriceDiscount, &$arDiscSave, &$arParams)
static __CalcOnePriority (&$arDiscounts, &$arResultDiscount, &$arParams)
static __CalcDiscSave (&$arDiscSave, &$arResultDiscount, &$arParams)
static getQueryBuildCurrencyScale ($filter, $priceTypeId)
static getQueryBuildPriceScaled ($prices, $scale)
static initSaleSettings ()

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

static $arProductCache = array()
static $usedCurrency = null
static $optimalPriceWithVat = true
static $useDiscount = true
static $saleIncluded = null
static $useSaleDiscount = null
static $vatCache = array()

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

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

Методы

◆ __CalcDiscSave()

__CalcDiscSave ( & $arDiscSave,
& $arResultDiscount,
& $arParams )
staticprotected
См. также
CCatalogDiscount\applyDiscountList()
CCatalogDiscount\calculateDiscSave()
Аргументы
array&$arDiscSave
array&$arResultDiscount
array&$arParams
Возвращает
bool

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

◆ __CalcOnePriority()

__CalcOnePriority ( & $arDiscounts,
& $arResultDiscount,
& $arParams )
staticprotected
См. также
CCatalogDiscount\applyDiscountList()
CCatalogDiscount\calculatePriorityLevel()
Аргументы
array&$arDiscounts
array&$arResultDiscount
array&$arParams
Возвращает
bool

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

◆ __PrimaryDiscountFilter()

__PrimaryDiscountFilter ( & $arDiscount,
& $arPriceDiscount,
& $arDiscSave,
& $arParams )
staticprotected
См. также
CCatalogDiscount\applyDiscountList()
CCatalogDiscount\primaryDiscountFilter()
Аргументы
array&$arDiscount
array&$arPriceDiscount
array&$arDiscSave
array&$arParams
Возвращает
void

@noinspection PhpUnusedLocalVariableInspection

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

◆ Add()

Add ( $fields,
$checkExist = true )
static
См. также
\Bitrix\Catalog\Model\Product::add
Аргументы
array$fields
bool$checkExist
Возвращает
bool

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

◆ CheckFields()

CheckFields ( $ACTION,
& $arFields,
$ID = 0 )
static

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

◆ CheckProducts()

CheckProducts ( $arItemIDs)
static

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

◆ ClearCache()

ClearCache ( )
static
Возвращает
void

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

◆ clearUsedCurrency()

clearUsedCurrency ( )
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::setConfig()
Возвращает
void

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

◆ CountPriceWithDiscount()

CountPriceWithDiscount ( $price,
$currency,
$discounts )
static
Аргументы
float$price
string$currency
array$discounts
Возвращает
bool|float

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

◆ Delete()

Delete ( $id)
static
См. также
\Bitrix\Catalog\Model\Product::delete
Аргументы
int$id
Возвращает
bool

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

◆ GetByID()

GetByID ( $ID)
static
См. также
Catalog\Model\Product::getList
Аргументы
int$ID
Возвращает
array|false

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

◆ GetByIDEx()

GetByIDEx ( $ID,
$boolAllValues = false )
static
Аргументы
$ID
bool$boolAllValues
Возвращает
array|bool

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

◆ GetNearestQuantityPrice()

GetNearestQuantityPrice ( $productID,
$quantity = 1,
$arUserGroups = array() )
static
Аргументы
int$productID
int | float$quantity
array$arUserGroups
Возвращает
bool|float|int

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

◆ GetOptimalPrice()

GetOptimalPrice ( $intProductID,
$quantity = 1,
$arUserGroups = array(),
$renewal = "N",
$priceList = array(),
$siteID = false,
$arDiscountCoupons = false )
static
Аргументы
int$intProductID
int | float$quantity
array$arUserGroups
string$renewal
array$priceList
bool | string$siteID
bool | array$arDiscountCoupons
Возвращает
array|bool

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

◆ GetOptimalPriceList()

GetOptimalPriceList ( array $products,
$arUserGroups = array(),
$renewal = "N",
$priceList = array(),
$siteID = false,
$needCoupons = true )
static

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

◆ getPriceVatIncludeMode()

getPriceVatIncludeMode ( )
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::setConfig()
Возвращает
bool

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

◆ GetProductSections()

GetProductSections ( $ID)
static

@global CStackCacheManager $stackCacheManager

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

◆ GetQueryBuildArrays()

GetQueryBuildArrays ( $order,
$filter,
$select )
static
См. также
\CProductQueryBuilder::makeQuery()
Аргументы
array$order
array$filter
array$select
Возвращает
array

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

◆ getQueryBuildCurrencyScale()

getQueryBuildCurrencyScale ( $filter,
$priceTypeId )
staticprotected

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

◆ getQueryBuildPriceScaled()

getQueryBuildPriceScaled ( $prices,
$scale )
staticprotected

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

◆ GetTimePeriodTypes()

GetTimePeriodTypes ( $boolFull = false)
static

Return payment period list.

См. также
\Bitrix\Catalog\ProductTable::getPaymentPeriods
Аргументы
bool$boolFullWith description.
Возвращает
array

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

◆ getUsedCurrency()

getUsedCurrency ( )
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::getConfig()
Возвращает
null|string

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

◆ getUseDiscount()

getUseDiscount ( )
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::getConfig()
Возвращает
bool

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

◆ initSaleSettings()

initSaleSettings ( )
staticprotected

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

◆ isAvailable()

isAvailable ( $product)
static
Аргументы
array$product
Возвращает
bool

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

◆ IsExistProduct()

IsExistProduct ( $intID)
static
См. также
\Bitrix\Catalog\Model\Product::getCacheItem()
Аргументы
int$intID
Возвращает
bool

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

◆ OnAfterIBlockElementUpdate()

OnAfterIBlockElementUpdate ( $arFields)
static
Аргументы
array$arFields

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

◆ OnIBlockElementDelete()

OnIBlockElementDelete ( $ProductID)
static

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

◆ ParseQueryBuildField()

ParseQueryBuildField ( $field)
static

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

◆ QuantityTracer()

QuantityTracer ( $ProductID,
$DeltaQuantity )
static
См. также
\CCatalogProductProvider
Аргументы
int$ProductID
int | float$DeltaQuantity
Возвращает
bool

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

◆ setPriceVatIncludeMode()

setPriceVatIncludeMode ( $mode)
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::setConfig()
Аргументы
bool$mode
Возвращает
void

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

◆ setUsedCurrency()

setUsedCurrency ( $currency)
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::setConfig()
Аргументы
string$currency
Возвращает
void

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

◆ setUseDiscount()

setUseDiscount ( $use)
static
См. также
\Bitrix\Catalog\Product\Price\Calculation::setConfig()
Аргументы
bool$use
Возвращает
void

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

◆ Update()

Update ( $id,
$fields )
static
См. также
\Bitrix\Catalog\Model\Product::update
Аргументы
int$id
array$fields
Возвращает
bool

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

Поля

◆ $arProductCache

$arProductCache = array()
staticprotected

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

◆ $optimalPriceWithVat

$optimalPriceWithVat = true
staticprotected

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

◆ $saleIncluded

$saleIncluded = null
staticprotected

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

◆ $usedCurrency

$usedCurrency = null
staticprotected

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

◆ $useDiscount

$useDiscount = true
staticprotected

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

◆ $useSaleDiscount

$useSaleDiscount = null
staticprotected

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

◆ $vatCache

$vatCache = array()
staticprotected

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

◆ TIME_PERIOD_DAY

const TIME_PERIOD_DAY = Catalog\ProductTable::PAYMENT_PERIOD_DAY

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

◆ TIME_PERIOD_DOUBLE_YEAR

const TIME_PERIOD_DOUBLE_YEAR = Catalog\ProductTable::PAYMENT_PERIOD_DOUBLE_YEAR

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

◆ TIME_PERIOD_HOUR

const TIME_PERIOD_HOUR = Catalog\ProductTable::PAYMENT_PERIOD_HOUR

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

◆ TIME_PERIOD_MONTH

const TIME_PERIOD_MONTH = Catalog\ProductTable::PAYMENT_PERIOD_MONTH

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

◆ TIME_PERIOD_QUART

const TIME_PERIOD_QUART = Catalog\ProductTable::PAYMENT_PERIOD_QUART

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

◆ TIME_PERIOD_SEMIYEAR

const TIME_PERIOD_SEMIYEAR = Catalog\ProductTable::PAYMENT_PERIOD_SEMIYEAR

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

◆ TIME_PERIOD_WEEK

const TIME_PERIOD_WEEK = Catalog\ProductTable::PAYMENT_PERIOD_WEEK

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

◆ TIME_PERIOD_YEAR

const TIME_PERIOD_YEAR = Catalog\ProductTable::PAYMENT_PERIOD_YEAR

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

◆ TYPE_EMPTY_SKU

const TYPE_EMPTY_SKU = Catalog\ProductTable::TYPE_EMPTY_SKU

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

◆ TYPE_FREE_OFFER

const TYPE_FREE_OFFER = Catalog\ProductTable::TYPE_FREE_OFFER

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

◆ TYPE_OFFER

const TYPE_OFFER = Catalog\ProductTable::TYPE_OFFER

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

◆ TYPE_PRODUCT

const TYPE_PRODUCT = Catalog\ProductTable::TYPE_PRODUCT

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

◆ TYPE_SET

const TYPE_SET = Catalog\ProductTable::TYPE_SET

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

◆ TYPE_SKU

const TYPE_SKU = Catalog\ProductTable::TYPE_SKU

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


Объявления и описания членов класса находятся в файле: