PHP 클래스 WellCommerce\Bundle\CoreBundle\Controller\Admin\AbstractAdminController

저자: Adam Piotrowski ([email protected])
상속: extends WellCommerce\Bundle\CoreBundle\Controller\AbstractController, implements AdminControllerInterface
파일 보기 프로젝트 열기: wellcommerce/wellcommerce 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, WellCommerce\Component\Form\FormBuilderInterface $formBuilder = null, WellCommerce\Component\DataGrid\DataGridInterface $dataGrid = null ) AbstractAdminController constructor.
addAction ( Request $request ) : Response
deleteAction ( integer $id ) : Response
editAction ( integer $id ) : Response
gridAction ( Request $request ) : Response
indexAction ( ) : Response

보호된 메소드들

메소드 설명
getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface
getDataGrid ( ) : WellCommerce\Component\DataGrid\DataGridInterface
getOrderProvider ( ) : WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface

메소드 상세

__construct() 공개 메소드

AbstractAdminController constructor.
public __construct ( WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, WellCommerce\Component\Form\FormBuilderInterface $formBuilder = null, WellCommerce\Component\DataGrid\DataGridInterface $dataGrid = null )
$manager WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface
$formBuilder WellCommerce\Component\Form\FormBuilderInterface
$dataGrid WellCommerce\Component\DataGrid\DataGridInterface

addAction() 공개 메소드

public addAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

deleteAction() 공개 메소드

public deleteAction ( integer $id ) : Response
$id integer
리턴 Symfony\Component\HttpFoundation\Response

editAction() 공개 메소드

public editAction ( integer $id ) : Response
$id integer
리턴 Symfony\Component\HttpFoundation\Response

getAuthenticatedAdmin() 보호된 메소드

protected getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface
리턴 WellCommerce\Bundle\AdminBundle\Entity\UserInterface

getDataGrid() 보호된 메소드

protected getDataGrid ( ) : WellCommerce\Component\DataGrid\DataGridInterface
리턴 WellCommerce\Component\DataGrid\DataGridInterface

getOrderProvider() 보호된 메소드

protected getOrderProvider ( ) : WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface
리턴 WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface

gridAction() 공개 메소드

public gridAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
리턴 Symfony\Component\HttpFoundation\Response

indexAction() 공개 메소드

public indexAction ( ) : Response
리턴 Symfony\Component\HttpFoundation\Response