Commit graph

30 commits

Author SHA1 Message Date
Peter Potrowl c4359c39b6 Fix regression: allow using custom methods. (#440)
We used to be able to use our own methods to generate the `$choiceLabel`, instead of just the columns of the object. Now, Propel complains about the column not existing in the object.
2017-01-09 12:28:54 +01:00
Peter Potrowl 89270ebe15 Fix error on Form/Type/ModelType.php. 2016-09-02 15:43:08 +02:00
Moritz Schröder ad4827d281 Set option "by_reference" to false, so the underlying entity property (addXX(), removeXX()) gets changed not the collection (#424)
Removed unneccessary commented code
2016-06-06 12:56:58 +02:00
Gregor Harlan 5fd4b68de2 fixed ModelType for symfony 3 (#410) 2016-04-14 12:10:14 +02:00
Marc J. Schmidt d543163e37
Pulled #408 and #403. Made Symfony 3 compatible 2016-04-13 15:27:04 +02:00
Moritz Schroeder 6385c47731 Use wrong options for normalizer 2016-02-19 21:50:01 +01:00
Moritz Schroeder 9e745df8fe Added missing "property" option 2016-02-19 21:40:05 +01:00
Moritz Schroeder 224add2612 Added @deprecated for BaseAbstractType and use correct "blockPrefix" 2016-02-17 20:09:56 +01:00
Moritz Schroeder edfb13c388 Added special logic for foreignKey columns 2016-02-17 19:51:22 +01:00
Moritz Schroeder b64f7446e7 Initial commit for new sf3 form creation 2016-02-17 18:57:00 +01:00
Moritz Schroeder 6119fc9806 Initial commit for new sf3 choiceList 2016-02-17 18:54:32 +01:00
Gregor Harlan 8b4cd94db8 resolve deprecated form stuff 2016-02-11 21:33:19 +01:00
Gregor Harlan 893c85c655 introduce "Bundle" namespace part 2016-02-11 19:31:44 +01:00
Gregor Harlan 002d4d9f2f resolve deprecated function usages 2015-12-03 10:44:12 +01:00
Toni Uebernickel 28842e3a8f Merge pull request #352 from ylazarov/patch-3
Update TranslationCollectionFormListener.php
2015-12-03 07:30:51 +01:00
Gregor Harlan 32e2aa4ea8 do not translate choices of model type 2015-08-10 15:01:41 +02:00
Yordan Lazarov 468fab3c6f Update TranslationCollectionFormListener.php
Method hasParent() in FormType is deprecated and removed.
2015-08-09 15:03:17 +03:00
Marc J. Schmidt 8f2ac4c3fa Fixed some issues with symfony firewall and ModelType. 2014-12-03 18:42:05 +01:00
Marc J. Schmidt 6f3ad8f373 Fixed AbstractCommand to work with newest Propel2 version. Added option index_property back to ModelType.
Basically copied newest changes from propelv1 symfony bridge to ModelChoiceList to have more fixes included.
Fixed also some typehints.
2014-11-20 10:59:40 +01:00
Kévin Gomez f72ad1af74 Apply php-cs-fixer 2014-04-26 21:58:01 +01:00
Kévin Gomez 366a1e963e Use the PropelTypes class as PropelColumnTypes does not exist anymore 2014-04-19 02:56:20 +01:00
Kévin Gomez e8a9e22a18 Deleted useless code in the ModelChoiceList form type 2014-02-09 14:00:27 +00:00
Kévin Gomez b9ceee8abd Fixed a few inconcistencies 2013-12-15 14:04:11 +00:00
Kévin Gomez b6285562b4 Added missing form features 2013-12-12 15:03:29 +00:00
Kévin Gomez d3ee81c3c5 Applied php-cs-fixer 2013-11-24 16:37:54 +00:00
Kévin Gomez a8ceafc1bd Ported the form:generate command 2013-11-24 16:19:49 +00:00
Pierre Tachoire ffbf2de5f5 import ModelType from Propel1 Bridge 2013-11-24 11:40:35 +01:00
Kévin Gomez 05908f5791 Renamed the PropelTypeGuesser to TypeGuesser 2013-11-04 21:10:19 +00:00
Kévin Gomez 79d9b7f44a Fixed Call to undefined method ColumnMap::isTextType() 2013-11-04 21:08:41 +00:00
Kévin Gomez 44ec2b4b29 Stole the TypeGuesser (and its tests) from symfony's propel bridge 2013-11-04 16:27:38 +00:00