PHP Class Sonata\Component\Product\ProductFinder

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

Public Methods

Method 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 method

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

getCrossSellingSimilarParentProducts() public method

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

getCrossSellingSimilarProducts() public method

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

getUpSellingSimilarProducts() public method

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