added support for dynamic and conditional inheritance ({% extends some_var %} and...
authorFabien Potencier <fabien.potencier@gmail.com>
Wed, 9 Jun 2010 15:15:52 +0000 (17:15 +0200)
committerFabien Potencier <fabien.potencier@gmail.com>
Wed, 9 Jun 2010 21:05:45 +0000 (23:05 +0200)
commit0f51a54fc902536ae7304ae8691d27d5e0b91120
tree843a1447437e53a9b3b83c362bfc7c7dfcb6a746
parent9519a084f18ddb2e772ca4be27c0bf834f364f55
added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? minimum : base %})
20 files changed:
CHANGELOG
doc/02-Twig-for-Template-Designers.markdown
doc/06-Recipes.markdown
lib/Twig/Node/Block.php
lib/Twig/Node/BlockReference.php
lib/Twig/Node/Expression/Filter.php
lib/Twig/Node/Module.php
lib/Twig/Node/Parent.php
lib/Twig/Node/SandboxedModule.php
lib/Twig/Parser.php
lib/Twig/Template.php
lib/Twig/TokenParser/Extends.php
test/Twig/Tests/Node/BlockReferenceTest.php
test/Twig/Tests/Node/BlockTest.php
test/Twig/Tests/Node/Expression/FilterTest.php
test/Twig/Tests/Node/ModuleTest.php
test/Twig/Tests/Node/ParentTest.php
test/Twig/Tests/Node/SandboxedModuleTest.php
test/fixtures/tags/inheritance/conditional.test [new file with mode: 0644]
test/fixtures/tags/inheritance/dynamic.test [new file with mode: 0644]