PHP Class ProductCategory_Controller, silvershop-core

Inheritance: extends Page_Controller
Afficher le fichier Open project: burnbright/silverstripe-shop

Méthodes publiques

Méthode 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 méthode

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

NonFeaturedProducts() public méthode

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

Products() public méthode

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

getSorter() public méthode

Sorting controls
public getSorter ( ) : ListSorter
Résultat ListSorter sorter