PHP 클래스 Sonata\ProductBundle\Block\VariationsFormBlockService

저자: Hugo Briand ([email protected])
상속: extends Sonata\BlockBundle\Block\BaseBlockService
파일 보기 프로젝트 열기: sonata-project/ecommerce

보호된 프로퍼티들

프로퍼티 타입 설명
$formFactory Symfony\Component\Form\FormFactoryInterface
$pool Sonata\Component\Product\Pool

공개 메소드들

메소드 설명
__construct ( string $name, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Pool $productPool, Symfony\Component\Form\FormFactoryInterface $formFactory )
buildEditForm ( Sonata\AdminBundle\Form\FormMapper $form, Sonata\BlockBundle\Model\BlockInterface $block )
configureSettings ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
execute ( Sonata\BlockBundle\Block\BlockContextInterface $blockContext, Response $response = null )
getName ( )
validateBlock ( Sonata\CoreBundle\Validator\ErrorElement $errorElement, Sonata\BlockBundle\Model\BlockInterface $block )

메소드 상세

__construct() 공개 메소드

public __construct ( string $name, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Pool $productPool, Symfony\Component\Form\FormFactoryInterface $formFactory )
$name string
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$productPool Sonata\Component\Product\Pool
$formFactory Symfony\Component\Form\FormFactoryInterface

buildEditForm() 공개 메소드

public buildEditForm ( Sonata\AdminBundle\Form\FormMapper $form, Sonata\BlockBundle\Model\BlockInterface $block )
$form Sonata\AdminBundle\Form\FormMapper
$block Sonata\BlockBundle\Model\BlockInterface

configureSettings() 공개 메소드

public configureSettings ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolver

execute() 공개 메소드

public execute ( Sonata\BlockBundle\Block\BlockContextInterface $blockContext, Response $response = null )
$blockContext Sonata\BlockBundle\Block\BlockContextInterface
$response Symfony\Component\HttpFoundation\Response

getName() 공개 메소드

public getName ( )

validateBlock() 공개 메소드

public validateBlock ( Sonata\CoreBundle\Validator\ErrorElement $errorElement, Sonata\BlockBundle\Model\BlockInterface $block )
$errorElement Sonata\CoreBundle\Validator\ErrorElement
$block Sonata\BlockBundle\Model\BlockInterface

프로퍼티 상세

$formFactory 보호되어 있는 프로퍼티

protected FormFactoryInterface,Symfony\Component\Form $formFactory
리턴 Symfony\Component\Form\FormFactoryInterface

$pool 보호되어 있는 프로퍼티

protected Pool,Sonata\Component\Product $pool
리턴 Sonata\Component\Product\Pool