Method | Description | |
---|---|---|
__construct ( WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, WellCommerce\Component\Form\FormBuilderInterface $formBuilder = null ) | AbstractController constructor. |
Method | Description | |
---|---|---|
createFormDefaultJsonResponse ( WellCommerce\Component\Form\Elements\FormInterface $form ) : Symfony\Component\HttpFoundation\JsonResponse | ||
displayTemplate ( string $templateName, array $templateVars = [] ) : |
||
getForm ( $resource, array $config = [] ) : WellCommerce\Component\Form\Elements\FormInterface | ||
getFormBuilder ( ) | ||
getManager ( ) | ||
getRedirectToActionUrl ( string $actionName = 'index', array $params = [] ) : string | ||
jsonResponse ( array $content ) : Symfony\Component\HttpFoundation\JsonResponse | ||
redirectResponse ( string $url, integer $status = RedirectResponse::HTTP_FOUND ) : |
||
redirectToAction ( string $actionName = 'index', array $params = [] ) : |
||
redirectToRoute ( string $routeName, array $routeParams = [] ) : |
||
renderView ( string $view, array $parameters = [] ) : string |
public __construct ( WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, WellCommerce\Component\Form\FormBuilderInterface $formBuilder = null ) | ||
$manager | WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface | |
$formBuilder | WellCommerce\Component\Form\FormBuilderInterface |
protected createFormDefaultJsonResponse ( WellCommerce\Component\Form\Elements\FormInterface $form ) : Symfony\Component\HttpFoundation\JsonResponse | ||
$form | WellCommerce\Component\Form\Elements\FormInterface | |
return | Symfony\Component\HttpFoundation\JsonResponse |
protected displayTemplate ( string $templateName, array $templateVars = [] ) : |
||
$templateName | string | |
$templateVars | array | |
return |
protected jsonResponse ( array $content ) : Symfony\Component\HttpFoundation\JsonResponse | ||
$content | array | |
return | Symfony\Component\HttpFoundation\JsonResponse |
protected redirectResponse ( string $url, integer $status = RedirectResponse::HTTP_FOUND ) : |
||
$url | string | |
$status | integer | |
return |
protected redirectToAction ( string $actionName = 'index', array $params = [] ) : |
||
$actionName | string | |
$params | array | |
return |
protected redirectToRoute ( string $routeName, array $routeParams = [] ) : |
||
$routeName | string | |
$routeParams | array | |
return |