PHP 클래스 WellCommerce\Bundle\CoreBundle\Controller\AbstractController

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

공개 메소드들

메소드 설명
__construct ( WellCommerce\Bundle\DoctrineBundle\Manager\ManagerInterface $manager, WellCommerce\Component\Form\FormBuilderInterface $formBuilder = null ) AbstractController constructor.

보호된 메소드들

메소드 설명
createFormDefaultJsonResponse ( WellCommerce\Component\Form\Elements\FormInterface $form ) : Symfony\Component\HttpFoundation\JsonResponse
displayTemplate ( string $templateName, array $templateVars = [] ) : Response
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 ) : RedirectResponse
redirectToAction ( string $actionName = 'index', array $params = [] ) : RedirectResponse
redirectToRoute ( string $routeName, array $routeParams = [] ) : RedirectResponse
renderView ( string $view, array $parameters = [] ) : string

메소드 상세

__construct() 공개 메소드

AbstractController constructor.
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

createFormDefaultJsonResponse() 보호된 메소드

protected createFormDefaultJsonResponse ( WellCommerce\Component\Form\Elements\FormInterface $form ) : Symfony\Component\HttpFoundation\JsonResponse
$form WellCommerce\Component\Form\Elements\FormInterface
리턴 Symfony\Component\HttpFoundation\JsonResponse

displayTemplate() 보호된 메소드

protected displayTemplate ( string $templateName, array $templateVars = [] ) : Response
$templateName string
$templateVars array
리턴 Symfony\Component\HttpFoundation\Response

getForm() 보호된 메소드

protected getForm ( $resource, array $config = [] ) : WellCommerce\Component\Form\Elements\FormInterface
$config array
리턴 WellCommerce\Component\Form\Elements\FormInterface

getFormBuilder() 보호된 메소드

protected getFormBuilder ( )

getManager() 보호된 메소드

protected getManager ( )

getRedirectToActionUrl() 보호된 메소드

protected getRedirectToActionUrl ( string $actionName = 'index', array $params = [] ) : string
$actionName string
$params array
리턴 string

jsonResponse() 보호된 메소드

protected jsonResponse ( array $content ) : Symfony\Component\HttpFoundation\JsonResponse
$content array
리턴 Symfony\Component\HttpFoundation\JsonResponse

redirectResponse() 보호된 메소드

protected redirectResponse ( string $url, integer $status = RedirectResponse::HTTP_FOUND ) : RedirectResponse
$url string
$status integer
리턴 Symfony\Component\HttpFoundation\RedirectResponse

redirectToAction() 보호된 메소드

protected redirectToAction ( string $actionName = 'index', array $params = [] ) : RedirectResponse
$actionName string
$params array
리턴 Symfony\Component\HttpFoundation\RedirectResponse

redirectToRoute() 보호된 메소드

protected redirectToRoute ( string $routeName, array $routeParams = [] ) : RedirectResponse
$routeName string
$routeParams array
리턴 Symfony\Component\HttpFoundation\RedirectResponse

renderView() 보호된 메소드

protected renderView ( string $view, array $parameters = [] ) : string
$view string
$parameters array
리턴 string