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
Mario A. Alvarez Garcia f06432bc73 Code cleanup
2012-10-22 10:37:12 -04: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 Code cleanup 2012-10-22 10:37:12 -04: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 Nsdocblocks 2012-10-20 09:10:30 +02:00
Util Nsdocblocks 2012-10-20 09:10:30 +02:00
.gitattributes [2.1] Exclude tests from zips via gitattributes 2012-10-04 17:17:57 +02:00
.gitignore [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02: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] Added entry point "Forms" for more convenient usage outside of Symfony 2012-07-30 11:41:38 +02:00
composer.json replaced self.version by 2.1.* in composer.json files 2012-09-10 12:53:42 +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 merged branch Tobion/formincon (PR #5355) 2012-08-29 13:46:44 +02: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 [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
PreloadedExtension.php [Form] [Validator] Fixed issues mentioned in the PR 2012-07-30 16:22:02 +02:00
README.md [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02: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:

phpunit

If you also want to run the unit tests that depend on other Symfony Components, install dev dependencies before running PHPUnit:

php composer.phar install --dev