Commit Graph

177 Commits

Author SHA1 Message Date
Fabien Potencier 34666d408f fixed typo in the doc 2011-01-08 17:04:16 +01:00
Fabien Potencier c4b255f304 fixed doc markup 2011-01-08 15:18:32 +01:00
Fabien Potencier 1f7d142351 added callbacks for undefined functions and filters 2011-01-08 15:16:33 +01:00
Fabien Potencier 8837206e4e removed obsolete note in the doc 2011-01-08 14:38:14 +01:00
nikic 27f3155330 add Twig_Compiler type hints 2011-01-02 15:10:22 +01:00
Fabien Potencier 3cbcc1f47b removed references to old Twig versions in the doc 2010-12-31 15:40:16 +01:00
Fabien Potencier 11de78daa3 removed old recipe from the doc as macros do not output their content directly anymore 2010-12-31 15:39:15 +01:00
Fabien Potencier b012d2ed34 tweaked doc 2010-12-31 12:27:49 +01:00
Fabien Potencier 1f452f0aba added a caution about nested hashes in the docs 2010-12-30 11:40:02 +01:00
nikic 8bdf02ad7d update include doc to use hashes and the current Environment API 2010-12-30 11:26:15 +01:00
Fabien Potencier dee2656c9d changed autoescape first argument from on/off to the standard true/false 2010-12-30 11:20:20 +01:00
Fabien Potencier 98edcd0cb6 replaced {% display foo %} with {{ block('foo') }} 2010-12-30 11:20:20 +01:00
Fabien Potencier a958ada7d3 replaced {% parent %} with {{ parent() }} 2010-12-30 11:20:20 +01:00
Fabien Potencier 6302705a1f removed 'joined by' support for the 'for' tag as a tag should not output something directly 2010-12-30 11:20:19 +01:00
Fabien Potencier c456666b0c added a note about autoescaping and concatenation in the doc 2010-12-30 11:20:19 +01:00
Arnaud Le Blanc 9528bac1e4 updated doc for functions 2010-12-30 09:31:08 +01:00
nikic 522f35ed6b update Core Extension doc 2010-12-23 12:31:14 +01:00
nikic 9dcf64e386 fix Exception documentation, remove use of Twig_SyntaxError 2010-12-23 12:31:10 +01:00
Fabien Potencier d72b6ad136 readded TokenStream::look() 2010-12-22 11:51:29 +01:00
nikic 648c843523 TokenStream changes:
* remove unused look() and rewind()
 * do not shift tokens, but increase a pointer
2010-12-22 11:51:22 +01:00
Fabien Potencier b1b173f167 converted the cycle filter to a function 2010-12-20 08:46:29 +01:00
Fabien Potencier 47a73476e0 converted the constant filter to a function 2010-12-20 08:43:27 +01:00
Fabien Potencier 8fe302bb3e converted the range filter to a function 2010-12-20 08:36:03 +01:00
Fabien Potencier 508a241179 forced functions to have fn_ as a prefix to avoid name clashes between functions and variables 2010-12-19 22:24:10 +01:00
Fabien Potencier 739bfb2891 fixed doc index 2010-12-19 21:53:00 +01:00
Fabien Potencier dc884c3888 rewrote the advanced chapter and documented globals and functions 2010-12-19 20:11:00 +01:00
Fabien Potencier 9d77cf2254 added from tag 2010-12-19 19:50:00 +01:00
Fabien Potencier f9507d8883 fixed markup 2010-12-18 14:20:48 +01:00
Fabien Potencier fc4fe73f57 added a new recipe 2010-12-18 14:19:40 +01:00
Fabien Potencier e782d41963 fixed if tag documentation 2010-12-18 13:44:51 +01:00
Fabien Potencier 583718ee1a changed default filter to use the empty test 2010-12-18 12:56:44 +01:00
Fabien Potencier 4fbbad44f1 fixed markup in doc 2010-12-18 11:53:59 +01:00
Fabien Potencier 0d424bff0d added the empty test 2010-12-18 11:53:55 +01:00
nikic dfa0cb91dd some improvements to for tag compiler 2010-12-18 09:04:23 +01:00
Fabien Potencier 9a793744c6 tweaked merge filter 2010-12-16 09:44:10 +01:00
Fabien Potencier 78b104bfc3 added documentation for the merge filter 2010-12-16 09:07:55 +01:00
Fabien Potencier a855b1898a converted documentation to rst 2010-12-15 12:25:16 +01:00
Fabien Potencier 2e55141431 moved the i18n extension to the Twig Extensions repository 2010-12-15 08:32:25 +01:00
Fabien Potencier f3f72bc455 added an optimizations options to Twig_Environment 2010-12-14 17:30:45 +01:00
Fabien Potencier 9bcf7719d1 tweaked doc 2010-12-14 09:33:11 +01:00
Fabien Potencier 4505200d9f changed array/hashes notation 2010-12-14 09:33:07 +01:00
Fabien Potencier e9c329e577 fixed phpdoc, tweaked doc 2010-12-14 07:54:51 +01:00
Fabien Potencier ac0b54c141 removed the 'without loop' attribute for the 'for' tag 2010-12-13 15:59:12 +01:00
Fabien Potencier cda18ed947 added the autoescape option to enable/disable autoescaping 2010-12-12 14:34:07 +01:00
nikic 6e1f5f7b54 fix automatic escaping documentation 2010-12-12 07:33:25 +01:00
Fabien Potencier 49799bc3d4 updated documentation on operators 2010-12-03 07:11:43 +01:00
Fabien Potencier 2fe655fa2a made the Escaper and Optimizer extensions enabled by default 2010-12-02 10:26:45 +01:00
IamPersistent 167e2d8a0d add instructions for the current date 2010-11-30 13:58:45 +01:00
Fabien Potencier 13f80898a2 tweaked odc intro 2010-11-28 19:21:08 +01:00
Fabien Potencier 15e6682421 made some small changes to the previous commit 2010-11-28 17:14:26 +01:00