From fad13510d2ea8498ead516490683daf68248aa56 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 2 Mar 2013 11:58:01 +0100 Subject: [PATCH] Remove sanitizeHTML parameter --- developer_manual/classes/core/templates.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/developer_manual/classes/core/templates.rst b/developer_manual/classes/core/templates.rst index abb678e27..45233fbd7 100644 --- a/developer_manual/classes/core/templates.rst +++ b/developer_manual/classes/core/templates.rst @@ -64,11 +64,10 @@ OC_Template ?> - .. php:method:: assign($key, $value[, $sanitizeHTML=true]) + .. php:method:: assign($key, $value) :param string $key: the key under which the variable can be accessed in the template :param $value: the value that we want to pass - :param bool $sanitizeHTML: false, if data shouldn't get passed through htmlentities :returns: bool This function assigns a variable. It can be accessed via $_[$key] in the template. If the key existed before, it will be overwritten