ProductAction
Table of Contents
Constants
-
CHANGE_PRICE
= 'change_price'
-
CONVERT_PRODUCT_TO_SERVICE
= 'convert_to_service'
-
CONVERT_SERVICE_TO_PRODUCT
= 'convert_to_product'
-
SET_FIELD
= 'product_field'
Methods
-
convertToProductElementList()
: Result
-
convertToProductSectionList()
: Result
-
convertToServiceElementList()
: Result
-
convertToServiceSectionList()
: Result
-
getAllowedProductTypes()
: array<string|int, mixed>
-
updateElementList()
: Result
-
updateSectionList()
: Result
CHANGE_PRICE
public
mixed
CHANGE_PRICE
= 'change_price'
CONVERT_PRODUCT_TO_SERVICE
public
mixed
CONVERT_PRODUCT_TO_SERVICE
= 'convert_to_service'
CONVERT_SERVICE_TO_PRODUCT
public
mixed
CONVERT_SERVICE_TO_PRODUCT
= 'convert_to_product'
SET_FIELD
public
mixed
SET_FIELD
= 'product_field'
convertToProductElementList()
public
static convertToProductElementList(int $iblockId, array<string|int, mixed> $elementIds) : Result
Parameters
-
$iblockId
: int
-
-
$elementIds
: array<string|int, mixed>
-
convertToProductSectionList()
public
static convertToProductSectionList(int $iblockId, array<string|int, mixed> $sections) : Result
Parameters
-
$iblockId
: int
-
-
$sections
: array<string|int, mixed>
-
convertToServiceElementList()
public
static convertToServiceElementList(int $iblockId, array<string|int, mixed> $elementIds) : Result
Parameters
-
$iblockId
: int
-
-
$elementIds
: array<string|int, mixed>
-
convertToServiceSectionList()
public
static convertToServiceSectionList(int $iblockId, array<string|int, mixed> $sections) : Result
Parameters
-
$iblockId
: int
-
-
$sections
: array<string|int, mixed>
-
getAllowedProductTypes()
public
static getAllowedProductTypes(array<string|int, mixed> $catalog, array<string|int, mixed> $fields) : array<string|int, mixed>
Parameters
-
$catalog
: array<string|int, mixed>
-
-
$fields
: array<string|int, mixed>
-
Return values
array<string|int, mixed>
updateElementList()
public
static updateElementList(int $iblockId, array<string|int, mixed> $elementIds, array<string|int, mixed> $fields) : Result
Parameters
-
$iblockId
: int
-
-
$elementIds
: array<string|int, mixed>
-
-
$fields
: array<string|int, mixed>
-
updateSectionList()
public
static updateSectionList(int $iblockId, array<string|int, mixed> $sections, array<string|int, mixed> $fields) : Result
Parameters
-
$iblockId
: int
-
-
$sections
: array<string|int, mixed>
-
-
$fields
: array<string|int, mixed>
-