mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Remove sanitizeHTML parameter
This commit is contained in:
parent
c575ef9c37
commit
fad13510d2
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user