PHP Class Eccube\Repository\ProductRepository

This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Inheritance: extends Doctrine\ORM\EntityRepository
显示文件 Open project: ec-cube/ec-cube Class Usage Examples

Protected Properties

Property Type Description
$app Eccube\Application

Public Methods

Method Description
get ( integer $productId ) : Product get Product.
getFavoriteProductQueryBuilderByCustomer ( $Customer ) : Doctrine\ORM\QueryBuilder get query builder.
getQueryBuilderBySearchData ( array $searchData ) : Doctrine\ORM\QueryBuilder get query builder.
getQueryBuilderBySearchDataForAdmin ( array $searchData ) : Doctrine\ORM\QueryBuilder get query builder.
setApplication ( Application $app )

Method Details

get() public method

get Product.
public get ( integer $productId ) : Product
$productId integer
return Eccube\Entity\Product

getFavoriteProductQueryBuilderByCustomer() public method

get query builder.
See also: CustomerFavoriteProductRepository::getQueryBuilderByCustomer()
Deprecation: since 3.0.0, to be removed in 3.1
public getFavoriteProductQueryBuilderByCustomer ( $Customer ) : Doctrine\ORM\QueryBuilder
$Customer
return Doctrine\ORM\QueryBuilder

getQueryBuilderBySearchData() public method

get query builder.
public getQueryBuilderBySearchData ( array $searchData ) : Doctrine\ORM\QueryBuilder
$searchData array
return Doctrine\ORM\QueryBuilder

getQueryBuilderBySearchDataForAdmin() public method

get query builder.
public getQueryBuilderBySearchDataForAdmin ( array $searchData ) : Doctrine\ORM\QueryBuilder
$searchData array
return Doctrine\ORM\QueryBuilder

setApplication() public method

public setApplication ( Application $app )
$app Eccube\Application

Property Details

$app protected_oe property

protected Application,Eccube $app
return Eccube\Application