Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 49 lines (41 sloc) 0.974 kb
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
1 <?php
2
3 /*
4 * This file is part of the Symfony package.
5 *
66cc1f0 @fabpot fixed email
fabpot authored
6 * (c) Fabien Potencier <fabien@symfony.com>
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\Form;
13
a7346eb @peterrehm Deprecated setDefaultOptions() in favor of configureOptions()
peterrehm authored
14 use Symfony\Component\OptionsResolver\OptionsResolver;
f3d83a1 @webmozart [Form] Changed getDefaultOptions() to setDefaultOptions(OptionsResolver ...
webmozart authored
15
16 /**
17 * @author Bernhard Schussek <bschussek@gmail.com>
18 */
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
19 abstract class AbstractTypeExtension implements FormTypeExtensionInterface
20 {
35d9e23 @vicb [Form] phpDoc
vicb authored
21 /**
fae4396 @Tobion [Form] fix PhpDoc
Tobion authored
22 * {@inheritdoc}
35d9e23 @vicb [Form] phpDoc
vicb authored
23 */
5cc469d @webmozart [Form] Added FormBuilderInterface and FormViewInterface and cleaned up F...
webmozart authored
24 public function buildForm(FormBuilderInterface $builder, array $options)
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
25 {
26 }
27
35d9e23 @vicb [Form] phpDoc
vicb authored
28 /**
fae4396 @Tobion [Form] fix PhpDoc
Tobion authored
29 * {@inheritdoc}
35d9e23 @vicb [Form] phpDoc
vicb authored
30 */
84c9dfd @webmozart [Form] The properties of FormView are now accessed directly in order to ...
webmozart authored
31 public function buildView(FormView $view, FormInterface $form, array $options)
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
32 {
33 }
34
35d9e23 @vicb [Form] phpDoc
vicb authored
35 /**
fae4396 @Tobion [Form] fix PhpDoc
Tobion authored
36 * {@inheritdoc}
35d9e23 @vicb [Form] phpDoc
vicb authored
37 */
84c9dfd @webmozart [Form] The properties of FormView are now accessed directly in order to ...
webmozart authored
38 public function finishView(FormView $view, FormInterface $form, array $options)
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
39 {
40 }
41
35d9e23 @vicb [Form] phpDoc
vicb authored
42 /**
fae4396 @Tobion [Form] fix PhpDoc
Tobion authored
43 * {@inheritdoc}
35d9e23 @vicb [Form] phpDoc
vicb authored
44 */
a7346eb @peterrehm Deprecated setDefaultOptions() in favor of configureOptions()
peterrehm authored
45 public function configureOptions(OptionsResolver $resolver)
46 {
8c304fd @webmozart [Form] Added FormTypeInterface::getAllowedOptionValues() to better valid...
webmozart authored
47 }
3e5fc07 @webmozart [Form] Added FormTypeExtensionInterface
webmozart authored
48 }
Something went wrong with that request. Please try again.