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
see
ViewOption::getAvailableTemplates()
see
Element
see
ElementTrait

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

SHOW_LABEL

public mixed SHOW_LABEL = 'showLabel'

VIEW_PRIORITY

public mixed VIEW_PRIORITY = 'viewPriority'

Properties

Methods

getEnabled()

This method returns if the view option is enabled.

public getEnabled() : bool
Return values
bool

getShowLabel()

This method returns if the head label is enabled.

public getShowLabel() : bool
Return values
bool

getViewPriority()

This method returns the item view priority.

public getViewPriority() : int
Return values
int

Search results