This Class stores some settings regarding display and visibility mode of category related data and is used within a
CategoryInterface.
category
|
System
|
package
|
Category
|
subpackage
|
Entities
|
Methods
Returns the current category listing template.
getCategoryListingTemplate() : string
Gets the filter selection mode value.
getFilterSelectionMode() : integer
Gets the filter value deactivation.
getFilterValueDeactivation() : integer
Returns the current product listing template.
getProductListingTemplate() : string
Returns the column by which the products are currently sorted.
getProductSortColumn() : string
Returns the direction which the products are currently sorted in.
getProductSortDirection() : string
Returns the change frequency of the element.
getSitemapChangeFreq() : string
Returns the sitemap priority of the element.
getSitemapPriority() : string
Checks if default view mode should be tiled or not.
isDefaultViewModeTiled() : boolean
Checks if it is a permitted customer status or not.
isPermittedCustomerStatus(\IdType $customerStatusId) : boolean
Arguments
$customerStatusId
\IdType
Customer status ID.
Response
boolean
Checks if category/product is part of the sitemap.
isSitemapEntry() : boolean
Sets the current category listing template.
setCategoryListingTemplate(\StringType $filename) : \CategorySettings
Sets whether default view mode should be tiled or not.
setDefaultViewModeTiled(\BoolType $status) : \CategorySettings
Sets the filter selection mode value.
setFilterSelectionMode(\IntType $filterSelectionMode) : \Category
Arguments
Response
\Category
Same instance for chained method calls.
Sets the filter value deactivation.
setFilterValueDeactivation(\IntType $filterValueDeactivation) : \Category
Arguments
Response
\Category
Same instance for chained method calls.
Sets whether a customer status is permitted or not.
setPermittedCustomerStatus(\IdType $customerStatusId, \BoolType $permitted) : \CategorySettings
Arguments
$customerStatusId
\IdType
Customer status ID.
Response
\CategorySettings
Same instance for chained method calls.
Sets the current product listing template.
setProductListingTemplate(\StringType $filename) : \CategorySettings
Sets the column by which the products are currently sorted.
setProductSortColumn(\StringType $column) : \CategorySettings
Arguments
$column
\StringType
Column by which the products should be sorted.
Response
\CategorySettings
Same instance for chained method calls.
Sets the direction which the products are currently sorted in.
setProductSortDirection(\StringType $direction) : \CategorySettings
Arguments
$direction
\StringType
Direction which the products should be sorted in.
Response
\CategorySettings
Same instance for chained method calls.
Sets whether the attributes should be displayed or not.
setShowAttributes(\BoolType $status) : \CategorySettings
Sets the show category filter value.
setShowCategoryFilter(\BoolType $showCategoryFilter) : \Category
Arguments
Response
\Category
Same instance for chained method calls.
Sets whether category image should be displayed in description or not.
setShowCategoryImageInDescription(\BoolType $status) : \CategorySettingsInterface
Sets whether graduated prices should be displayed or not.
setShowGraduatedPrices(\BoolType $status) : \CategorySettings
Sets whether the stock should be displayed or not.
setShowStock(\BoolType $status) : \CategorySettings
Sets whether subcategories should be displayed or not.
setShowSubcategories(\BoolType $status) : \CategorySettings
Sets whether subcategory images should be displayed or not.
setShowSubcategoryImages(\BoolType $status) : \CategorySettings
Sets whether subcategory names should be displayed or not.
setShowSubcategoryNames(\BoolType $status) : \CategorySettings
Sets whether subcategory products should be displayed or not.
setShowSubcategoryProducts(\BoolType $status) : \CategorySettings
Sets the change frequency of the element.
setSitemapChangeFreq(\StringType $freq) : \CategorySettings
Sets whether the category/product is part of the sitemap.
setSitemapEntry(\BoolType $status) : \CategorySettings
Arguments
$status
\BoolType
Value whether the category/product is part of the sitemap.
Response
\CategorySettings
Same instance for chained method calls.
Sets the sitemap priority of the element.
setSitemapPriority(\StringType $priority) : \CategorySettings
Checks if attributes should be displayed or not.
showAttributes() : boolean
Gets the show category filter value.
showCategoryFilter() : boolean
Checks if category image should be displayed in description or not.
showCategoryImageInDescription() : boolean
Checks if graduated prices should be displayed or not.
showGraduatedPrices() : boolean
Checks if the stock should be displayed or not.
showStock() : boolean
Checks if subcategories should be displayed or not.
showSubcategories() : boolean
Checks if subcategory images should be displayed or not.
showSubcategoryImages() : boolean
Checks if subcategory names should be displayed or not.
showSubcategoryNames() : boolean
Checks if subcategory products should be displayed or not.
showSubcategoryProducts() : boolean
Properties
Current template which is used for category listing.
categoryListingTemplate : string
var
|
The current category listing template.
|
Type(s)
string
Current template which is used for product listing.
productListingTemplate : string
Current column by which the products are sorted.
productSortColumn : string
Current direction which the products are sorted in.
productSortDirection : string
Is category/product in the sitemap?
sitemapEntry : boolean
Priority of the element in the sitemap.
sitemapPriority : string
Change frequency of the element in the sitemap.
sitemapChangeFreq : string
Should attributes be displayed?
attributes : boolean
Should graduated prices be displayed?
graduatedPrices : boolean
Should quantity info be displayed?
stock : boolean
Should subcategories be displayed?
subcategories : boolean
Should subcategory images be displayed?
subcategoryImages : boolean
Should subcategory names be displayed?
subcategoryNames : boolean
Display category images as part of description?
showCategoryImageInDescription : boolean
Should subcategory products be displayed?
subcategoryProducts : boolean
Should default view mode be "tiled"?
viewModeTiled : boolean
Array of permitted customer status.
permittedCustomerStatus : array
showCategoryFilter
showCategoryFilter : boolean
filterSelectionMode
filterSelectionMode : integer
filterValueDeactivation
filterValueDeactivation : integer