PHP 클래스 Sylius\Bundle\PromotionBundle\Form\EventListener\AbstractConfigurationSubscriber

저자: Arnaud Langlade ([email protected])
상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: sylius/sylius 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$factory Symfony\Component\Form\FormFactoryInterface
$registry Sylius\Component\Registry\ServiceRegistryInterface

공개 메소드들

메소드 설명
__construct ( Sylius\Component\Registry\ServiceRegistryInterface $registry, Symfony\Component\Form\FormFactoryInterface $factory )
getSubscribedEvents ( )
postSetData ( Symfony\Component\Form\FormEvent $event )
preSetData ( Symfony\Component\Form\FormEvent $event )
preSubmit ( Symfony\Component\Form\FormEvent $event )

보호된 메소드들

메소드 설명
addConfigurationFields ( Symfony\Component\Form\FormInterface $form, string $registryIdentifier, array $data = [] )
getConfiguration ( $model ) : array
getRegistryIdentifier ( Sylius\Component\Promotion\Model\PromotionDynamicTypeInterface $rule = null, Symfony\Component\Form\FormInterface $form ) : null | string

메소드 상세

__construct() 공개 메소드

public __construct ( Sylius\Component\Registry\ServiceRegistryInterface $registry, Symfony\Component\Form\FormFactoryInterface $factory )
$registry Sylius\Component\Registry\ServiceRegistryInterface
$factory Symfony\Component\Form\FormFactoryInterface

addConfigurationFields() 보호된 메소드

protected addConfigurationFields ( Symfony\Component\Form\FormInterface $form, string $registryIdentifier, array $data = [] )
$form Symfony\Component\Form\FormInterface
$registryIdentifier string
$data array

getConfiguration() 추상적인 보호된 메소드

abstract protected getConfiguration ( $model ) : array
리턴 array

getRegistryIdentifier() 보호된 메소드

protected getRegistryIdentifier ( Sylius\Component\Promotion\Model\PromotionDynamicTypeInterface $rule = null, Symfony\Component\Form\FormInterface $form ) : null | string
$rule Sylius\Component\Promotion\Model\PromotionDynamicTypeInterface
$form Symfony\Component\Form\FormInterface
리턴 null | string

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

postSetData() 공개 메소드

public postSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

preSetData() 공개 메소드

public preSetData ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

preSubmit() 공개 메소드

public preSubmit ( Symfony\Component\Form\FormEvent $event )
$event Symfony\Component\Form\FormEvent

프로퍼티 상세

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

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

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

protected ServiceRegistryInterface,Sylius\Component\Registry $registry
리턴 Sylius\Component\Registry\ServiceRegistryInterface