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 d277c16a27 Merge branch '2.6' into 2.7
* 2.6: (36 commits)
  [Debug] fix error message on double exception
  [Validator] make DateTime objects represented as strings in the violation message.
  [RFC] [DebugBundle] [HttpKernel] Avoid using container as dependency for DumpListener
  Upgrade information for the Translation component regarding the new LoggingTranslator class.
  [WebProfilerBundle] Remove usage of app.request in search bar template
  Fix initialized() with aliased services
  fix data type in docblock
  Rename Symfony2 to Symfony
  bumped Symfony version to 2.6.0
  updated VERSION for 2.6.0-BETA2
  updated CHANGELOG for 2.6.0-BETA2
  [Debug] fix ENT_SUBSTITUTE usage
  compare version using PHP_VERSION_ID
  backport #12489
  remove an unneeded check
  Remove block submit_widget
  reformat code as suggested by @fabpot
  Fix typo
  Make `\Request::get` more performant.
  properly set request attributes in controller test
  ...
2014-11-28 11:00:56 +01:00
..
Exception [Form] removed deprecated exceptions 2013-05-04 13:06:57 +02:00
Extension Merge branch '2.5' into 2.6 2014-11-28 11:00:40 +01:00
Guess [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
Resources Merge branch '2.3' into 2.5 2014-11-20 14:22:25 +01:00
Test Merge branch '2.3' into 2.4 2014-07-15 16:07:10 +02:00
Tests Merge branch '2.5' into 2.6 2014-11-28 11:00:40 +01:00
Util Merge branch '2.4' into 2.5 2014-09-25 11:52:29 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
AbstractExtension.php minor #10717 unified return null usages (fabpot) 2014-04-18 22:35:25 +02:00
AbstractRendererEngine.php fixed types in phpdocs 2014-04-16 12:30:19 +02:00
AbstractType.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
AbstractTypeExtension.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
Button.php [Form] The trace of form errors is now displayed in the profiler 2014-09-30 23:08:39 +02:00
ButtonBuilder.php Merge branch '2.4' into 2.5 2014-09-17 11:50:16 +02:00
ButtonTypeInterface.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
CallbackTransformer.php [Form] allowed CallbackTransformer to use callable 2014-08-06 15:53:52 +02:00
CHANGELOG.md *_timezone changes also affect the BirthdayType 2014-11-16 19:10:38 +01:00
ClickableInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
composer.json updated version to 2.7 2014-11-10 19:00:54 +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 [Form] The trace of form errors is now displayed in the profiler 2014-09-30 23:08:39 +02:00
FormBuilder.php Remove aligned '=>' and '=' 2014-10-26 08:30:58 +01:00
FormBuilderInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormConfigBuilder.php Merge branch '2.4' into 2.5 2014-09-22 11:14:18 +02:00
FormConfigBuilderInterface.php [Form] Fix PHPDoc for builder setData methods 2014-09-16 11:11:47 +02:00
FormConfigInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormError.php Merge branch '2.4' into 2.5 2014-09-22 11:14:18 +02:00
FormErrorIterator.php fixed types in phpdocs 2014-04-16 12:36:34 +02:00
FormEvent.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
FormEvents.php [Form] Add doc for FormEvents 2014-11-17 14:54:58 +01:00
FormExtensionInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormFactory.php Merge branch '2.3' into 2.5 2014-10-26 08:41:27 +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 [Form] The trace of form errors is now displayed in the profiler 2014-09-30 23:08:39 +02:00
FormRegistry.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02: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 [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormRendererInterface.php Merge branch '2.3' into 2.4 2014-07-15 16:07:10 +02:00
Forms.php Code cleanup 2012-10-22 10:37:12 -04:00
FormTypeExtensionInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormTypeGuesserChain.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormTypeGuesserInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormTypeInterface.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02:00
FormView.php Remove aligned '=>' and '=' 2014-10-26 08:30:58 +01:00
LICENSE update year on licenses 2014-01-07 08:19:25 -05: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 removed defaults from PHPUnit configuration 2014-07-07 12:13:42 +02:00
PreloadedExtension.php [2.3][Form] Cleanup & fix phpdocs 2014-07-09 12:39:32 +02: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 Merge branch '2.3' into 2.4 2014-07-15 16:07:10 +02: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 made {@inheritdoc} annotations consistent across the board 2014-04-16 09:04:20 +02: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