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-04-14 10:05:05 +02:00
..
Event fixed CS 2011-06-08 12:16:48 +02:00
Exception [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
Extension [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
Guess [Form] Added constant Guess::VERY_HIGH_CONFIDENCE 2012-02-10 12:01:35 +01:00
Resources/config [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
Tests [Tests] Use proper assertions 2012-04-14 10:05:05 +02:00
Util [Form] Moved logic of addXxx()/removeXxx() methods to the PropertyPath class 2012-04-08 12:32:17 +02:00
AbstractExtension.php Remove useless code 2011-07-04 14:08:20 +02:00
AbstractType.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
AbstractTypeExtension.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
CallbackTransformer.php [Various] Fixed errors on PHPDocs exception names (TransformationFailedException) 2011-08-09 00:14:29 +02:00
CallbackValidator.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
composer.json merged 2.0 2012-03-11 18:00:10 +01:00
DataMapperInterface.php fixed CS 2011-06-08 12:16:48 +02:00
DataTransformerInterface.php [Various] Fixed errors on PHPDocs exception names (TransformationFailedException) 2011-08-09 00:14:29 +02:00
DefaultOptions.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
Form.php [Form] Cleaned the FormValidatorInterface deprecation 2012-04-13 18:57:23 +02:00
FormBuilder.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormError.php [Form] added support for error message pluralization 2012-02-09 07:57:19 +01:00
FormEvents.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormExtensionInterface.php [Form] phpDoc 2011-05-13 11:00:04 +02:00
FormFactory.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
FormFactoryInterface.php [Form] added support for parent of FormBuilder 2012-02-02 10:09:50 +01:00
FormInterface.php [Form] read_only and disabled attributes 2012-01-31 11:51:22 +02:00
FormTypeExtensionInterface.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
FormTypeGuesserChain.php fixed CS 2011-06-08 12:16:48 +02:00
FormTypeGuesserInterface.php [DoctrineBridge] fixed some CS 2011-12-13 10:22:12 +01:00
FormTypeInterface.php [Form] Fixed documentation, and the DateType (default options) 2012-04-11 17:26:46 +02:00
FormValidatorInterface.php [Form] Deprecated FormValidatorInterface and moved implementations to event listeners 2012-04-13 16:42:01 +02:00
FormView.php [DoctrineBridge] fixed some CS 2011-12-13 10:22:12 +01:00
LazyOption.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
LICENSE Updated LICENSE files copyright 2012-02-22 10:10:37 +01:00
Options.php [Form] Fixed option support in Form component 2012-04-11 16:37:42 +02:00
phpunit.xml.dist [PhpUnit] Fix the path to the boostrap files in the components 2012-03-30 13:49:28 +02:00
README.md moved component and bridge unit tests to the src/ directory 2012-03-29 08:37:22 +02:00
ReversedTransformer.php [Form] Fix the ReversedTransform class 2011-05-10 20:25:22 +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 -c src/Symfony/Component/Form/

If you also want to run the unit tests that depend on other Symfony Components, declare the following environment variables before running PHPUnit:

export SYMFONY_EVENT_DISPATCHER=../path/to/EventDispatcher
export SYMFONY_LOCALE=../path/to/Locale
export SYMFONY_VALIDATOR=../path/to/Validator
export SYMFONY_HTTP_FOUNDATION=../path/to/HttpFoundation