PHP 클래스 Sylius\Bundle\AttributeBundle\Form\Type\AttributeValueType

저자: Paweł Jędrzejewski ([email protected])
저자: Mateusz Zalewski ([email protected])
상속: extends Sylius\Bundle\ResourceBundle\Form\Type\AbstractResourceType
파일 보기 프로젝트 열기: sylius/sylius 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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