From 092d2143bd452708fe3ce8e5c6a6cfe133ee24c9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 16 Nov 2015 12:36:29 +0100 Subject: luci-base: fix uci documentation issue (#538) Signed-off-by: Jo-Philipp Wich --- documentation/api/modules/luci.model.uci.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'documentation/api/modules/luci.model.uci.html') diff --git a/documentation/api/modules/luci.model.uci.html b/documentation/api/modules/luci.model.uci.html index 9e50d9900d..cf75aebccb 100644 --- a/documentation/api/modules/luci.model.uci.html +++ b/documentation/api/modules/luci.model.uci.html @@ -1119,6 +1119,12 @@ Name of created section Set a value or create a named section. + +When invoked with three arguments config, sectionname, sectiontype, +then a named section of the given type is created. + +When invoked with four arguments config, sectionname, optionname and +optionvalue then the value of the specified option is set to the given value. @@ -1138,7 +1144,7 @@ Set a value or create a named section.
  • - value: UCI value or nil if you want to create a section + value: UCI value or nothing if you want to create a section
  • -- cgit v1.2.3