[Twig] Add a note about multiple inheritance (use tag)
authorVictor Berchet <victor.berchet@yahoo.com>
Fri, 6 Jan 2012 08:18:08 +0000 (09:18 +0100)
committerVictor Berchet <victor.berchet@yahoo.com>
Fri, 6 Jan 2012 08:22:05 +0000 (09:22 +0100)
doc/templates.rst

index d7db1ef..117cfea 100644 (file)
@@ -343,6 +343,12 @@ parent block:
     more advanced features like block nesting, scope, dynamic inheritance, and
     conditional inheritance.
 
+.. note::
+
+    Twig also supports multiple inheritance with the so called horizontal reuse
+    with the help of the :doc:`use<tags/use>` tag. This is an advanced feature
+    hardly ever needed in regular templates.
+
 HTML Escaping
 -------------