Commit Graph

105 Commits

Author SHA1 Message Date
Fabien Potencier e4d3f43664 added a replace filter 2010-10-01 14:16:02 +02:00
Fabien Potencier 5a354ea859 made a small update to doc and rename a test file 2010-09-12 08:01:34 +02:00
Fabien Potencier 1cf01ce927 added a constant filter (refs #120) 2010-09-12 08:00:21 +02:00
Mark Story 1e9493df29 added the constant() test (closes #120) 2010-09-12 07:50:05 +02:00
Hugo Hamon 81006eed21 [doc] fixed typos in several chapters 2010-09-03 12:04:18 +02:00
Mark Story 6193ab1c9c Fixing a few small typos/grammatical errors. 2010-08-17 07:30:45 +02:00
Fabien Potencier ebe8f237f8 updated doc (closes #100) 2010-08-14 09:05:04 +02:00
Fabien Potencier 5adc74c5dd added version information in the doc 2010-08-13 19:17:13 +02:00
Fabien Potencier 1eef779e00 added a trans filter (closes #85) 2010-08-13 19:16:00 +02:00
Fabien Potencier 5d6e7e2e01 added 'test' feature via the 'is' operator (closes #88) 2010-08-13 16:22:54 +02:00
Fabien Potencier 30de2dae95 removed the debug tag (should be done in an extension) 2010-08-13 08:13:54 +02:00
Fabien Potencier c0334a3e8d added a note about the self variable before 0.9.9 2010-07-26 10:53:43 +02:00
Mark Story df0651b9af Updating documentation for addExtension() 2010-07-26 10:43:42 +02:00
Fabien Potencier 35290cd5ad fixed doc 2010-07-04 18:45:09 +02:00
Fabien Potencier 80af31538a added the special _context variable to reference the current context 2010-06-29 08:33:25 +02:00
Fabien Potencier 2c1eb31021 added a way to translate strings coming from a variable ({% trans var %}) (closes #69) 2010-06-28 15:20:10 +02:00
fivestar 336c7b1183 [doc] fixed typo in doc 2010-06-25 11:29:37 +02:00
Fabien Potencier 2ce6b27fe4 changed the default value of strict_variables to false 2010-06-12 16:47:14 +02:00
Fabien Potencier a8031fc96a added self variable, simplified macro management, added some more documentation for macros (closes #61) 2010-06-12 11:27:41 +02:00
Fabien Potencier 7e926fc235 added Twig_Template instance support to the include tag 2010-06-10 10:08:38 +02:00
Fabien Potencier 0f51a54fc9 added support for dynamic and conditional inheritance ({% extends some_var %} and {% extends standalone ? minimum : base %}) 2010-06-09 23:05:45 +02:00
Fabien Potencier 8809a1cab1 changed as to = for the set tag and removed the need for as in short-notation of the block tag (closes #54) 2010-06-09 08:20:51 +02:00
Fabien Potencier 89edc52ae4 [doc] updated documentation 2010-06-08 16:48:05 +02:00
Fabien Potencier 67746ffa6f [doc] added hashes in the Literals paragraph 2010-06-08 08:27:18 +02:00
Fabien Potencier c9257f3ed2 [doc] updated tags and filters provided by the Core extension 2010-06-07 20:45:51 +02:00
Fabien Potencier d47902c7b9 fixed the for tag for large arrays (closes #64 - based on an idea from gwilym - aeb56f9f966bd23b77d35c87999be0606dbb3f47) 2010-06-07 11:04:23 +02:00
Fabien Potencier d46517fd32 fixed typo in doc (closes #63) 2010-06-07 10:12:55 +02:00
Fabien Potencier 56318ee4a8 made a big refactoring of Twig internals (and added a bunch of unit tests and phpdoc, fixes #53) 2010-06-03 08:12:58 +02:00
Fabien Potencier 28bbe6f2de renamed ignore_invalid_vars to strict_variables 2010-05-28 07:59:29 +02:00
Fabien Potencier 0ff74caca2 [doc] added documentation for the ignore_invalid_variables option 2010-05-28 07:32:29 +02:00
Fabien Potencier 1847634d0c changed the date filter to support any date format supported by DateTime (closes #56) 2010-05-27 18:32:02 +02:00
Fabien Potencier eee3bc2869 [doc] added a paragraph about IDEs support 2010-05-27 11:09:08 +02:00
Fabien Potencier 1a539913c0 [doc] added git instructions 2010-05-27 09:51:04 +02:00
Fabien Potencier dc80fe13c8 changed the cache option to only accepts an explicit path to a cache directory or false 2010-05-26 13:34:30 +02:00
Fabien Potencier 7603ef193b changed the grammar for the short-notation of the block tag to be more consistent with other tags 2010-05-25 16:43:30 +02:00
Fabien Potencier 8651608f21 [doc] added a recipe about i18n and xgettext 2010-04-07 15:56:38 +02:00
Fabien Potencier 075f541547 added the cycle filter (closes #26) 2010-03-28 15:25:15 +02:00
Fabien Potencier 8f065b1f08 added a note about the without loop statement introduced in 0.9.5 (closes #34) 2010-03-28 14:28:10 +02:00
Fabien Potencier 12ccfd6e21 fixed documentation of the in operator 2010-03-28 14:24:08 +02:00
Fabien Potencier deee05c5fa fixed doc for the multiply operator which is not able to deal with strings (closes #29) 2010-03-28 10:12:04 +02:00
Fabien Potencier d84972e1a6 added a note about variable resolution and PHP4-style constructors (refs #33) 2010-03-28 09:49:09 +02:00
Fabien Potencier 49add7a61d updated documentation for the + operator (closes #30) 2010-03-25 13:29:44 +01:00
Fabien Potencier 522001fdbb added a note about the twig extensions repository in the doc 2010-03-25 12:09:01 +01:00
Fabien Potencier e4903e052b fixed doc 2010-03-25 12:03:27 +01:00
Fabien Potencier 029bb5b5a8 added a long-syntax for the set tag ({% set foo %}...{% endset %}) (closes #25) 2010-03-25 11:38:43 +01:00
Fabien Potencier 91fe202fbe added a note about i18n being only available in the latest version of Twig 2010-03-19 09:17:05 +01:00
Fabien Potencier 1a3fe13098 changed a title to be more explicit in the documentation 2010-03-19 09:15:31 +01:00
Fabien Potencier 6a8e2d5d24 fixed the plural with a better patch than the previous one (closes #27) 2010-03-19 09:12:26 +01:00
Fabien Potencier 4625d2f861 added the i18n extension (closes #23) 2010-03-17 20:39:34 +01:00
Fabien Potencier 23ee9f7e3f added a note in the documentation about using Twig with Xdebug 2010-03-11 16:21:04 +01:00