PHP Class Sonata\ProductBundle\Repository\BaseProductRepository

Author: Sylvain Deloux ([email protected])
Inheritance: extends Doctrine\ORM\EntityRepository
Afficher le fichier Open project: sonata-project/ecommerce

Méthodes publiques

Méthode Description
findLastActiveProducts ( integer $limit = 5 ) : array Returns an array of last products.

Method Details

findLastActiveProducts() public méthode

Returns an array of last products.
public findLastActiveProducts ( integer $limit = 5 ) : array
$limit integer Number max of required results
Résultat array