См. определение в файле product.php строка 20
◆ addAction()
addAction |
( |
array | $fields | ) |
|
◆ addPropertyAction()
addPropertyAction |
( |
| $fields | ) |
|
◆ addValidate()
◆ attachPropertyValues()
attachPropertyValues |
( |
array & | $result, |
|
|
int | $iblockId, |
|
|
array | $propertyIds = [] ) |
|
protected |
- Аргументы
-
array | &$result | |
int | $iblockId | |
array | $propertyIds | |
- Возвращает
- void
if property values are empty $propertyValues is empty
См. определение в файле product.php строка 751
◆ checkFields()
◆ checkFieldsDownload()
checkFieldsDownload |
( |
| $fields | ) |
|
|
protected |
◆ checkModifyPermissionEntity()
checkModifyPermissionEntity |
( |
| ) |
|
|
protected |
◆ checkPermissionAdd()
checkPermissionAdd |
( |
int | $iblockId | ) |
|
|
protected |
◆ checkPermissionCatalogProductAdd()
checkPermissionCatalogProductAdd |
( |
| ) |
|
|
protected |
◆ checkPermissionCatalogProductDelete()
checkPermissionCatalogProductDelete |
( |
int | $elementId | ) |
|
|
protected |
◆ checkPermissionCatalogProductUpdate()
checkPermissionCatalogProductUpdate |
( |
int | $elementId | ) |
|
|
protected |
◆ checkPermissionDelete()
checkPermissionDelete |
( |
int | $elementId | ) |
|
|
protected |
◆ checkPermissionEntity()
checkPermissionEntity |
( |
| $name, |
|
|
| $arguments = [] ) |
|
protected |
◆ checkPermissionIBlockElementAdd()
checkPermissionIBlockElementAdd |
( |
int | $iblockId | ) |
|
|
protected |
◆ checkPermissionIBlockElementDelete()
checkPermissionIBlockElementDelete |
( |
int | $elementId | ) |
|
|
protected |
◆ checkPermissionIBlockElementGet()
checkPermissionIBlockElementGet |
( |
| $elementId | ) |
|
|
protected |
◆ checkPermissionIBlockElementList()
checkPermissionIBlockElementList |
( |
| $iblockId | ) |
|
|
protected |
◆ checkPermissionIBlockElementModify()
checkPermissionIBlockElementModify |
( |
| $iblockId, |
|
|
| $elementId ) |
|
protected |
◆ checkPermissionIBlockElementSectionBindModify()
checkPermissionIBlockElementSectionBindModify |
( |
| $iblockId, |
|
|
| $iblockSectionId ) |
|
protected |
◆ checkPermissionIBlockElementSectionBindUpdate()
checkPermissionIBlockElementSectionBindUpdate |
( |
| $iblockSectionId | ) |
|
|
protected |
◆ checkPermissionIBlockElementUpdate()
checkPermissionIBlockElementUpdate |
( |
int | $elementId | ) |
|
|
protected |
◆ checkPermissionIBlockModify()
checkPermissionIBlockModify |
( |
| $iblockId | ) |
|
|
protected |
◆ checkPermissionUpdate()
checkPermissionUpdate |
( |
int | $elementId | ) |
|
|
protected |
◆ checkReadPermissionEntity()
checkReadPermissionEntity |
( |
| ) |
|
|
protected |
◆ configureActions()
◆ deleteAction()
◆ downloadAction()
downloadAction |
( |
array | $fields | ) |
|
◆ exists()
null bool Sale exists |
( |
| $id | ) |
|
|
protected |
◆ existsIblock()
existsIblock |
( |
int | $iblockId | ) |
|
|
protected |
◆ fillPropertyFieldsDefaultPropertyValues()
fillPropertyFieldsDefaultPropertyValues |
( |
| $id, |
|
|
| $iblockId, |
|
|
| $propertyValues ) |
|
protected |
◆ get()
◆ getAction()
◆ getAllowedFieldsProduct()
getAllowedFieldsProduct |
( |
| ) |
|
|
protected |
◆ getBindings()
Get bindings from PHP events to REST events
- Возвращает
- string[]
Переопределяет метод предка Controller.
См. определение в файле product.php строка 1284
◆ getCallbackRestEvent()
static getCallbackRestEvent |
( |
| ) |
|
|
static |
◆ getEntityTable()
◆ getIBlockBySectionId()
getIBlockBySectionId |
( |
| $id | ) |
|
|
protected |
◆ getProductIblockId()
static getProductIblockId |
( |
int | $productId | ) |
|
|
staticprotected |
Returns iblock id for product, if exists.
- Аргументы
-
- Возвращает
- int|null
См. определение в файле product.php строка 1306
◆ listAction()
listAction |
( |
PageNavigation | $pageNavigation, |
|
|
array | $select = [], |
|
|
array | $filter = [], |
|
|
array | $order = [] ) |
- Аргументы
-
| $select | |
| $filter | |
| $order | |
PageNavigation | $pageNavigation | |
- Возвращает
- Page|null
См. определение в файле product.php строка 191
◆ perfGetList()
static perfGetList |
( |
array | $select, |
|
|
array | $filter, |
|
|
array | $order, |
|
|
| $pageNavigation = null ) |
|
staticprotected |
◆ prepareProductFields()
prepareProductFields |
( |
array | $fields | ) |
|
|
protected |
◆ preparePropertyFields()
preparePropertyFields |
( |
| $fields | ) |
|
|
protected |
◆ preparePropertyFieldsUpdate()
preparePropertyFieldsUpdate |
( |
| $fields | ) |
|
|
protected |
◆ processAfterAction()
processAfterAction |
( |
Engine\Action | $action, |
|
|
| $result ) |
|
protected |
@inheritDoc
- Аргументы
-
Engine\Action | $action | |
mixed | $result | |
- Возвращает
- void
См. определение в файле product.php строка 78
◆ processBeforeAction()
processBeforeAction |
( |
Engine\Action | $action | ) |
|
|
protected |
◆ processBeforeAdd()
processBeforeAdd |
( |
Engine\Action | $action | ) |
|
|
protected |
◆ processBeforeUpdate()
processBeforeUpdate |
( |
Engine\Action | $action | ) |
|
|
protected |
- Исключения
-
Bitrix\Main\ArgumentException
- Исключения
-
Bitrix\Main\ObjectPropertyException
- Исключения
-
Bitrix\Main\SystemException
- Исключения
-
Bitrix\Main\NotImplementedException
См. определение в файле product.php строка 94
◆ processItemEvent()
static processItemEvent |
( |
array | $arParams, |
|
|
array | $arHandler ) |
|
static |
◆ splitFieldsByEntity()
splitFieldsByEntity |
( |
| $fields | ) |
|
|
protected |
◆ updateAction()
updateAction |
( |
int | $id, |
|
|
array | $fields ) |
◆ updateValidate()
updateValidate |
( |
| $fields | ) |
|
|
protected |
◆ SkuDeferredCalculations
trait SkuDeferredCalculations |
Инициализатор{
private static bool $isBackgroundJobAdded = false
Helper for working with deferred SKU calculations in REST.
См. определение в файле skudeferredcalculations.php строка 13