From: Victor Berchet Date: Fri, 6 Jan 2012 08:18:08 +0000 (+0100) Subject: [Twig] Add a note about multiple inheritance (use tag) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=28b9b7ba446d63103957c4be8115c5a12ee59154;p=web%2Fkonrad%2Ftwig.git [Twig] Add a note about multiple inheritance (use tag) --- diff --git a/doc/templates.rst b/doc/templates.rst index d7db1ef..117cfea 100644 --- a/doc/templates.rst +++ b/doc/templates.rst @@ -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` tag. This is an advanced feature + hardly ever needed in regular templates. + HTML Escaping -------------