PHP Class Sonata\ProductBundle\Controller\ProductAdminController

Inheritance: extends Sonata\AdminBundle\Controller\CRUDController
Afficher le fichier Open project: sonata-project/ecommerce

Méthodes publiques

Méthode Description
createAction ( Request $request = null ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response
showVariationsAction ( Request $request = null ) : Response

Méthodes protégées

Méthode Description
getProductManager ( ) : EntityManager Return the Product manager.
getProductPool ( ) : Pool Return the Product Pool.
getTranslator ( ) : Symfony\Bundle\FrameworkBundle\Translation\Translator Return the Product Pool.

Method Details

createAction() public méthode

public createAction ( Request $request = null ) : Symfony\Bundle\FrameworkBundle\Controller\Response | Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Bundle\FrameworkBundle\Controller\Response | Symfony\Component\HttpFoundation\Response

getProductManager() protected méthode

Return the Product manager.
protected getProductManager ( ) : EntityManager
Résultat Doctrine\ORM\EntityManager

getProductPool() protected méthode

Return the Product Pool.
protected getProductPool ( ) : Pool
Résultat Sonata\Component\Product\Pool

getTranslator() protected méthode

Return the Product Pool.
protected getTranslator ( ) : Symfony\Bundle\FrameworkBundle\Translation\Translator
Résultat Symfony\Bundle\FrameworkBundle\Translation\Translator

showVariationsAction() public méthode

public showVariationsAction ( Request $request = null ) : Response
$request Symfony\Component\HttpFoundation\Request
Résultat Symfony\Component\HttpFoundation\Response