summaryrefslogtreecommitdiffstats
path: root/user_guide_src
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2015-02-09 20:08:51 +0100
committerAndrey Andreev <narf@devilix.net>2015-02-09 20:08:51 +0100
commit51902700ca010bfc7780a62def386d280daa2773 (patch)
treeeb86cd0a90f2847534c7dcf93711eea011e95d5d /user_guide_src
parent074a214ee829e2169058b7f07efdd44edcc3fc4f (diff)
parent6732fae6a8e6a18ca840f708ee8a8f14c45b6b01 (diff)
Merge pull request #3584 from avenirer/patch-7
[ci skip] docs - some missed explanation on set_value()
Diffstat (limited to 'user_guide_src')
-rw-r--r--user_guide_src/source/helpers/form_helper.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/user_guide_src/source/helpers/form_helper.rst b/user_guide_src/source/helpers/form_helper.rst
index 4706ee706..9ddca89bc 100644
--- a/user_guide_src/source/helpers/form_helper.rst
+++ b/user_guide_src/source/helpers/form_helper.rst
@@ -571,10 +571,11 @@ The following functions are available:
// Would produce: </form> </div></div>
-.. php:function:: set_value($field[, $default = ''])
+.. php:function:: set_value($field[, $default = ''[, $html_escape = TRUE]])
:param string $field: Field name
:param string $default: Default value
+ :param bool $html_escape: Whether to turn off HTML escaping of the value
:returns: Field value
:rtype: string