PropertyProduct
Table of Contents
Methods
- getAllowedPropertyUserTypes() : array<string|int, mixed>
- Supported user types of properties in product grid of deal.
- getColumnNames() : array<string|int, mixed>
- All column codes for crm.entity.product.list template
- getIblockProperties() : array<string|int, mixed>
- Get readable properties of a product.
- getRestrictedProperties() : array<string|int, mixed>
- Restricted properties for hiding in product grid of deal.
- getRestrictedPropertyTypes() : array<string|int, mixed>
- Restricted property types for hiding in product grid of deal.
- getSkuProperties() : array<string|int, mixed>
- Get readable properties of a product variation. Fields are not properties - but included here.
Methods
getAllowedPropertyUserTypes()
Supported user types of properties in product grid of deal.
public
static getAllowedPropertyUserTypes() : array<string|int, mixed>
For \CCrmEntityProductListComponent::getIblockColumnsDescription
Return values
array<string|int, mixed>getColumnNames()
All column codes for crm.entity.product.list template
public
static getColumnNames() : array<string|int, mixed>
Return values
array<string|int, mixed>getIblockProperties()
Get readable properties of a product.
public
static getIblockProperties(int $iblockId, int $productId[, array<string|int, mixed> $filter = [] ]) : array<string|int, mixed>
Parameters
- $iblockId : int
- $productId : int
- $filter : array<string|int, mixed> = []
Return values
array<string|int, mixed> —in format ['PROPERTY_CODE' => 'readable value']
getRestrictedProperties()
Restricted properties for hiding in product grid of deal.
public
static getRestrictedProperties() : array<string|int, mixed>
For \CCrmEntityProductListComponent::getIblockColumnsDescription
Return values
array<string|int, mixed>getRestrictedPropertyTypes()
Restricted property types for hiding in product grid of deal.
public
static getRestrictedPropertyTypes() : array<string|int, mixed>
For \CCrmEntityProductListComponent::getIblockColumnsDescription
Return values
array<string|int, mixed>getSkuProperties()
Get readable properties of a product variation. Fields are not properties - but included here.
public
static getSkuProperties(int $iblockId, int $skuId[, array<string|int, mixed> $filter = [] ]) : array<string|int, mixed>
Parameters
- $iblockId : int
- $skuId : int
- $filter : array<string|int, mixed> = []
Return values
array<string|int, mixed> —in format ['PROPERTY_CODE' => 'readable value']