Commit Graph

35 Commits

Author SHA1 Message Date
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
fabien 3494bc233a added a debug tag
git-svn-id: http://svn.twig-project.org/trunk@90 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-22 01:56:15 +00:00
fabien 8c0e08eb85 fixed documentation about using a method call for filters
git-svn-id: http://svn.twig-project.org/trunk@86 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-22 00:54:10 +00:00
fabien e850d97980 updated documentation for new features
git-svn-id: http://svn.twig-project.org/trunk@78 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-18 22:53:49 +00:00
fabien abc9c5d5ca added macro support
git-svn-id: http://svn.twig-project.org/trunk@65 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-16 07:51:42 +00:00
fabien 71ee7ba1f7 added PEAR information
git-svn-id: http://svn.twig-project.org/trunk@29 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-12 10:24:04 +00:00
fabien 7365d78251 added the path to cache in the doc examples
git-svn-id: http://svn.twig-project.org/trunk@15 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-10 08:50:14 +00:00
fabien 50cbdae350 added more documentation about loaders and changed the default value for the cache
git-svn-id: http://svn.twig-project.org/trunk@10 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-10 07:57:41 +00:00
fabien fd0646e4cf initial commit
git-svn-id: http://svn.twig-project.org/trunk@4 93ef8e89-cb99-4229-a87c-7fa0fa45744b
2009-10-07 21:21:11 +00:00