CategorySettingsInterface
in
Interface CategorySettingsInterface
This interface defines methods for storing and retrieving some settings regarding display and visibility mode of category related data and is used within a CategoryInterface.
Tags
Table of Contents
- getCategoryListingTemplate() : string
- Returns the current category listing template.
- getFilterSelectionMode() : int
- Gets the filter selection mode value.
- getFilterValueDeactivation() : int
- Gets the filter value deactivation.
- getProductListingTemplate() : string
- Returns the current product listing template.
- getProductSortColumn() : string
- Returns the column by which the products are currently sorted.
- getProductSortDirection() : string
- Returns the direction which the products are currently sorted in.
- getSitemapChangeFreq() : string
- Returns the change frequency of the element.
- getSitemapPriority() : string
- Returns the sitemap priority of the element.
- isDefaultViewModeTiled() : bool
- Checks if default view mode should be tiled or not.
- isPermittedCustomerStatus() : bool
- Checks if it is a permitted customer status or not.
- isSitemapEntry() : bool
- Checks if category/product is part of the sitemap.
- setCategoryListingTemplate() : CategorySettingsInterface
- Sets the current category listing template.
- setDefaultViewModeTiled() : CategorySettingsInterface
- Sets whether default view mode should be tiled or not.
- setFilterSelectionMode() : Category
- Sets the filter selection mode value.
- setFilterValueDeactivation() : Category
- Sets the filter value deactivation.
- setPermittedCustomerStatus() : CategorySettingsInterface
- Sets whether a customer status is permitted or not.
- setProductListingTemplate() : CategorySettingsInterface
- Sets the current product listing template.
- setProductSortColumn() : CategorySettingsInterface
- Sets the column by which the products are currently sorted.
- setProductSortDirection() : CategorySettingsInterface
- Sets the direction which the products are currently sorted in.
- setShowAttributes() : CategorySettingsInterface
- Sets whether the attributes should be displayed or not.
- setShowCategoryFilter() : Category
- Sets the show category filter value.
- setShowCategoryImageInDescription() : CategorySettingsInterface
- Sets whether category image should be displayed in description or not.
- setShowGraduatedPrices() : CategorySettingsInterface
- Sets whether graduated prices should be displayed or not.
- setShowQuantityInput() : CategorySettingsInterface
- Sets whether a quantity input should be displayed in product forms or not.
- setShowStock() : CategorySettingsInterface
- Sets whether the stock should be displayed or not.
- setShowSubcategories() : CategorySettingsInterface
- Sets whether subcategories should be displayed or not.
- setShowSubcategoryImages() : CategorySettingsInterface
- Sets whether subcategory images should be displayed or not.
- setShowSubcategoryNames() : CategorySettingsInterface
- Sets whether subcategory names should be displayed or not.
- setShowSubcategoryProducts() : CategorySettingsInterface
- Sets whether subcategory products should be displayed or not.
- setSitemapChangeFreq() : CategorySettingsInterface
- Sets the change frequency of the element.
- setSitemapEntry() : CategorySettingsInterface
- Sets whether the category/product is part of the sitemap.
- setSitemapPriority() : CategorySettingsInterface
- Sets the sitemap priority of the element.
- showAttributes() : bool
- Checks if attributes should be displayed or not.
- showCategoryFilter() : bool
- Gets the show category filter value.
- showCategoryImageInDescription() : bool
- Checks if category image should be displayed in description or not.
- showGraduatedPrices() : bool
- Checks if graduated prices should be displayed or not.
- showQuantityInput() : bool
- Checks if a quantity input should be displayed in product forms or not.
- showStock() : bool
- Checks if the stock should be displayed or not.
- showSubcategories() : bool
- Checks if subcategories should be displayed or not.
- showSubcategoryImages() : bool
- Checks if subcategory images should be displayed or not.
- showSubcategoryNames() : bool
- Checks if subcategory names should be displayed or not.
- showSubcategoryProducts() : bool
- Checks if subcategory products should be displayed or not.
Methods
getCategoryListingTemplate()
Returns the current category listing template.
public
getCategoryListingTemplate() : string
Return values
string —The current category listing template.
getFilterSelectionMode()
Gets the filter selection mode value.
public
getFilterSelectionMode() : int
Return values
int —getFilterValueDeactivation()
Gets the filter value deactivation.
public
getFilterValueDeactivation() : int
Return values
int —getProductListingTemplate()
Returns the current product listing template.
public
getProductListingTemplate() : string
Return values
string —getProductSortColumn()
Returns the column by which the products are currently sorted.
public
getProductSortColumn() : string
Return values
string —getProductSortDirection()
Returns the direction which the products are currently sorted in.
public
getProductSortDirection() : string
Return values
string —getSitemapChangeFreq()
Returns the change frequency of the element.
public
getSitemapChangeFreq() : string
Return values
string —getSitemapPriority()
Returns the sitemap priority of the element.
public
getSitemapPriority() : string
Return values
string —isDefaultViewModeTiled()
Checks if default view mode should be tiled or not.
public
isDefaultViewModeTiled() : bool
Return values
bool —isPermittedCustomerStatus()
Checks if it is a permitted customer status or not.
public
isPermittedCustomerStatus(IdType $customerStatusId) : bool
Parameters
- $customerStatusId : IdType
-
Customer status ID.
Return values
bool —isSitemapEntry()
Checks if category/product is part of the sitemap.
public
isSitemapEntry() : bool
Return values
bool —setCategoryListingTemplate()
Sets the current category listing template.
public
setCategoryListingTemplate(StringType $filename) : CategorySettingsInterface
Parameters
- $filename : StringType
-
Category listing template.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setDefaultViewModeTiled()
Sets whether default view mode should be tiled or not.
public
setDefaultViewModeTiled(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Is tiled the default view mode?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setFilterSelectionMode()
Sets the filter selection mode value.
public
setFilterSelectionMode(IntType $filterSelectionMode) : Category
Parameters
- $filterSelectionMode : IntType
Return values
Category —Same instance for chained method calls.
setFilterValueDeactivation()
Sets the filter value deactivation.
public
setFilterValueDeactivation(IntType $filterValueDeactivation) : Category
Parameters
- $filterValueDeactivation : IntType
Return values
Category —Same instance for chained method calls.
setPermittedCustomerStatus()
Sets whether a customer status is permitted or not.
public
setPermittedCustomerStatus(IdType $customerStatusId, BoolType $permitted) : CategorySettingsInterface
Parameters
Return values
CategorySettingsInterface —Same instance for chained method calls.
setProductListingTemplate()
Sets the current product listing template.
public
setProductListingTemplate(StringType $filename) : CategorySettingsInterface
Parameters
- $filename : StringType
-
Product listing template.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setProductSortColumn()
Sets the column by which the products are currently sorted.
public
setProductSortColumn(StringType $column) : CategorySettingsInterface
Parameters
- $column : StringType
-
Column by which the products should be sorted.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setProductSortDirection()
Sets the direction which the products are currently sorted in.
public
setProductSortDirection(StringType $direction) : CategorySettingsInterface
Parameters
- $direction : StringType
-
Direction which the products should be sorted in.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowAttributes()
Sets whether the attributes should be displayed or not.
public
setShowAttributes(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Should attributes be displayed?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowCategoryFilter()
Sets the show category filter value.
public
setShowCategoryFilter(BoolType $showCategoryFilter) : Category
Parameters
- $showCategoryFilter : BoolType
Return values
Category —Same instance for chained method calls.
setShowCategoryImageInDescription()
Sets whether category image should be displayed in description or not.
public
setShowCategoryImageInDescription(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show image?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowGraduatedPrices()
Sets whether graduated prices should be displayed or not.
public
setShowGraduatedPrices(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show graduated prices?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowQuantityInput()
Sets whether a quantity input should be displayed in product forms or not.
public
setShowQuantityInput(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show quantity input?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowStock()
Sets whether the stock should be displayed or not.
public
setShowStock(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show quantity info?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowSubcategories()
Sets whether subcategories should be displayed or not.
public
setShowSubcategories(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show subcategories?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowSubcategoryImages()
Sets whether subcategory images should be displayed or not.
public
setShowSubcategoryImages(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show subcategory images?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowSubcategoryNames()
Sets whether subcategory names should be displayed or not.
public
setShowSubcategoryNames(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show subcategory names?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setShowSubcategoryProducts()
Sets whether subcategory products should be displayed or not.
public
setShowSubcategoryProducts(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Show subcategory products?
Return values
CategorySettingsInterface —Same instance for chained method calls.
setSitemapChangeFreq()
Sets the change frequency of the element.
public
setSitemapChangeFreq(StringType $freq) : CategorySettingsInterface
Parameters
- $freq : StringType
-
Change frequency value.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setSitemapEntry()
Sets whether the category/product is part of the sitemap.
public
setSitemapEntry(BoolType $status) : CategorySettingsInterface
Parameters
- $status : BoolType
-
Value whether the category/product is part of the sitemap.
Return values
CategorySettingsInterface —Same instance for chained method calls.
setSitemapPriority()
Sets the sitemap priority of the element.
public
setSitemapPriority(StringType $priority) : CategorySettingsInterface
Parameters
- $priority : StringType
-
Element's sitemap priority.
Return values
CategorySettingsInterface —Same instance for chained method calls.
showAttributes()
Checks if attributes should be displayed or not.
public
showAttributes() : bool
Return values
bool —showCategoryFilter()
Gets the show category filter value.
public
showCategoryFilter() : bool
Return values
bool —showCategoryImageInDescription()
Checks if category image should be displayed in description or not.
public
showCategoryImageInDescription() : bool
Return values
bool —showGraduatedPrices()
Checks if graduated prices should be displayed or not.
public
showGraduatedPrices() : bool
Return values
bool —showQuantityInput()
Checks if a quantity input should be displayed in product forms or not.
public
showQuantityInput() : bool
Return values
bool —showStock()
Checks if the stock should be displayed or not.
public
showStock() : bool
Return values
bool —showSubcategories()
Checks if subcategories should be displayed or not.
public
showSubcategories() : bool
Return values
bool —showSubcategoryImages()
Checks if subcategory images should be displayed or not.
public
showSubcategoryImages() : bool
Return values
bool —showSubcategoryNames()
Checks if subcategory names should be displayed or not.
public
showSubcategoryNames() : bool
Return values
bool —showSubcategoryProducts()
Checks if subcategory products should be displayed or not.
public
showSubcategoryProducts() : bool