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
+
+
+ -
+ id: String containing the session ID to set
+
+
+
+
+
+
+
+
+
+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.
+
|