From 28b9b7ba446d63103957c4be8115c5a12ee59154 Mon Sep 17 00:00:00 2001 From: Victor Berchet Date: Fri, 6 Jan 2012 09:18:08 +0100 Subject: [PATCH] [Twig] Add a note about multiple inheritance (use tag) --- doc/templates.rst | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) 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 ------------- -- 1.7.2.5