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
fabien
2e22982551
fixed typo ( closes #48 )
...
git-svn-id: http://svn.twig-project.org/trunk@161 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-13 10:48:41 +00:00
fabien
dba457a702
added support for DateTime instances for the date filter ( closes #41 )
...
git-svn-id: http://svn.twig-project.org/trunk@150 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-02 21:41:57 +00:00
fabien
c3af27976b
added a recipe about sharing objects between the templates and the main application
...
git-svn-id: http://svn.twig-project.org/trunk@149 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-12-02 06:22:15 +00:00
fabien
36416cf2a6
fixed typo
...
git-svn-id: http://svn.twig-project.org/trunk@143 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-18 11:25:24 +00:00
fabien
d3ee1165fe
refactored loaders ( closes #38 )
...
git-svn-id: http://svn.twig-project.org/trunk@142 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-16 15:01:52 +00:00
fabien
df585dea82
moved template cache configuration to the main Twig_Environment class.
...
WARNING: This is an API change which is NOT backward compatible.
The loaders do not take the cache and autoReload options anymore.
Instead, the Twig_Environment class has two new options: cache and auto_reload.
Read the updated documentation for more information.
git-svn-id: http://svn.twig-project.org/trunk@134 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-11 17:32:47 +00:00
fabien
588fb93097
made a huge optimization for loops (again)
...
git-svn-id: http://svn.twig-project.org/trunk@118 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-07 22:18:56 +00:00
fabien
c5072c8a9e
added a tip about dynamic properties
...
git-svn-id: http://svn.twig-project.org/trunk@114 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-05 17:42:55 +00:00
fabien
452dc15ae1
added public properties support
...
git-svn-id: http://svn.twig-project.org/trunk@113 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-05 17:31:02 +00:00
fabien
c7e8e88cc9
added support for expression for the set tag
...
git-svn-id: http://svn.twig-project.org/trunk@112 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-11-05 17:18:08 +00:00
fabien
571c5d9c87
fixed typo
...
git-svn-id: http://svn.twig-project.org/trunk@104 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-27 16:33:19 +00:00
fabien
c8f67b6061
made the set tag more powerful
...
git-svn-id: http://svn.twig-project.org/trunk@103 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-27 16:31:56 +00:00
fabien
1708d34284
added a note about the compilation cache
...
git-svn-id: http://svn.twig-project.org/trunk@102 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-27 13:10:36 +00:00
fabien
34bfda364c
added some more information about creating a filter with some arguments
...
git-svn-id: http://svn.twig-project.org/trunk@101 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-27 13:05:14 +00:00