PHP 클래스 Tetranz\Select2EntityBundle\Form\Type\Select2EntityType

상속: extends Symfony\Component\Form\AbstractType
파일 보기 프로젝트 열기: tetranz/select2entity-bundle

보호된 프로퍼티들

프로퍼티 타입 설명
$config array
$em Doctrine\Common\Persistence\ObjectManager
$router Symfony\Component\Routing\RouterInterface

공개 메소드들

메소드 설명
__construct ( Doctrine\Common\Persistence\ObjectManager $em, Symfony\Component\Routing\RouterInterface $router, array $config )
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options )
configureOptions ( Symfony\Component\OptionsResolver\OptionsResolver $resolver )
finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
getBlockPrefix ( ) : string Symfony 2.8+
getName ( ) : string pre Symfony 3 compatibility
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) Added for pre Symfony 2.7 compatibility

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\Common\Persistence\ObjectManager $em, Symfony\Component\Routing\RouterInterface $router, array $config )
$em Doctrine\Common\Persistence\ObjectManager
$router Symfony\Component\Routing\RouterInterface
$config array

buildForm() 공개 메소드

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

configureOptions() 공개 메소드

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

finishView() 공개 메소드

public finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options )
$view Symfony\Component\Form\FormView
$form Symfony\Component\Form\FormInterface
$options array

getBlockPrefix() 공개 메소드

Symfony 2.8+
public getBlockPrefix ( ) : string
리턴 string

getName() 공개 메소드

pre Symfony 3 compatibility
public getName ( ) : string
리턴 string

setDefaultOptions() 공개 메소드

Added for pre Symfony 2.7 compatibility
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver )
$resolver Symfony\Component\OptionsResolver\OptionsResolverInterface

프로퍼티 상세

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

protected array $config
리턴 array

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

protected ObjectManager,Doctrine\Common\Persistence $em
리턴 Doctrine\Common\Persistence\ObjectManager

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

protected RouterInterface,Symfony\Component\Routing $router
리턴 Symfony\Component\Routing\RouterInterface