메소드 | 설명 | |
---|---|---|
__construct ( Symfony\Component\Form\FormRegistryInterface $registry, Symfony\Component\Form\ResolvedFormTypeFactoryInterface $resolvedTypeFactory ) | ||
addType ( Symfony\Component\Form\FormTypeInterface $type ) | Adds a type. | |
create ( $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
createBuilder ( $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
createBuilderForProperty ( $class, $property, $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
createForProperty ( $class, $property, $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
createNamed ( $name, $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
createNamedBuilder ( $name, $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
getType ( string $name ) : Symfony\Component\Form\FormTypeInterface | Returns a type by name. | |
hasType ( string $name ) : boolean | Returns whether the given type is supported. |
메소드 | 설명 | |
---|---|---|
resolveType ( Symfony\Component\Form\FormTypeInterface $type ) : Symfony\Component\Form\ResolvedFormTypeInterface | Wraps a type into a ResolvedFormTypeInterface implementation and connects it with its parent type. |
public __construct ( Symfony\Component\Form\FormRegistryInterface $registry, Symfony\Component\Form\ResolvedFormTypeFactoryInterface $resolvedTypeFactory ) | ||
$registry | Symfony\Component\Form\FormRegistryInterface | |
$resolvedTypeFactory | Symfony\Component\Form\ResolvedFormTypeFactoryInterface |
public addType ( Symfony\Component\Form\FormTypeInterface $type ) | ||
$type | Symfony\Component\Form\FormTypeInterface | The type |
public createBuilder ( $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$options | array | |
$parent | Symfony\Component\Form\FormBuilderInterface |
public createBuilderForProperty ( $class, $property, $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$options | array | |
$parent | Symfony\Component\Form\FormBuilderInterface |
public createForProperty ( $class, $property, $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$options | array | |
$parent | Symfony\Component\Form\FormBuilderInterface |
public createNamed ( $name, $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$options | array | |
$parent | Symfony\Component\Form\FormBuilderInterface |
public createNamedBuilder ( $name, $type = 'form', $data = null, array $options = [], Symfony\Component\Form\FormBuilderInterface $parent = null ) | ||
$options | array | |
$parent | Symfony\Component\Form\FormBuilderInterface |