Fabien Potencier
cad6643e77
simplified exceptions as Twig is now smart enough to automatically add line information
2011-04-21 09:03:30 +02:00
Fabien Potencier
54b77d24dd
made the %count% variable automatically available when using the transchoice filter (similar to how the tag works)
2011-04-21 09:01:11 +02:00
Bernhard Schussek
273d72ef75
[Form] Changed separator for Twig blocks from double underscore to single underscore to match the PHP template separator
2011-04-18 14:28:01 +02:00
Fabien Potencier
4bb823fda4
[Form] added missing interfaces
2011-04-18 10:54:34 +02:00
Fabien Potencier
3a2ca3dd92
moved Doctrine2 Entity Type guesser to the Doctrine bridge
2011-04-18 08:44:37 +02:00
Brikou CARRE
e898445b94
removed empty lines/trailing spaces
2011-04-15 21:12:02 +02:00
Henrik Bjørnskov
e687685f98
[Form] change FormView::setVar,getVar,getVars,hasVar to set,get,all,has
...
[Form] Fixed {get,set,has}Var references in templating php
[Form] Added getVars to FormView to ease usage in Twig. Also added some phpdoc and cleaned up the get method by adding a default value
[Form] Fix
[Form] Delete file generated by test
2011-04-15 15:25:37 +02:00
Bernhard Schussek
fa457b1cc4
[Form] Renamed 'filter' listeners to 'on' to match naming conventions across the framework
2011-04-15 10:57:32 +02:00
Bernhard Schussek
2ddc85ae5a
[Form][Twig] Removed obsolete form_data() helper
2011-04-14 15:14:19 +02:00
Bernhard Schussek
72b17cd67c
[Form] Renamed TemplateContext to FormView
2011-04-14 15:02:51 +02:00
Bernhard Schussek
ca6ae09779
[Form] Removed TemplateContext::create()
2011-04-14 14:42:17 +02:00
Bernhard Schussek
ce5f3073bd
Fixed test suite and names of accessor methods in TemplateContext
2011-04-14 03:52:52 +02:00
Bernhard Schussek
96f040cec1
[Form] Added extensive test coverage for div_layout.html.twig
2011-04-14 03:15:56 +02:00
Bernhard Schussek
8031ad77c8
Merge remote branch 'fabpot/form' into fabpot_merge
2011-04-13 15:58:15 +02:00
Bernhard Schussek
2a18be1c9f
Merge remote branch 'symfony/master' into experimental
2011-04-13 13:53:20 +02:00
Martin Hason
d39ea6ae79
[Bridge][Twig] improved behaviour of the transchoice tag (support for variables)
2011-04-12 11:15:19 +02:00
Martin Hason
d300b94745
[Bridge][Twig] added transchoice filter
2011-04-12 11:10:55 +02:00
Fabien Potencier
7f2294395c
[Form] reverted the templating part to be similar to what we have today
2011-04-11 16:42:51 +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
be9ef42af9
[Form] Renamed choice transformers for better clarity
2011-04-02 16:11:20 +02:00
Bernhard Schussek
a4bbc40ac6
[Form] Cleaned up ChoiceListInterface
2011-04-02 15:41:43 +02:00
Bernhard Schussek
d3c8647f49
[Form] Fixed EntitiesToArrayTransformer::reverseTransform() to accept NULL values
2011-04-02 14:13:16 +02:00
Bernhard Schussek
53838abf3f
Merge remote branch 'symfony/master' into experimental
...
Conflicts:
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/money_field.html.php
src/Symfony/Bundle/FrameworkBundle/Resources/views/Form/percent_field.html.php
src/Symfony/Component/Form/Resources/config/validation.xml
2011-03-28 22:52:15 +02:00
Fabien Potencier
faf9782e6f
renamed Twig TransExtension to TranslationExtension
2011-03-28 16:16:54 +02:00
Bernhard Schussek
edfae73cd4
[Form] Moved PropertyPath, PropertyPathIterator and VirtualFormAwareIterator to subnamespace Util
2011-03-27 15:37:13 +02:00
Bernhard Schussek
89361d036f
[Form] Renamed FormType::configure() to FormType::buildForm()
2011-03-26 18:52:24 +01:00
Bernhard Schussek
40ee22c8b4
[Form] Fixed call to DataEvent::getForm() in Doctrine bridge
2011-03-25 02:17:40 +01:00
Benjamin Eberlei
ee96ad0e81
[Form] [DoctrineBridge] Move EntityType and DoctrineTypeLoader into Doctrine Bridge
2011-03-24 22:43:00 +01:00
Fabien Potencier
9595963c2b
[Routing] changed interface of the router twig extension as we don't need a full router
2011-03-23 16:27:08 +01:00
Fabien Potencier
82dec51b30
moved integration between the Yaml component and Twig to a Symfony Bridge
2011-03-23 15:50:55 +01:00
Fabien Potencier
e912b347f0
moved integration between the Translation component and Twig to a Symfony Bridge
2011-03-23 15:23:52 +01:00
Fabien Potencier
3e5bd67dac
moved integration between Routing and Twig to a Symfony Bridge
2011-03-23 15:16:57 +01:00