PHP Class Eccube\Repository\OrderRepository

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

Protected Properties

Property Type Description
$app

Public Methods

Method Description
changeStatus ( $orderId, Eccube\Entity\Master\OrderStatus $Status )
getCustomerCount ( Customer $Customer, array $OrderStatuses ) : Doctrine\ORM\QueryBuilder 会員の合計購入金額を取得、回数を取得
getNew ( ) : Order[] 新規受付一覧の取得
getQueryBuilderByCustomer ( Customer $Customer ) : Doctrine\ORM\QueryBuilder
getQueryBuilderBySearchData ( array $searchData ) : Doctrine\ORM\QueryBuilder
getQueryBuilderBySearchDataForAdmin ( array $searchData ) : Doctrine\ORM\QueryBuilder
setApplication ( $app )

Method Details

changeStatus() public method

public changeStatus ( $orderId, Eccube\Entity\Master\OrderStatus $Status )
$Status Eccube\Entity\Master\OrderStatus

getCustomerCount() public method

会員の合計購入金額を取得、回数を取得
public getCustomerCount ( Customer $Customer, array $OrderStatuses ) : Doctrine\ORM\QueryBuilder
$Customer Eccube\Entity\Customer
$OrderStatuses array
return Doctrine\ORM\QueryBuilder

getNew() public method

新規受付一覧の取得
public getNew ( ) : Order[]
return Eccube\Entity\Order[]

getQueryBuilderByCustomer() public method

public getQueryBuilderByCustomer ( Customer $Customer ) : Doctrine\ORM\QueryBuilder
$Customer Eccube\Entity\Customer
return Doctrine\ORM\QueryBuilder

getQueryBuilderBySearchData() public method

public getQueryBuilderBySearchData ( array $searchData ) : Doctrine\ORM\QueryBuilder
$searchData array
return Doctrine\ORM\QueryBuilder

getQueryBuilderBySearchDataForAdmin() public method

public getQueryBuilderBySearchDataForAdmin ( array $searchData ) : Doctrine\ORM\QueryBuilder
$searchData array
return Doctrine\ORM\QueryBuilder

setApplication() public method

public setApplication ( $app )

Property Details

$app protected property

protected $app