FeaturedProductSettings
in package
implements
FeaturedProductSettingsInterface
Class FeaturedProductSettings
Interfaces, Classes and Traits
- FeaturedProductSettingsInterface
- Interface FeaturedProductSettingsInterface
Table of Contents
- $customerGroupId : int
- $languageCode : string
- $limit : int
- $randomOrder : bool
- $statusFsk18 : bool
- __construct() : mixed
- FeaturedProductSettings constructor.
- getCustomerGroupId() : int
- Return the customer group id.
- getLimit() : int
- Return the limit of products to displayed.
- getRandomOrder() : bool
- checks if random order selected.
- isFsk18Purchasable() : bool
- Checks if fsk 18 enable or not.
- languageCode() : string
- Return the language code.
Properties
$customerGroupId
protected
int
$customerGroupId
$languageCode
protected
string
$languageCode
$limit
protected
int
$limit
$randomOrder
protected
bool
$randomOrder
$statusFsk18
protected
bool
$statusFsk18
Methods
__construct()
FeaturedProductSettings constructor.
public
__construct(IntType $limit, BoolType $randomOrder, IntType $customerGroupId, BoolType $statusFsk18, LanguageCode $languageCode) : mixed
Parameters
- $limit : IntType
- $randomOrder : BoolType
- $customerGroupId : IntType
- $statusFsk18 : BoolType
- $languageCode : LanguageCode
Return values
mixed —getCustomerGroupId()
Return the customer group id.
public
getCustomerGroupId() : int
Return values
int —getLimit()
Return the limit of products to displayed.
public
getLimit() : int
Return values
int —getRandomOrder()
checks if random order selected.
public
getRandomOrder() : bool
Return values
bool —isFsk18Purchasable()
Checks if fsk 18 enable or not.
public
isFsk18Purchasable() : bool
Return values
bool —languageCode()
Return the language code.
public
languageCode() : string