From: Fabien Potencier Date: Sun, 28 Mar 2010 12:28:10 +0000 (+0200) Subject: added a note about the without loop statement introduced in 0.9.5 (closes #34) X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=8f065b1f08edbfd99c130083ece1585408235014;p=web%2Fkonrad%2Ftwig.git added a note about the without loop statement introduced in 0.9.5 (closes #34) --- diff --git a/doc/02-Twig-for-Template-Designers.markdown b/doc/02-Twig-for-Template-Designers.markdown index afc4812..1c968e3 100644 --- a/doc/02-Twig-for-Template-Designers.markdown +++ b/doc/02-Twig-for-Template-Designers.markdown @@ -439,7 +439,9 @@ If you need a step different from 1, you can use the `range` filter instead: * {{ i }} {% endfor %} -Inside of a `for` loop block you can access some special variables: +Inside of a `for` loop block you can access some special variables (if you +don't need them, you can add `without loop` at the end of the `for` statement +for a small speed boost): | Variable | Description | --------------------- | -------------------------------------------------------------