PHP Класс Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType

Автор: Paweł Jędrzejewski ([email protected])
Автор: Mateusz Zalewski ([email protected])
Наследование: extends Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$attributeChoiceType string
$attributeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$formTypeRegistry Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface

Открытые методы

Метод Описание
__construct ( string $dataClass, array $validationGroups, string $attributeChoiceType, Sylius\Component\Resource\Repository\RepositoryInterface $attributeRepository, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeTypeRegistry )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )

Защищенные методы

Метод Описание
addValueField ( Symfony\Component\Form\FormInterface $form, Sylius\Component\Attribute\Model\AttributeInterface $attribute )

Описание методов

__construct() публичный Метод

public __construct ( string $dataClass, array $validationGroups, string $attributeChoiceType, Sylius\Component\Resource\Repository\RepositoryInterface $attributeRepository, Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface $formTypeTypeRegistry )
$dataClass string
$validationGroups array
$attributeChoiceType string
$attributeRepository Sylius\Component\Resource\Repository\RepositoryInterface
$formTypeTypeRegistry Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface

addValueField() защищенный Метод

protected addValueField ( Symfony\Component\Form\FormInterface $form, Sylius\Component\Attribute\Model\AttributeInterface $attribute )
$form Symfony\Component\Form\FormInterface
$attribute Sylius\Component\Attribute\Model\AttributeInterface

buildForm() публичный Метод

public buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
$builder Symfony\Component\Form\FormBuilderInterface
$options array

Описание свойств

$attributeChoiceType защищенное свойство

protected string $attributeChoiceType
Результат string

$attributeRepository защищенное свойство

protected RepositoryInterface,Sylius\Component\Resource\Repository $attributeRepository
Результат Sylius\Component\Resource\Repository\RepositoryInterface

$formTypeRegistry защищенное свойство

protected FormTypeRegistryInterface,Sylius\Bundle\ResourceBundle\Form\Registry $formTypeRegistry
Результат Sylius\Bundle\ResourceBundle\Form\Registry\FormTypeRegistryInterface