phpDocumentor

CategorySettingsInterface

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
category

System

subpackage

Interfaces

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.

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

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

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
Return values
bool

Search results