From 27dd9d75f9e920150353db85cb126f2c83e89140 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 30 Apr 2018 14:45:25 +0200 Subject: documentation: regenerate documents from current code base Signed-off-by: Jo-Philipp Wich --- documentation/api/modules/luci.model.uci.html | 97 ++++++++++++++++++++++----- 1 file changed, 82 insertions(+), 15 deletions(-) (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 c84d1eb0eb..77a81fd468 100644 --- a/documentation/api/modules/luci.model.uci.html +++ b/documentation/api/modules/luci.model.uci.html @@ -43,19 +43,15 @@
  • - luci.http.protocol + luci.http.conditionals
  • - luci.http.protocol.conditionals + luci.http.date
  • - luci.http.protocol.date -
  • - -
  • - luci.http.protocol.mime + luci.http.mime
  • @@ -309,6 +305,13 @@ Get an option or list and return values as table. Get the directory for uncomitted changes. + + Cursor:get_session_id () + + +Get the effective session ID. + + Cursor:load (config) @@ -365,6 +368,13 @@ Set given values as list. Set the directory for uncommited changes. + + Cursor:set_session_id (id) + + +Set the effective session ID. + + Cursor:substate () @@ -631,8 +641,8 @@ Delete all sections of a given type that match certain criteria.
  • - comparator: Function that will be called for each section and -returns a boolean whether to delete the current section (optional) + comparator: Function that will be called for each section and returns + a boolean whether to delete the current section (optional)
  • @@ -903,8 +913,8 @@ Get an option or list and return values as table.

    Return value:

    -table. If the option was not found, you will simply get - an empty table. +table. If the option was not found, you will simply get an empty + table. @@ -936,6 +946,29 @@ Save directory +
    Cursor:get_session_id ()
    +
    + + +Get the effective session ID. + + + + + + + + +

    Return value:

    +String containing the session ID + + + +
    + + + +
    Cursor:load (config)
    @@ -1222,7 +1255,8 @@ has the same effect as deleting the option.
  • - value: value or table. Raw values will become a single item table. + value: Value or table. Non-table values will be set as single + item UCI list.
  • @@ -1264,6 +1298,38 @@ Set the directory for uncommited changes. +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + + +
    Cursor:set_session_id (id)
    +
    + + +Set the effective session ID. + + + +

    Parameters

    +
      + +
    • + id: String containing the session ID to set +
    • + +
    + + + + + +

    Return value:

    Boolean whether operation succeeded @@ -1278,10 +1344,11 @@ Boolean whether operation succeeded
    -Create a sub-state of this cursor. The sub-state is tied to the parent +Create a sub-state of this cursor. -curser, means it the parent unloads or loads configs, the sub state will -do so as well. +The sub-state is tied to the parent curser, means it the parent unloads or +loads configs, the sub state will do so as well. + -- cgit v1.2.3