PHP 클래스 Sonata\InvoiceBundle\Controller\InvoiceController

상속: extends Symfony\Bundle\FrameworkBundle\Controller\Controller
파일 보기 프로젝트 열기: sonata-project/ecommerce

공개 메소드들

메소드 설명
downloadAction ( string $reference )
indexAction ( )
viewAction ( string $reference ) : Response

보호된 메소드들

메소드 설명
checkAccess ( Sonata\Component\Customer\CustomerInterface $customer ) Checks that the current logged in user has access to given invoice.
getInvoiceManager ( ) : Sonata\Component\Invoice\InvoiceManagerInterface
getInvoiceTransformer ( ) : InvoiceTransformer
getOrderManager ( ) : OrderManagerInterface

메소드 상세

checkAccess() 보호된 메소드

Checks that the current logged in user has access to given invoice.
protected checkAccess ( Sonata\Component\Customer\CustomerInterface $customer )
$customer Sonata\Component\Customer\CustomerInterface The linked customer

downloadAction() 공개 메소드

public downloadAction ( string $reference )
$reference string

getInvoiceManager() 보호된 메소드

protected getInvoiceManager ( ) : Sonata\Component\Invoice\InvoiceManagerInterface
리턴 Sonata\Component\Invoice\InvoiceManagerInterface

getInvoiceTransformer() 보호된 메소드

protected getInvoiceTransformer ( ) : InvoiceTransformer
리턴 Sonata\Component\Transformer\InvoiceTransformer

getOrderManager() 보호된 메소드

protected getOrderManager ( ) : OrderManagerInterface
리턴 OrderManagerInterface

indexAction() 공개 메소드

public indexAction ( )

viewAction() 공개 메소드

public viewAction ( string $reference ) : Response
$reference string
리턴 Symfony\Component\HttpFoundation\Response