Commit Graph

72 Commits

Author SHA1 Message Date
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
Fabien Potencier 6c7d5603ea added support for escaping strategy in the autoescape tag (closes #19) 2010-03-04 11:08:16 +01:00
fabien 62516888f8 moved the nested loop doc into a recipe
git-svn-id: http://svn.twig-project.org/trunk@214 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-08 12:48:59 +00:00
fabien 7cbc43a10f added an example of a nested loop to demonstrate the usage of loop.parent
git-svn-id: http://svn.twig-project.org/trunk@213 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 15:20:16 +00:00
fabien 7ee1a5d5e5 rewrote the tag section of the documentation
git-svn-id: http://svn.twig-project.org/trunk@211 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 09:11:53 +00:00
fabien a660519473 rewrote the filter sections of the documentation
git-svn-id: http://svn.twig-project.org/trunk@210 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 09:00:16 +00:00
fabien 4af896b9dc updated doc
git-svn-id: http://svn.twig-project.org/trunk@209 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2010-01-06 08:21:18 +00:00
fabien 62184184c6 added a not about using several directories for the filesystem loader
git-svn-id: http://svn.twig-project.org/trunk@207 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-28 20:55:27 +00:00
fabien d5d902f17c added a not about autoescape and include tags
git-svn-id: http://svn.twig-project.org/trunk@205 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 15:02:02 +00:00
fabien dceb42a327 tweaked a bit the documentation
git-svn-id: http://svn.twig-project.org/trunk@204 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-22 14:48:42 +00:00
fabien e2c7b2fadd added a way to specify variables to pass to an included template
git-svn-id: http://svn.twig-project.org/trunk@190 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 08:01:13 +00:00
fabien 7f2c743af2 fixed indentation in the docs
git-svn-id: http://svn.twig-project.org/trunk@189 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:35:23 +00:00
fabien 3259798db6 added some warnings when a section describes Twig 0.9.5
git-svn-id: http://svn.twig-project.org/trunk@188 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:34:06 +00:00
fabien 2f0d54d0c9 made auto-escaping more configurable with the new is_escaper option
git-svn-id: http://svn.twig-project.org/trunk@186 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-15 07:15:46 +00:00
fabien 5c35e8a0d7 added the floor filter
git-svn-id: http://svn.twig-project.org/trunk@184 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 19:29:23 +00:00
fabien 1357acf979 added operator precedence in the doc
git-svn-id: http://svn.twig-project.org/trunk@183 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 19:23:55 +00:00
fabien 9d4ceb4563 changed the automatic-escaping rules to be more sensible (the documentation lists all the rules)
git-svn-id: http://svn.twig-project.org/trunk@182 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 16:57:54 +00:00
fabien 98b4b97dfa fixed doc
git-svn-id: http://svn.twig-project.org/trunk@181 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 15:31:17 +00:00
fabien 215ed4864d improved the filter system to allow object methods to be used as filters
git-svn-id: http://svn.twig-project.org/trunk@180 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 15:29:19 +00:00
fabien 2d68c11464 rearranged the doc
git-svn-id: http://svn.twig-project.org/trunk@179 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 11:04:44 +00:00
fabien be7245cb35 changed the Array and String loaders to actually make use of the cache mechanism
git-svn-id: http://svn.twig-project.org/trunk@178 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 07:05:06 +00:00
fabien 40ad5abe35 added a recipe in the doc about overriding the default filters
git-svn-id: http://svn.twig-project.org/trunk@177 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-14 06:56:48 +00:00
fabien 67f4144906 updated doc
git-svn-id: http://svn.twig-project.org/trunk@175 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 15:25:48 +00:00
fabien 2b30f94f4f added some notices of features only available in 0.9.5
git-svn-id: http://svn.twig-project.org/trunk@174 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 15:20:39 +00:00
fabien 2ab4dd5be0 added the .. operator as a syntactic sugar for the range filter when the step is 1
git-svn-id: http://svn.twig-project.org/trunk@173 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 15:13:38 +00:00
fabien 237c3ff89e added another example for the range filter
git-svn-id: http://svn.twig-project.org/trunk@172 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 14:46:07 +00:00
fabien 87ba224cd4 added the range filter
git-svn-id: http://svn.twig-project.org/trunk@171 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 13:26:07 +00:00
fabien 95d5cefdd7 added the in operator
git-svn-id: http://svn.twig-project.org/trunk@170 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 13:03:07 +00:00
fabien 4c55be6dda added tests for the in filter
git-svn-id: http://svn.twig-project.org/trunk@169 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 12:55:04 +00:00
fabien 5a49c956bf added the in filter
git-svn-id: http://svn.twig-project.org/trunk@167 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 12:40:43 +00:00
fabien 7b3b893018 added some missing literals in the doc
git-svn-id: http://svn.twig-project.org/trunk@166 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 12:34:04 +00:00
fabien 35af695023 updated doc to add arrays in the 'Literals' section
git-svn-id: http://svn.twig-project.org/trunk@165 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 12:30:02 +00:00
fabien 7b003e86ec updated doc to add arrays in the 'Literals' section
git-svn-id: http://svn.twig-project.org/trunk@164 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 12:29:34 +00:00
fabien ee5c9d9363 added support for arrays (closes #50)
git-svn-id: http://svn.twig-project.org/trunk@162 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 10:54:01 +00:00