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
2012-06-01 07:58:58 +02:00
..
Event [Form] Merged various form events and added class FormEvent 2012-05-25 12:34:16 +02:00
Exception Fixing email 2012-05-26 09:48:33 +02:00
Extension merged 2.0 2012-05-30 13:44:37 +02:00
Guess Fixing email 2012-05-26 09:48:33 +02:00
Resources/config [Form] Allowed native framework errors to be mapped as well 2012-05-22 09:30:21 +02:00
Tests [Form] Removed invalid tests introduced again upon merge 2012-06-01 07:58:58 +02:00
Util Fixing email 2012-05-26 09:48:33 +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
AbstractType.php [Form] setDefaultOptions() is now coded against OptionsResolverInterface 2012-05-25 12:34:16 +02:00
AbstractTypeExtension.php [Form] setDefaultOptions() is now coded against OptionsResolverInterface 2012-05-25 12:34:16 +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] Inverted the logic of "single_control" and renamed it to "compound". The opposite is now "simple". 2012-05-25 12:34:16 +02:00
composer.json [OptionsParser] Renamed OptionsParser to OptionsResolver 2012-05-14 19:35:07 +02:00
DataMapperInterface.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
DataTransformerInterface.php Fixing email 2012-05-26 09:48:33 +02:00
Form.php [Form] cleanup 2012-05-28 08:48:06 +02:00
FormBuilder.php [Form] Consolidated FormInterface, FormBuilderInterface and FormViewInterface 2012-05-25 12:34:16 +02:00
FormBuilderInterface.php fixed CS (whitespace) 2012-05-25 19:46:18 +02:00
FormConfig.php [Form] cleanup 2012-05-28 08:48:06 +02:00
FormConfigEditorInterface.php Fix CS phpdoc FormConfigEditorInterface 2012-05-30 18:44:03 +02:00
FormConfigInterface.php [Form] cleanup 2012-05-28 08:48:06 +02:00
FormError.php Fixing email 2012-05-26 09:48:33 +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 [Form] fix PhpDoc 2012-05-21 04:26:59 +02:00
FormFactory.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
FormFactoryInterface.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
FormInterface.php Fixing email 2012-05-26 09:48:33 +02:00
FormTypeExtensionInterface.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
FormTypeGuesserChain.php [Form] Fixed issues mentioned in the PR comments 2012-05-22 09:30:21 +02:00
FormTypeGuesserInterface.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
FormTypeInterface.php [Form] Fixed API docs and usage of FormBuilderInterface instead of FormBuilder 2012-05-25 12:34:16 +02:00
FormValidatorInterface.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormView.php [Form] Renamed setVars() to addVars() in FormViewInterface 2012-05-25 12:34:16 +02:00
FormViewInterface.php [Form] Renamed setVars() to addVars() in FormViewInterface 2012-05-25 12:34:16 +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
README.md [Components] Tests/Autoloading fixes 2012-05-01 17:51:41 +02:00
ReversedTransformer.php Fixing email 2012-05-26 09:48:33 +02:00
UnmodifiableFormConfig.php [Form] Renamed client and application format to view and model format 2012-05-25 12:34:16 +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