X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=documentation%2Fapi%2Fmodules%2Fluci.model.uci.html;h=77a81fd468b37d0bbe3a07920b3fa9285a8a0e1d;hp=c84d1eb0eb54235709d47c61360d68046b9978b6;hb=27dd9d75f9e920150353db85cb126f2c83e89140;hpb=00d242918f7de007f2a05f102a9660074013293f diff --git a/documentation/api/modules/luci.model.uci.html b/documentation/api/modules/luci.model.uci.html index c84d1eb0e..77a81fd46 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
  • @@ -310,6 +306,13 @@ Get the directory for uncomitted changes. + Cursor:get_session_id () + + +Get the effective session ID. + + + Cursor:load (config) @@ -366,6 +369,13 @@ 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.
  • @@ -1274,14 +1308,47 @@ Boolean whether operation succeeded +
    Cursor:set_session_id (id)
    +
    + + +Set the effective session ID. + + + +

    Parameters

    + + + + + + + +

    Return value:

    +Boolean whether operation succeeded + + + +
    + + + +
    Cursor:substate ()
    -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. +