PHP Class WellCommerce\Bundle\CoreBundle\Controller\Admin\AbstractAdminController

Author: Adam Piotrowski ([email protected])
Inheritance: extends WellCommerce\Bundle\CoreBundle\Controller\AbstractController, implements AdminControllerInterface
Afficher le fichier Open project: wellcommerce/wellcommerce Class Usage Examples

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface
getDataGrid ( ) : WellCommerce\Component\DataGrid\DataGridInterface
getOrderProvider ( ) : WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface

Method Details

__construct() public méthode

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 méthode

public addAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response

deleteAction() public méthode

public deleteAction ( integer $id ) : Response
$id integer
Résultat Symfony\Component\HttpFoundation\Response

editAction() public méthode

public editAction ( integer $id ) : Response
$id integer
Résultat Symfony\Component\HttpFoundation\Response

getAuthenticatedAdmin() protected méthode

protected getAuthenticatedAdmin ( ) : WellCommerce\Bundle\AdminBundle\Entity\UserInterface
Résultat WellCommerce\Bundle\AdminBundle\Entity\UserInterface

getDataGrid() protected méthode

protected getDataGrid ( ) : WellCommerce\Component\DataGrid\DataGridInterface
Résultat WellCommerce\Component\DataGrid\DataGridInterface

getOrderProvider() protected méthode

protected getOrderProvider ( ) : WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface
Résultat WellCommerce\Bundle\OrderBundle\Provider\Admin\OrderProviderInterface

gridAction() public méthode

public gridAction ( Request $request ) : Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response

indexAction() public méthode

public indexAction ( ) : Response
Résultat Symfony\Component\HttpFoundation\Response