Fabien Potencier
22ef32e5eb
added some references to the doc
2011-10-25 16:33:42 +02:00
Fabien Potencier
fc016bd281
Revert "added a tip for the block tag"
...
This reverts commit 1a2175fc49 .
2011-10-25 14:14:55 +02:00
Fabien Potencier
1a2175fc49
added a tip for the block tag
2011-10-25 14:11:52 +02:00
Eugene Wolfson
cf03a65e8b
add another example
...
add another example to constant.rst
2011-10-22 09:27:23 -04:00
Fabien Potencier
d3178d3406
fixed doc
2011-10-16 11:15:40 +02:00
Fabien Potencier
c015e8184a
added a convert_encoding filter
2011-10-16 11:12:06 +02:00
Fabien Potencier
3377d569da
fixed download page in the docs
2011-10-14 11:46:15 +02:00
Benoît Merlet
0451cfdd16
typo
2011-10-12 15:45:28 +03:00
Fabien Potencier
b096e21daa
refactored documentation
2011-09-27 08:43:35 +02:00
Fabien Potencier
d65366e772
simplified intro and added a not about the render() method in docs
2011-09-26 11:19:36 +02:00
Fabien Potencier
d02d07d5ec
fixed makup in doc
2011-09-26 10:32:52 +02:00
Fabien Potencier
620da47e7f
tweaked docs
2011-09-23 07:36:42 +02:00
Fabien Potencier
256f57e55f
tweaked previous merge
2011-09-22 22:08:10 +02:00
Fabien Potencier
0408f0afaf
merged branch runfalk/master (PR #368 )
...
Commits
-------
eb5c9fb Recipe code formatting fix. New recipe for improved APC bytecode support
Discussion
----------
APC recipe
A new recipe to support cache invalidation when using *APC* with *apc.stat* = 0 and compiled code caching turned on. One sometimes want to test things without restarting apache. This recipe overrides *writeCacheFile* in *Twig_Environment* and calls *apc_compile_file to refresh cache.
2011-09-22 22:04:27 +02:00
Fabien Potencier
d101a05976
added traits support for the parent function
2011-09-22 14:06:20 +02:00
Fabien Potencier
543d18b27d
fixed markup in the doc
2011-08-28 09:12:46 +02:00
Fabien Potencier
4402ee2c1d
added support for an array of templates to the "extends" tag
2011-08-27 20:34:02 +02:00
Fabien Potencier
c56dd32f57
added a way to ignore a missing template when using the "include" tag
2011-08-27 14:02:05 +02:00
Fabien Potencier
35a8a0d155
added support for an array of templates to the include tag
2011-08-27 13:58:36 +02:00
Fabien Potencier
c609060f94
added the "attribute" function to allow getting dynamic attributes on variables
2011-08-27 09:46:06 +02:00
Alvaro Videla
0ef1cb0c85
Edited doc/templates.rst via GitHub
2011-08-16 16:27:40 +03:00
Fabien Potencier
46eccb9ab5
added documentation for previous merge
2011-08-06 08:44:04 +02:00
Fabien Potencier
e6dde1d6df
added GtkSourceView support in doc
2011-08-06 08:16:57 +02:00
Igor Wiedler
0580f192ca
fix highlighting of snippet in recipes doc
2011-07-31 02:25:43 +02:00
Mark Story
eaa899576c
Grammatical fix.
2011-06-27 07:28:17 -04:00
Mark Story
c178c2818e
Making docs more explict as to what kind of object can be
...
used with Twig_Function_Method.
Fixes #308
2011-06-26 17:31:56 -04:00
Fabien Potencier
8a5f6bf63b
added doc and fixed CS for previous merge
2011-06-24 10:41:55 +02:00
Fabien Potencier
d03edac8ae
added Sublime Text support in the doc
2011-06-24 10:37:02 +02:00
Fabien Potencier
46a8d8d124
reworded the section on IDEs and added an Eclipse plugin
2011-06-24 10:24:14 +02:00
Andreas Runfalk
eb5c9fbcc7
Recipe code formatting fix. New recipe for improved APC bytecode support
2011-06-22 11:03:56 +02:00
Fabien Potencier
47818dd2a1
added an exception when the template passed to "use" is not a string
2011-06-16 09:57:17 +02:00
Brikou CARRE
d90b2f7112
fixed constructor + cosmetic
2011-05-20 05:25:21 -07:00
Fabien Potencier
7bf7f54e82
tweaked docs
2011-05-18 08:14:47 +02:00
Fabien Potencier
5fd8f1f2f9
Merge remote branch 'jpb0104/master'
...
* jpb0104/master:
Added an example of escaped "at" in a date filter.
2011-05-18 08:05:56 +02:00
Jason Bouffard
c0447ec6fe
Added an example of escaped "at" in a date filter.
...
Relates to https://github.com/fabpot/Twig/issues/330
2011-05-17 14:28:44 -07:00
Fabien Potencier
432b1732e4
fixed typo in the doc
2011-04-29 11:38:34 +02:00
Fabien Potencier
3930ba0f4e
added some tests for the use tag
2011-04-29 09:43:23 +02:00
Fabien Potencier
5ea7020aa0
added documentation for traits
2011-04-29 08:27:03 +02:00
Fabien Potencier
3a31463707
added PhpStorm as IDE that supports Twig out of the box
2011-04-22 09:53:49 +02:00
Fabien Potencier
58206d816b
fixed typos in the doc
2011-04-14 10:03:43 +02:00
Fabien Potencier
91750f37e9
tweaked doc
2011-04-14 07:42:28 +02:00
Fabien Potencier
ef55950c13
fixed typo in doc
2011-04-14 07:39:48 +02:00
Fabien Potencier
385dc39689
Merge remote branch 'markstory/whitespace'
...
* markstory/whitespace:
Updating documentation for whitespace trim tags.
Making trim tags consume all whitespace, both horizontal and vertical.
Adding additional test suggested by nikic.
Making a capturing group non capturing, as the group isn't used.
Moving newline trimming into the regexp used to match end of tags.
Applying changes suggested by nikic to simplify how end of comments are processed.
Fixing some whitespace.
Fixing typo.
Adding a bit of documentation for whitespace trimming.
Adding whitespace trimming support to other tag types (comments, variables) Refactoring how whitespace trimming is done, and moving it into a separate option that is combined with other tag types. Adding more tests. Refs #284
Fixing use of non-existent method name.
Adding a test case for mixing {%- and %} tags together.
Adding a test that uses tabs. Added a test for trailing tabs and -%} Refs #284
Implementing {%- which trims non-newline whitespace preceding it. Refs
2011-04-14 07:22:57 +02:00
Mark Story
485213a22b
Updating documentation for whitespace trim tags.
2011-04-13 22:15:32 -04:00
Hugo Hamon
599a508d89
[doc] added the link to the Twig Netbeans plugin.
2011-04-07 00:31:51 +02:00
Mark Story
08959ab5da
Fixing typo.
2011-03-31 21:24:00 -04:00
Mark Story
8f158bdda9
Adding a bit of documentation for whitespace trimming.
2011-03-30 21:55:15 -04:00
Fabien Potencier
79ab9babed
Merge remote branch 'markstory/ticket-277'
...
* markstory/ticket-277:
Updating documentation for blocks, mentioning that block names cannot contain -. Fixes #277
2011-03-21 19:24:59 +01:00
Anomareh
bec8839394
Added a link to the Twig TextMate bundle and fixed a typo.
2011-03-13 09:28:05 +01:00
Fabien Potencier
720cc7e2e1
fixed typo
2011-03-11 19:09:05 +01:00