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 f4c05e3fe8 merged branch samuelwilliams/formDoc (PR #5928)
This PR was squashed before being merged into the master branch (closes #5928).

Commits
-------

6a033f3 setData method also accepts objects. Doc should reflect this.

Discussion
----------

setData method also accepts objects. Doc should reflect this.

Bug fix: no
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: NA
Todo: None
License of the code: MIT
Documentation PR: None
2012-11-12 10:51:00 +01:00
..
Event [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
Exception Revert "[Form] added a circular reference safeguard for form type" 2012-07-09 18:42:18 +02:00
Extension [Form] Fixed NumberToLocalizedStringTransformer to throw an exception if numbers contain illegal characters 2012-11-08 17:14:44 +01:00
Guess [Form] refactor Guess 2012-08-28 08:15:57 +02:00
Resources minor correction 2012-08-29 01:17:36 +01:00
Tests made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
Util Merge branch '2.1' 2012-10-24 17:41:27 +02:00
.gitattributes [2.1] Exclude tests from zips via gitattributes 2012-10-04 17:17:57 +02:00
.gitignore made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
AbstractExtension.php Fixing email 2012-05-26 09:48:33 +02:00
AbstractRendererEngine.php [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +02:00
AbstractType.php Code cleanup 2012-10-22 10:37:12 -04:00
AbstractTypeExtension.php [Form] The properties of FormView are now accessed directly in order to increase performance (PHP +200ms, Twig +150ms) 2012-07-21 12:56:11 +02:00
CallbackTransformer.php [Form] Fixed issues mentioned in the PR comments 2012-05-22 09:30:21 +02:00
CallbackValidator.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
CHANGELOG.md [Form] updated CHANGELOG 2012-10-25 15:43:31 +02:00
composer.json Optimize autoload prefix in composer.json 2012-09-28 09:34:16 +02:00
DataMapperInterface.php fixed CS 2012-07-09 14:54:20 +02:00
DataTransformerInterface.php fixed CS 2012-07-09 14:54:20 +02:00
Form.php merged branch Tobion/formexception (PR #5337) 2012-08-29 15:48:30 +02:00
FormBuilder.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormBuilderInterface.php [Form] Removed the ImmutableFormConfig class to save time spent with copying values (+20ms) 2012-07-28 10:59:23 +02:00
FormConfigBuilder.php [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +02:00
FormConfigBuilderInterface.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormConfigInterface.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormError.php [Form] fixed and added phpDoc 2012-08-27 18:33:43 +02:00
FormEvent.php [Form] Merged various form events and added class FormEvent 2012-05-25 12:34:16 +02:00
FormEvents.php Fixing email 2012-05-26 09:48:33 +02:00
FormExtensionInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormFactory.php Code cleanup 2012-10-22 10:37:12 -04:00
FormFactoryBuilder.php [Form] [Validator] Fixed issues mentioned in the PR 2012-07-30 16:22:02 +02:00
FormFactoryBuilderInterface.php [Form] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
FormFactoryInterface.php [Form] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
FormInterface.php setData method also accepts objects. Doc should reflect this. 2012-11-12 10:50:59 +01:00
FormRegistry.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormRegistryInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
FormRenderer.php Code cleanup 2012-10-22 10:37:12 -04:00
FormRendererEngineInterface.php [Form] Improved FormRenderer API to reduce the size of the function call stack during rendering 2012-07-22 09:29:35 +02:00
FormRendererInterface.php Code cleanup 2012-10-22 10:37:12 -04:00
Forms.php Code cleanup 2012-10-22 10:37:12 -04:00
FormTypeExtensionInterface.php [Form] The properties of FormView are now accessed directly in order to increase performance (PHP +200ms, Twig +150ms) 2012-07-21 12:56:11 +02:00
FormTypeGuesserChain.php [Form] Fixed issues mentioned in the PR comments 2012-05-22 09:30:21 +02:00
FormTypeGuesserInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormTypeInterface.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormValidatorInterface.php fixed CS 2012-07-09 14:54:20 +02:00
FormView.php [Form] Added a layer of 2.0 BC methods to FormView and updated UPGRADE and CHANGELOG 2012-07-21 13:49:32 +02:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
phpunit.xml.dist made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
PreloadedExtension.php [Form] [Validator] Fixed issues mentioned in the PR 2012-07-30 16:22:02 +02:00
README.md made usage of Composer autoloader for subtree-split unit tests 2012-11-09 14:10:06 +01:00
ResolvedFormType.php Code cleanup 2012-10-22 10:37:12 -04:00
ResolvedFormTypeFactory.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeFactoryInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ResolvedFormTypeInterface.php [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02:00
ReversedTransformer.php Fixing email 2012-05-26 09:48:33 +02:00

Form Component

Form provides tools for defining forms, rendering and binding 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.0/book/forms.html

Resources

You can run the unit tests with the following command:

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