PHP Class Sonata\Component\Product\ProductFinder

Author: Hugo Briand ([email protected])
Inheritance: implements Sonata\Component\Product\ProductFinderInterface
Afficher le fichier Open project: sonata-project/ecommerce Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Sonata\Component\Product\ProductManagerInterface $pManager ) Constructor.
getCrossSellingSimilarParentProducts ( Sonata\Component\Product\ProductInterface $product, $limit = null )
getCrossSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product )
getUpSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product )

Method Details

__construct() public méthode

Constructor.
public __construct ( Sonata\Component\Product\ProductManagerInterface $pManager )
$pManager Sonata\Component\Product\ProductManagerInterface

getCrossSellingSimilarParentProducts() public méthode

public getCrossSellingSimilarParentProducts ( Sonata\Component\Product\ProductInterface $product, $limit = null )
$product Sonata\Component\Product\ProductInterface

getCrossSellingSimilarProducts() public méthode

public getCrossSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product )
$product Sonata\Component\Product\ProductInterface

getUpSellingSimilarProducts() public méthode

public getUpSellingSimilarProducts ( Sonata\Component\Product\ProductInterface $product )
$product Sonata\Component\Product\ProductInterface