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
Luiz “Felds” Liscia d685d7d08b Cast the group name as a string
This allows the options to be grouped by association fields.
2014-03-21 12:48:42 +01:00
..
Exception [Form] removed deprecated exceptions 2013-05-04 13:06:57 +02:00
Extension Cast the group name as a string 2014-03-21 12:48:42 +01:00
Guess [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
Resources renamed validators.ua.xlf to validators.uk.xlf 2013-12-12 17:34:24 +01:00
Test fixed various inconsistencies 2014-02-11 11:29:24 +01:00
Tests bug #10410 [Form] Fix "Array was modified outside object" in ResizeFormListener. (Chekote) 2014-03-19 17:44:48 +01:00
Util [Form] Fixed Form::all() signature for PHP 5.3.3 2013-08-25 14:07:23 +02:00
.gitignore Added missing files .gitignore 2013-07-21 14:12:18 +02:00
AbstractExtension.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
AbstractRendererEngine.php [Form] Fixed some PHPDoc 2012-08-27 18:33:44 +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] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
ButtonBuilder.php [Form] Added method Form::getClickedButton() to remove memory leak in FormValidator 2013-11-09 16:25:41 +01:00
ButtonTypeInterface.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
CallbackTransformer.php Fix some annotates 2013-09-19 11:36:05 +02:00
CHANGELOG.md [Form] Added radio button for empty value to expanded single-choice fields 2013-05-05 20:32:52 +02:00
ClickableInterface.php [Form] Implemented support for buttons 2013-04-13 16:46:28 +02:00
composer.json [Form] Update minimal requirement in composer.json 2014-01-07 09:39:31 +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][2.3] Fixes empty file-inputs getting treated as extra field. 2014-03-03 13:52:14 +01:00
FormBuilder.php [Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added 2013-04-29 17:31:30 +02:00
FormBuilderInterface.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
FormConfigBuilder.php removed dead code and fixed CS 2013-07-28 20:26:16 +02:00
FormConfigBuilderInterface.php [Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added 2013-04-29 17:31:30 +02:00
FormConfigInterface.php [Form] *_SET_DATA events are now guaranteed to be fired *after* the initial children were added 2013-04-29 17:31:30 +02:00
FormError.php [Form] Adapted Form component to translator integration in the validator 2013-01-08 14:43:29 +01:00
FormEvent.php [Form] removed deprecated methods and classes 2013-03-23 11:48:19 +01:00
FormEvents.php [Form] Deprecated bind() and isBound() in favor of submit() and isSubmitted() 2013-04-20 18:05:58 +02:00
FormExtensionInterface.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
FormFactory.php [Form] Removed deprecated code scheduled for removal in 2.3 2013-04-13 16:46:29 +02:00
FormFactoryBuilder.php [Form] allowed no type guesser to be registered 2012-11-09 13:51:19 +01:00
FormFactoryBuilderInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormFactoryInterface.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
FormInterface.php [Form] Make FormInterface::add docblock more explicit 2014-01-24 15:53:20 -08:00
FormRegistry.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
FormRegistryInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormRenderer.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03: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] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormTypeGuesserInterface.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
FormTypeInterface.php [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02:00
FormView.php [Form] Make exception handling consistent with other components 2013-04-20 00:34:27 +03:00
LICENSE update year on licenses 2014-01-07 08:19:25 -05:00
NativeRequestHandler.php removed unneeded use statements 2014-01-01 08:52:14 +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] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
README.md Merge branch '2.2' into 2.3 2013-09-19 11:45:20 +02:00
RequestHandlerInterface.php [Form] Deprecated bind() and isBound() in favor of submit() and isSubmitted() 2013-04-20 18:05:58 +02:00
ResolvedFormType.php [Form] fix and unify phpdoc 2013-10-31 15:15:49 +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 [Form] fix and unify phpdoc 2013-10-31 15:15:49 +01:00
ReversedTransformer.php Fixing email 2012-05-26 09:48:33 +02:00
SubmitButton.php [Form] Added support for PATCH requests 2013-04-25 16:09:14 +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.3/book/forms.html

Resources

You can run the unit tests with the following command:

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