This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Form
Fabien Potencier d7870a2b5d Merge branch '2.6' into 2.7
* 2.6: (46 commits)
  fixxed order of usage
  [2.7] [Form] Replaced calls to array_search() by in_array() where is no need to get the index
  [Process] Make test AbstractProcessTest::testStartAfterATimeout useful again
  removed non-sense example
  Fixes small typo.
  [Validator] Remove unnecessary include in tests
  [HttpFoundation] minor: clarify Request::getUrlencodedPrefix() regex
  fixed typo
  [Validator] fix DOS-style line endings
  Drop useless execution bit
  bumped Symfony version to 2.6.5
  [Serializer] update changelog
  updated VERSION for 2.6.4
  updated CHANGELOG for 2.6.4
  bumped Symfony version to 2.5.11
  [HttpKernel] Added use of provided by #12022 method to instantiate controller class in bundle's controller resolver
  updated VERSION for 2.5.10
  updated CHANGELOG for 2.5.10
  [Validator] Add a Russian translation for invalid charset message
  [2.3] [Validator] spanish translation for invalid charset message
  ...

Conflicts:
	src/Symfony/Bridge/Doctrine/Validator/Constraints/UniqueEntityValidator.php
	src/Symfony/Component/HttpKernel/Exception/FatalErrorException.php
	src/Symfony/Component/HttpKernel/Exception/FlattenException.php
	src/Symfony/Component/HttpKernel/Kernel.php
	src/Symfony/Component/Routing/Tests/Generator/UrlGeneratorTest.php
	src/Symfony/Component/Validator/Resources/translations/validators.de.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.en.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.es.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.fr.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.pl.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.ru.xlf
	src/Symfony/Component/Validator/Resources/translations/validators.sl.xlf
2015-02-05 07:58:17 +01:00
..
Deprecated removed notices for some constants as it does not work well 2015-01-16 11:48:14 +01:00
Exception [Form] fixed deprecation triggers, removed usage of deprecated features 2015-01-08 14:06:57 +01:00
Extension Merge branch '2.6' into 2.7 2015-02-05 07:58:17 +01:00
Guess [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
Resources Merge branch '2.3' into 2.5 2015-02-05 07:31:40 +01:00
Test [Form] fix Context\ExecutionContextInterface mock 2015-01-05 18:29:33 +01:00
Tests Merge branch '2.6' into 2.7 2015-01-25 04:36:33 +01:00
Util Fixes more deprecation notices as per @stof review. 2015-01-05 16:02:28 +01:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
AbstractExtension.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
AbstractRendererEngine.php Docblock fixes 2014-11-30 13:33:44 +00:00
AbstractType.php Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
AbstractTypeExtension.php Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
Button.php Merge branch '2.5' into 2.6 2014-12-22 17:44:09 +01:00
ButtonBuilder.php Normalized @deprecated annotations. 2015-01-05 16:02:26 +01:00
ButtonTypeInterface.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
CallbackTransformer.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
CHANGELOG.md Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
ClickableInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
composer.json bumped min PHP version to 5.3.9 2015-01-09 07:51:41 +01:00
DataMapperInterface.php [Form] Moved parent data inheritance from data mappers to Form 2013-04-19 10:09:37 +02:00
DataTransformerInterface.php Merge branch '2.2' 2013-05-06 22:03:44 +02:00
Form.php Merge branch '2.6' into 2.7 2015-01-09 19:07:24 +01:00
FormBuilder.php Docblock fixes 2014-11-30 13:33:44 +00:00
FormBuilderInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormConfigBuilder.php Merge branch '2.6' into 2.7 2015-01-20 02:40:35 +01:00
FormConfigBuilderInterface.php Docblock fixes 2014-11-30 13:33:44 +00:00
FormConfigInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormError.php Merge branch '2.3' into 2.5 2014-12-22 17:29:52 +01:00
FormErrorIterator.php CS fixes 2014-12-04 20:26:11 +00:00
FormEvent.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
FormEvents.php Normalized @deprecated annotations. 2015-01-05 16:02:26 +01:00
FormExtensionInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormFactory.php [Form] fixed a maxlength overring on a guessing 2014-12-12 08:47:01 +01:00
FormFactoryBuilder.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormFactoryBuilderInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormFactoryInterface.php fixed types in phpdocs 2014-04-16 08:51:57 +02:00
FormInterface.php Merge branch '2.5' into 2.6 2014-12-05 13:00:15 +01:00
FormRegistry.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
FormRegistryInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormRenderer.php [Form] fix CsrfProviderAdapter 2013-10-31 14:22:03 +01:00
FormRendererEngineInterface.php Docblock fixes 2014-11-30 13:33:44 +00:00
FormRendererInterface.php Merge branch '2.3' into 2.4 2014-07-15 16:07:10 +02:00
Forms.php [2.5] cleanup deprecated uses 2015-01-05 09:51:41 +01:00
FormTypeExtensionInterface.php Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
FormTypeGuesserChain.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
FormTypeGuesserInterface.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
FormTypeInterface.php Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
FormView.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
LICENSE Updated copyright to 2015 2015-01-01 13:56:52 +01:00
NativeRequestHandler.php bug #12170 [Form] fix form handling with OPTIONS request method (Tobion) 2014-11-02 02:03:36 +01:00
phpunit.xml.dist [Tests] Silenced all deprecations in tests for 2.3 2014-12-18 20:00:19 +01:00
PreloadedExtension.php Docblock fixes 2014-11-30 13:33:44 +00:00
README.md updated version to 2.7 2014-11-10 19:00:54 +01:00
RequestHandlerInterface.php [Form] Deprecated bind() and isBound() in favor of submit() and isSubmitted() 2013-04-20 18:05:58 +02:00
ResolvedFormType.php Deprecated setDefaultOptions() in favor of configureOptions() 2015-01-16 10:30:42 +01:00
ResolvedFormTypeFactory.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeFactoryInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
ResolvedFormTypeInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
ReversedTransformer.php [2.3] CS And DocBlock Fixes 2014-12-22 16:58:09 +01:00
SubmitButton.php fixed types in phpdocs 2014-04-16 12:30:19 +02:00
SubmitButtonBuilder.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
SubmitButtonTypeInterface.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00

Form Component

Form provides tools for defining forms, rendering and mapping request data to related models. Furthermore it provides integration with the Validation component.

Resources

Silex integration:

https://github.com/fabpot/Silex/blob/master/src/Silex/Provider/FormServiceProvider.php

Documentation:

http://symfony.com/doc/2.7/book/forms.html

Resources

You can run the unit tests with the following command:

$ cd path/to/Symfony/Component/Form/
$ composer.phar install
$ phpunit