added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? minimum : base %})

This commit is contained in:
Fabien Potencier
2010-06-09 17:15:52 +02:00
parent 9519a084f1
commit 0f51a54fc9
20 changed files with 224 additions and 93 deletions
+1
View File
@@ -5,6 +5,7 @@ Backward incompatibilities:
* removed the sandboxed attribute of the include tag (use the new sandbox tag instead)
* refactored the Node system (if you have custom nodes, you will have to update them to use the new API)
* added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? "minimum" : "base" %})
* added a grammar sub-framework to ease the creation of custom tags
* fixed the for tag for large arrays (some loop variables are now only available for arrays and objects that implement the Countable interface)
* removed the Twig_Resource::resolveMissingFilter() method