From 933a385d236e26b689f9535d5a5e8def817fb7a3 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Mon, 29 Oct 2012 17:50:47 +0100 Subject: [PATCH] brought back the mimetype function signature --- developer_manual/templates.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/developer_manual/templates.rst b/developer_manual/templates.rst index cd49302c5..00d496767 100644 --- a/developer_manual/templates.rst +++ b/developer_manual/templates.rst @@ -170,7 +170,6 @@ When you pass an empty string for $app, the following directories will be search :param array $args: the GET parameters that you want set in the URL in form key => value. The value will be run through urlencode() :returns: the absolute URL to the file - This function is used to produce generate clean and absolute links to your files or pages. **Example:** @@ -191,7 +190,7 @@ This function is used to produce generate clean and absolute links to your files -.. php:function mimetype_icon($mimetype) +.. php:function:: mimetype_icon($mimetype) :param array $mimetype: the mimetype for which we want to look up the icon :returns: the absolute URL to the icon