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 e7b55fcda5 Merge branch '2.1'
* 2.1:
  [Form] removed comment now that PHPUnit 3.7 is out
  Add a Sigchild compatibility mode (set to false by default)
  fix Fatal error: Cannot access private property

Conflicts:
	src/Symfony/Component/Process/Process.php
2012-09-19 08:14:24 +02: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 merged branch mpiecko/master (PR #5280) 2012-08-30 10:23:27 +02: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 [Form] removed comment now that PHPUnit 3.7 is out 2012-09-19 08:13:43 +02:00
Util merged branch Tobion/patch-4 (PR #5293) 2012-09-10 11:24:41 +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 [Form] Restored BC in AbstractType::getDefaultOptions() and getAllowedOptionValues() 2012-07-22 09:36:58 +02: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/2.1.* by 2.2.* in composer.json files 2012-09-10 12:59:37 +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 [Form] Fixed: FormTypeInterface::getParent() supports returning FormTypeInterface instances again 2012-08-22 16:44:02 +02: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 updated method name in a comment 2012-08-07 17:22:46 +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 [Form] Improved FormRenderer API to reduce the size of the function call stack during rendering 2012-07-22 09:29:35 +02:00
Forms.php [Validator] Added entry point "Validation" for more convenient usage outside of Symfony2 2012-07-30 11:41:40 +02: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 [Form] Fixed ResolvedFormType to really be replaceable 2012-07-29 19:13:45 +02: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