From: fabien Date: Mon, 14 Dec 2009 15:31:17 +0000 (+0000) Subject: fixed doc X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=98b4b97dfa85d6a3a4cfdd351d4857296e894280;p=web%2Fkonrad%2Ftwig.git fixed doc git-svn-id: http://svn.twig-project.org/trunk@181 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- diff --git a/doc/04-Extending-Twig.markdown b/doc/04-Extending-Twig.markdown index 5c91c28..7bc1ee6 100644 --- a/doc/04-Extending-Twig.markdown +++ b/doc/04-Extending-Twig.markdown @@ -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