From 98b4b97dfa85d6a3a4cfdd351d4857296e894280 Mon Sep 17 00:00:00 2001 From: fabien Date: Mon, 14 Dec 2009 15:31:17 +0000 Subject: [PATCH] fixed doc git-svn-id: http://svn.twig-project.org/trunk@181 93ef8e89-cb99-4229-a87c-7fa0fa45744b --- doc/04-Extending-Twig.markdown | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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 -- 1.7.2.5