Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Sonata
ProductBundle
Repository
BaseProductRepository
PHP Class Sonata\ProductBundle\Repository\BaseProductRepository
Author:
Sylvain Deloux (
[email protected]
)
Inheritance:
extends
Doctrine\ORM\EntityRepository
Show file
Open project: sonata-project/ecommerce
Public Methods
Method
Description
findLastActiveProducts
(
integer
$limit
= 5 ) :
array
Returns an array of last products.
Method Details
findLastActiveProducts()
public
method
Returns an array of last products.
public
findLastActiveProducts
(
integer
$limit
= 5 ) :
array
$limit
integer
Number max of required results
return
array