PHP Class ProductCategory_Controller, silvershop-core

Inheritance: extends Page_Controller
Mostrar archivo Open project: burnbright/silverstripe-shop

Public Methods

Method Description
FeaturedProducts ( $recursive = true ) Return products that are featured, that is products that have "FeaturedProduct = 1"
NonFeaturedProducts ( $recursive = true ) Return products that are not featured, that is products that have "FeaturedProduct = 0"
Products ( $recursive = true ) Return the products for this group.
getSorter ( ) : ListSorter Sorting controls

Method Details

FeaturedProducts() public method

Return products that are featured, that is products that have "FeaturedProduct = 1"
public FeaturedProducts ( $recursive = true )

NonFeaturedProducts() public method

Return products that are not featured, that is products that have "FeaturedProduct = 0"
public NonFeaturedProducts ( $recursive = true )

Products() public method

Return the products for this group.
public Products ( $recursive = true )

getSorter() public method

Sorting controls
public getSorter ( ) : ListSorter
return ListSorter sorter