Product extends HashDataProvider
Table of Contents
Methods
- __construct() : mixed
- getData() : array<string|int, mixed>
- getDiscountType() : string
- getFields() : array<string|int, mixed>
- getIblockValue() : mixed|null
- Return value for common iblock fields.
- getMeasureSymbol() : string|null
- getMeasureSymbolIntl() : string|null
- getMeasureTitle() : null
- getPropertyValue() : mixed
- getSum() : float
- getTaxRate() : float
- getTaxValue() : float
- getTaxValueSum() : float
- getTitleFull() : string
- Return title with all offer-related property values.
- getVatlessPrice() : float|int
- setData() : HashDataProvider
Methods
__construct()
public
__construct(mixed $data[, array<string|int, mixed> $options = [] ]) : mixed
Parameters
- $data : mixed
- $options : array<string|int, mixed> = []
getData()
public
getData() : array<string|int, mixed>
Return values
array<string|int, mixed>getDiscountType()
public
getDiscountType() : string
Return values
stringgetFields()
public
getFields() : array<string|int, mixed>
Return values
array<string|int, mixed>getIblockValue()
Return value for common iblock fields.
public
getIblockValue(mixed $code) : mixed|null
Parameters
- $code : mixed
Return values
mixed|nullgetMeasureSymbol()
public
getMeasureSymbol() : string|null
Return values
string|nullgetMeasureSymbolIntl()
public
getMeasureSymbolIntl() : string|null
Return values
string|nullgetMeasureTitle()
public
getMeasureTitle() : null
Return values
nullgetPropertyValue()
public
getPropertyValue(string $code) : mixed
Parameters
- $code : string
getSum()
public
getSum(string $placeholder) : float
Parameters
- $placeholder : string
Return values
floatgetTaxRate()
public
getTaxRate() : float
Return values
floatgetTaxValue()
public
getTaxValue() : float
Return values
floatgetTaxValueSum()
public
getTaxValueSum() : float
Return values
floatgetTitleFull()
Return title with all offer-related property values.
public
getTitleFull() : string
Return values
stringgetVatlessPrice()
public
getVatlessPrice() : float|int
Return values
float|intsetData()
public
setData(array<string|int, mixed> $data) : HashDataProvider
Parameters
- $data : array<string|int, mixed>