ViewOptionSortItems
extends ViewOption
in package
Uses
ElementTrait
This is the 'ViewOptionSortItems' class, a DTO class for the theme configuration data.
The items stored in this class will remain immutable (only get methods are available).
This class extends SDK\Core\Dtos\Element, see this class.
Tags
Table of Contents
DATEADDED | = 'dateadded' | |
---|---|---|
ENABLED | = 'enabled' | |
FEATURED | = 'featured' | |
ID | = 'id' | |
NAME | = 'name' | |
OFFER | = 'offer' | |
PID | = 'pId' | |
PRICE | = 'price' | |
PRIORITY | = 'priority' | |
SHOW_LABEL | = 'showLabel' | |
SKU | = 'sku' | |
VIEW_PRIORITY | = 'viewPriority' | |
$enabled | : bool | |
$showLabel | : bool | |
$viewPriority | : int | |
getDateadded() | This method returns dateadded sort configuration. | : ViewOptionSortItem|null |
getEnabled() | This method returns if the view option is enabled. | : bool |
getFeatured() | This method returns featured sort configuration. | : ViewOptionSortItem|null |
getId() | This method returns id sort configuration. | : ViewOptionSortItem|null |
getName() | This method returns name sort configuration. | : ViewOptionSortItem|null |
getOffer() | This method returns offer sort configuration. | : ViewOptionSortItem|null |
getPid() | This method returns pId sort configuration. | : ViewOptionSortItem|null |
getPrice() | This method returns price sort configuration. | : ViewOptionSortItem|null |
getPriority() | This method returns priority sort configuration. | : ViewOptionSortItem|null |
getShowLabel() | This method returns if the head label is enabled. | : bool |
getSku() | This method returns sku sort configuration. | : ViewOptionSortItem|null |
getViewPriority() | This method returns the item view priority. | : int |
Constants
DATEADDED
public
mixed
DATEADDED
= 'dateadded'
ENABLED
public
mixed
ENABLED
= 'enabled'
FEATURED
public
mixed
FEATURED
= 'featured'
ID
public
mixed
ID
= 'id'
NAME
public
mixed
NAME
= 'name'
OFFER
public
mixed
OFFER
= 'offer'
PID
public
mixed
PID
= 'pId'
PRICE
public
mixed
PRICE
= 'price'
PRIORITY
public
mixed
PRIORITY
= 'priority'
SHOW_LABEL
public
mixed
SHOW_LABEL
= 'showLabel'
SKU
public
mixed
SKU
= 'sku'
VIEW_PRIORITY
public
mixed
VIEW_PRIORITY
= 'viewPriority'
Properties
$enabled
protected
bool
$enabled
= false
$showLabel
protected
bool
$showLabel
= false
$viewPriority
protected
int
$viewPriority
= 0
Methods
getDateadded()
This method returns dateadded sort configuration.
public
getDateadded() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getEnabled()
This method returns if the view option is enabled.
public
getEnabled() : bool
Return values
bool —getFeatured()
This method returns featured sort configuration.
public
getFeatured() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getId()
This method returns id sort configuration.
public
getId() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getName()
This method returns name sort configuration.
public
getName() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getOffer()
This method returns offer sort configuration.
public
getOffer() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getPid()
This method returns pId sort configuration.
public
getPid() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getPrice()
This method returns price sort configuration.
public
getPrice() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getPriority()
This method returns priority sort configuration.
public
getPriority() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getShowLabel()
This method returns if the head label is enabled.
public
getShowLabel() : bool
Return values
bool —getSku()
This method returns sku sort configuration.
public
getSku() : ViewOptionSortItem|null
Return values
ViewOptionSortItem|null —getViewPriority()
This method returns the item view priority.
public
getViewPriority() : int