ProductParametersGroup
extends ParametersGroup
in package
This is the product model parameters group class.
Table of Contents
$optionsPriceMode | : string | |
---|---|---|
$validator | : ParametersValidator | |
setOptionsPriceMode() | Sets a the prices sort criteria for this parameters group. | : void |
toArray() | Returns the object data on array format. | : array<string|int, mixed> |
filter() | : array<string|int, mixed> | |
getInstantiatedValidator() | : ParametersValidator | |
getValidator() | : ProductParametersValidator |
Properties
$optionsPriceMode
protected
string
$optionsPriceMode
$validator
protected
ParametersValidator
$validator
Methods
setOptionsPriceMode()
Sets a the prices sort criteria for this parameters group.
public
setOptionsPriceMode(string $optionsPriceMode) : void
Parameters
- $optionsPriceMode : string
Return values
void —toArray()
Returns the object data on array format.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —filter()
protected
filter(array<string|int, mixed> $params) : array<string|int, mixed>
Parameters
- $params : array<string|int, mixed>
Return values
array<string|int, mixed> —getInstantiatedValidator()
protected
getInstantiatedValidator() : ParametersValidator
Return values
ParametersValidator —getValidator()
protected
getValidator() : ProductParametersValidator