Class CategorySettings
Class CategorySettings
This Class stores some settings regarding display and visibility mode of category related data and is used within a CategoryInterface.
- CategorySettings implements CategorySettingsInterface
Category: System
Located at Services/Core/Category/Entities/CategorySettings.inc.php
Methods summary
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
#
setProductSortColumn(
Sets the column by which the products are currently sorted. |
public
string
|
|
public
|
#
setProductSortDirection(
Sets the direction which the products are currently sorted in. |
public
boolean
|
|
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
#
setShowGraduatedPrices(
Sets whether graduated prices should be displayed or not. |
public
boolean
|
|
public
|
#
setShowQuantityInput(
Sets whether a quantity input should be displayed in product forms or not. |
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
|
public
boolean
|
|
public
|
#
setShowSubcategoryImages(
Sets whether subcategory images should be displayed or not. |
public
boolean
|
|
public
|
#
setShowSubcategoryNames(
Sets whether subcategory names should be displayed or not. |
public
boolean
|
|
public
|
#
setShowSubcategoryProducts(
Sets whether subcategory products should be displayed or not. |
public
boolean
|
|
public
|
#
setDefaultViewModeTiled(
Sets whether default view mode should be tiled or not. |
public
boolean
|
#
isPermittedCustomerStatus(
Checks if it is a permitted customer status or not. |
public
|
#
setPermittedCustomerStatus(
Sets whether a customer status is permitted or not. |
public
|
|
public
boolean
|
|
public
|
|
public
integer
|
|
public
|
#
setFilterValueDeactivation(
Sets the filter value deactivation. |
public
integer
|
Properties summary
protected
string
|
$categoryListingTemplate
Current template which is used for category listing. |
#
''
|
protected
string
|
$productListingTemplate
Current template which is used for product listing. |
#
''
|
protected
string
|
$productSortColumn
Current column by which the products are sorted. |
#
''
|
protected
string
|
$productSortDirection
Current direction which the products are sorted in. |
#
''
|
protected
boolean
|
$sitemapEntry
Is category/product in the sitemap? |
#
false
|
protected
string
|
$sitemapPriority
Priority of the element in the sitemap. |
#
''
|
protected
string
|
$sitemapChangeFreq
Change frequency of the element in the sitemap. |
#
''
|
protected
boolean
|
$attributes
Should attributes be displayed? |
#
false
|
protected
boolean
|
$graduatedPrices
Should graduated prices be displayed? |
#
false
|
protected
boolean
|
$quantityInput
Should quantities be displayed? |
#
false
|
protected
boolean
|
$stock
Should quantity info be displayed? |
#
false
|
protected
boolean
|
$subcategories
Should subcategories be displayed? |
#
false
|
protected
boolean
|
$subcategoryImages
Should subcategory images be displayed? |
#
false
|
protected
boolean
|
$subcategoryNames
Should subcategory names be displayed? |
#
false
|
protected
boolean
|
$subcategoryProducts
Should subcategory products be displayed? |
#
false
|
protected
boolean
|
$viewModeTiled
Should default view mode be "tiled"? |
#
false
|
protected
array
|
$permittedCustomerStatus
Array of permitted customer status. |
#
array()
|
protected
boolean
|
$showCategoryFilter
|
#
false
|
protected
integer
|
$filterSelectionMode
|
#
0
|
protected
integer
|
$filterValueDeactivation
|
#
0
|