Bernhard Schussek
55001abd1a
[DoctrineBridge] Loosened CollectionToArrayTransformer::transform() to accept arrays
2013-10-16 16:40:09 +02:00
Bernhard Schussek
bcb540021a
[Form] Fixed transform()/reverseTransform() to always throw TransformationFailedExceptions
2013-05-03 12:15:17 +02:00
Fabien Potencier
41621e42e9
fixed phpdoc @param alignment
2012-05-15 22:19:31 +02:00
Fabien Potencier
916597eb29
fixed CS, phpdoc, removed unused use statements
2012-01-28 18:02:36 +01:00
Bernhard Schussek
d72900e613
[Form] Incorporated changes suggested in PR comments
2012-01-23 18:58:56 +01:00
Bernhard Schussek
87b16e7015
[Form] Greatly improved ChoiceListInterface and all of its implementations
...
Fixes #2869 , fixes #3021 , fixes #1919 , fixes #3153 .
2012-01-23 18:28:25 +01:00
Benjamin Eberlei
3c81b62955
[Doctrine] Cleanup and move loader into its own method
2011-12-19 17:46:18 +01:00
Benjamin Eberlei
988c2a525e
Adjust check
2011-12-19 17:46:04 +01:00
Benjamin Eberlei
b919d92b52
[DoctrineBridge] Optimize fetching of entities to use WHERE IN and fix other inefficencies.
2011-12-19 17:45:50 +01:00
Fabien Potencier
e3421a0b1d
[DoctrineBridge] fixed some CS
2011-12-13 10:22:12 +01:00
Ryan Weaver
2270a4da5a
[Bridge][Doctrine] Adding a catch for when a developer uses the EntityType with multiple=false but on a "hasMany" relationship
...
Without this, the exception is eventually thrown in EntityChoiceList::getIdentifierValues() with a very a message that doesn't really suit the real error: "Entities passed to the choice field must be managed"
2011-10-10 08:26:22 -05:00
Elnur Abdurrakhimov
6bd1749553
Fixed a bug when multiple expanded choices would render unchecked because of the Form Framework's strict type checking.
2011-08-31 20:27:38 +04:00
Deni
1a75b7c8ca
[DoctrineBridge] Fixed typo
2011-06-08 18:52:54 +04:00
Fabien Potencier
1aabc5da64
fixed CS
2011-06-08 12:16:48 +02:00
Daniel Holmes
dd692c0203
[Form] fixed transformation failed exception
2011-05-04 05:51:03 -07:00
Fabien Potencier
4fb1035578
fixed Doctrine EntityType when the identifier is a string
2011-04-28 08:39:14 +02:00
Fabien Potencier
08bf2af455
fixed email
2011-04-24 13:59:46 +02:00
Pascal Borreli
8c0beea677
[Phpdoc] Cleaning/fixing
2011-04-23 15:18:47 +00:00
Bernhard Schussek
54e66c518f
[Form] Reorganized code into "form extensions"
...
The extension classes are now the only constructor argument of the FormFactory class. They replace the existing "type loader" classes.
new FormFactory(array(
new CoreExtension($validator, $storage),
new CsrfExtension($csrfProvider),
new DoctrineOrmExtension($em),
));
Together with a few upcoming commits this mechanism will make
* extension of the form framework in bundles and
* usage of the forms outside of Symfony2
much easier.
2011-04-22 17:41:21 +02:00
Bernhard Schussek
a5d0b3aea6
[Form] Changed FormBuilder::set(Client|Norm)Transformer to FormBuilder::prepend(Client|Norm)Transformer and FormBuilder::append(Client|Norm)Transformer to facilitate extension of types
2011-04-02 16:39:19 +02:00
Bernhard Schussek
d3c8647f49
[Form] Fixed EntitiesToArrayTransformer::reverseTransform() to accept NULL values
2011-04-02 14:13:16 +02:00
Benjamin Eberlei
ee96ad0e81
[Form] [DoctrineBridge] Move EntityType and DoctrineTypeLoader into Doctrine Bridge
2011-03-24 22:43:00 +01:00