PHP Класс Sonata\ProductBundle\Block\VariationsFormBlockService

Автор: Hugo Briand ([email protected])
Наследование: extends Sonata\BlockBundle\Block\BaseBlockService
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$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