fixed doc

git-svn-id: http://svn.twig-project.org/trunk@181 93ef8e89-cb99-4229-a87c-7fa0fa45744b
This commit is contained in:
fabien
2009-12-14 15:31:17 +00:00
parent 215ed4864d
commit 98b4b97dfa
+1
View File
@@ -90,6 +90,7 @@ A filter is defined as a sub-class of the `Twig_Filter` class. The
`Twig_Filter_Function` class can be used to define a filter implemented as a
function:
[php]
$filter = new Twig_Filter_Function('str_rot13');
The first argument is the name of the function to call, here `str_rot13`, a