Méthode | Description | |
---|---|---|
buildForm ( |
Builds the form. | |
buildForm ( Symfony\Component\Form\FormBuilderInterface $builder, array $options ) | ||
buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form ) | Builds the form view. | |
buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) | ||
buildViewBottomUp ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form ) | Builds the form view. | |
createBuilder ( string $name, Symfony\Component\Form\FormFactoryInterface $factory, array $options ) : |
Returns a builder for the current type. | |
finishView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form, array $options ) | ||
getAllowedOptionValues ( array $options ) : array | Returns the allowed option values for each option (if any). | |
getDefaultOptions ( array $options ) : array | Returns the default options for this type. | |
getExtensions ( ) : array | Returns the extensions associated with this type. | |
getParent ( ) | ||
getParent ( array $options ) : string | null | Returns the name of the parent type. | |
setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) | ||
setExtensions ( array $extensions ) | Adds extensions for this type. |
public buildView ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form ) | ||
$view | Symfony\Component\Form\FormView | The view |
$form | Symfony\Component\Form\FormInterface | The form |
public buildViewBottomUp ( Symfony\Component\Form\FormView $view, Symfony\Component\Form\FormInterface $form ) | ||
$view | Symfony\Component\Form\FormView | The view |
$form | Symfony\Component\Form\FormInterface | The form |
public createBuilder ( string $name, Symfony\Component\Form\FormFactoryInterface $factory, array $options ) : |
||
$name | string | The name of the builder |
$factory | Symfony\Component\Form\FormFactoryInterface | The form factory |
$options | array | The options |
Résultat | A form builder or null when the type does not have a builder |
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 |
public getAllowedOptionValues ( array $options ) : array | ||
$options | array | |
Résultat | array | The allowed option values |
public getDefaultOptions ( array $options ) : array | ||
$options | array | |
Résultat | array | The default options |
public getExtensions ( ) : array | ||
Résultat | array | An array of FormTypeExtensionInterface |
public setDefaultOptions ( Symfony\Component\OptionsResolver\OptionsResolverInterface $resolver ) | ||
$resolver | Symfony\Component\OptionsResolver\OptionsResolverInterface |
public setExtensions ( array $extensions ) | ||
$extensions | array | An array of FormTypeExtensionInterface |