2efef59e0ec7796429632745af1e8b0f602f28e4
[oweals/luci.git] / docs / jsapi / LuCI.uci.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <meta charset="utf-8">
5     <title>Class: uci</title>
6     
7     
8     <script src="scripts/prettify/prettify.js"></script>
9     <script src="scripts/prettify/lang-css.js"></script>
10     <script src="scripts/jquery.min.js"></script>
11     <!--[if lt IE 9]>
12       <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13     <![endif]-->
14     <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
15     <link type="text/css" rel="stylesheet" href="styles/bootstrap.min.css">
16     <link type="text/css" rel="stylesheet" href="styles/jaguar.css">
17     
18     
19     <script>
20     var config = {"monospaceLinks":true,"cleverLinks":true,"default":{"outputSourceFiles":true}};
21     </script>
22     
23
24     
25 </head>
26 <body>
27 <div id="wrap" class="clearfix">
28     
29 <div class="navigation">
30     <h3 class="applicationName"><a href="index.html"></a></h3>
31
32     <div class="search">
33         <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
34     </div>
35     <ul class="list">
36     
37         <li class="item" data-name="LuCI">
38             <span class="title">
39                 <a href="LuCI.html">LuCI</a>
40                 
41             </span>
42             <ul class="members itemMembers">
43             
44             <span class="subtitle">Members</span>
45             
46                 <li data-name="LuCI#Class"><a href="LuCI.html#Class">Class</a></li>
47             
48                 <li data-name="LuCI#dom"><a href="LuCI.html#dom">dom</a></li>
49             
50                 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
51             
52                 <li data-name="LuCI#Poll"><a href="LuCI.html#Poll">Poll</a></li>
53             
54                 <li data-name="LuCI#Request"><a href="LuCI.html#Request">Request</a></li>
55             
56                 <li data-name="LuCI#view"><a href="LuCI.html#view">view</a></li>
57             
58             </ul>
59             <ul class="typedefs itemMembers">
60             
61             <span class="subtitle">Typedefs</span>
62             
63                 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
64             
65             </ul>
66             <ul class="typedefs itemMembers">
67             
68             </ul>
69             <ul class="methods itemMembers">
70             
71             <span class="subtitle">Methods</span>
72             
73                 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
74             
75                 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
76             
77                 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
78             
79                 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
80             
81                 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
82             
83                 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
84             
85                 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
86             
87                 <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
88             
89                 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
90             
91                 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
92             
93                 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
94             
95                 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
96             
97                 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
98             
99                 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
100             
101                 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
102             
103                 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
104             
105                 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
106             
107                 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
108             
109                 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
110             
111                 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
112             
113             </ul>
114             <ul class="events itemMembers">
115             
116             </ul>
117         </li>
118     
119         <li class="item" data-name="LuCI.baseclass">
120             <span class="title">
121                 <a href="LuCI.baseclass.html">LuCI.baseclass</a>
122                 
123             </span>
124             <ul class="members itemMembers">
125             
126             </ul>
127             <ul class="typedefs itemMembers">
128             
129             </ul>
130             <ul class="typedefs itemMembers">
131             
132             </ul>
133             <ul class="methods itemMembers">
134             
135             <span class="subtitle">Methods</span>
136             
137                 <li data-name="LuCI.baseclass.extend"><a href="LuCI.baseclass.html#.extend">extend</a></li>
138             
139                 <li data-name="LuCI.baseclass.instantiate"><a href="LuCI.baseclass.html#.instantiate">instantiate</a></li>
140             
141                 <li data-name="LuCI.baseclass.isSubclass"><a href="LuCI.baseclass.html#.isSubclass">isSubclass</a></li>
142             
143                 <li data-name="LuCI.baseclass.singleton"><a href="LuCI.baseclass.html#.singleton">singleton</a></li>
144             
145                 <li data-name="LuCI.baseclass#super"><a href="LuCI.baseclass.html#super">super</a></li>
146             
147                 <li data-name="LuCI.baseclass#varargs"><a href="LuCI.baseclass.html#varargs">varargs</a></li>
148             
149             </ul>
150             <ul class="events itemMembers">
151             
152             </ul>
153         </li>
154     
155         <li class="item" data-name="LuCI.dom">
156             <span class="title">
157                 <a href="LuCI.dom.html">LuCI.dom</a>
158                 
159             </span>
160             <ul class="members itemMembers">
161             
162             </ul>
163             <ul class="typedefs itemMembers">
164             
165             <span class="subtitle">Typedefs</span>
166             
167                 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
168             
169             </ul>
170             <ul class="typedefs itemMembers">
171             
172             </ul>
173             <ul class="methods itemMembers">
174             
175             <span class="subtitle">Methods</span>
176             
177                 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
178             
179                 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
180             
181                 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
182             
183                 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
184             
185                 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
186             
187                 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
188             
189                 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
190             
191                 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
192             
193                 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
194             
195                 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
196             
197                 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
198             
199                 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
200             
201                 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
202             
203             </ul>
204             <ul class="events itemMembers">
205             
206             </ul>
207         </li>
208     
209         <li class="item" data-name="LuCI.fs">
210             <span class="title">
211                 <a href="LuCI.fs.html">LuCI.fs</a>
212                 
213             </span>
214             <ul class="members itemMembers">
215             
216             </ul>
217             <ul class="typedefs itemMembers">
218             
219             <span class="subtitle">Typedefs</span>
220             
221                 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
222             
223                 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
224             
225             </ul>
226             <ul class="typedefs itemMembers">
227             
228             </ul>
229             <ul class="methods itemMembers">
230             
231             <span class="subtitle">Methods</span>
232             
233                 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
234             
235                 <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
236             
237                 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
238             
239                 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
240             
241                 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
242             
243                 <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
244             
245                 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
246             
247                 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
248             
249                 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
250             
251                 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
252             
253             </ul>
254             <ul class="events itemMembers">
255             
256             </ul>
257         </li>
258     
259         <li class="item" data-name="LuCI.headers">
260             <span class="title">
261                 <a href="LuCI.headers.html">LuCI.headers</a>
262                 
263             </span>
264             <ul class="members itemMembers">
265             
266             </ul>
267             <ul class="typedefs itemMembers">
268             
269             </ul>
270             <ul class="typedefs itemMembers">
271             
272             </ul>
273             <ul class="methods itemMembers">
274             
275             <span class="subtitle">Methods</span>
276             
277                 <li data-name="LuCI.headers#get"><a href="LuCI.headers.html#get">get</a></li>
278             
279                 <li data-name="LuCI.headers#has"><a href="LuCI.headers.html#has">has</a></li>
280             
281             </ul>
282             <ul class="events itemMembers">
283             
284             </ul>
285         </li>
286     
287         <li class="item" data-name="LuCI.network">
288             <span class="title">
289                 <a href="LuCI.network.html">LuCI.network</a>
290                 
291             </span>
292             <ul class="members itemMembers">
293             
294             </ul>
295             <ul class="typedefs itemMembers">
296             
297             <span class="subtitle">Typedefs</span>
298             
299                 <li data-name="LuCI.network.SwitchTopology"><a href="LuCI.network.html#.SwitchTopology">SwitchTopology</a></li>
300             
301                 <li data-name="LuCI.network.WifiEncryption"><a href="LuCI.network.html#.WifiEncryption">WifiEncryption</a></li>
302             
303                 <li data-name="LuCI.network.WifiPeerEntry"><a href="LuCI.network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
304             
305                 <li data-name="LuCI.network.WifiRateEntry"><a href="LuCI.network.html#.WifiRateEntry">WifiRateEntry</a></li>
306             
307                 <li data-name="LuCI.network.WifiScanResult"><a href="LuCI.network.html#.WifiScanResult">WifiScanResult</a></li>
308             
309             </ul>
310             <ul class="typedefs itemMembers">
311             
312             </ul>
313             <ul class="methods itemMembers">
314             
315             <span class="subtitle">Methods</span>
316             
317                 <li data-name="LuCI.network#addNetwork"><a href="LuCI.network.html#addNetwork">addNetwork</a></li>
318             
319                 <li data-name="LuCI.network#addWifiNetwork"><a href="LuCI.network.html#addWifiNetwork">addWifiNetwork</a></li>
320             
321                 <li data-name="LuCI.network#deleteNetwork"><a href="LuCI.network.html#deleteNetwork">deleteNetwork</a></li>
322             
323                 <li data-name="LuCI.network#deleteWifiNetwork"><a href="LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
324             
325                 <li data-name="LuCI.network#flushCache"><a href="LuCI.network.html#flushCache">flushCache</a></li>
326             
327                 <li data-name="LuCI.network#formatWifiEncryption"><a href="LuCI.network.html#formatWifiEncryption">formatWifiEncryption</a></li>
328             
329                 <li data-name="LuCI.network#getDevice"><a href="LuCI.network.html#getDevice">getDevice</a></li>
330             
331                 <li data-name="LuCI.network#getDevices"><a href="LuCI.network.html#getDevices">getDevices</a></li>
332             
333                 <li data-name="LuCI.network#getDSLModemType"><a href="LuCI.network.html#getDSLModemType">getDSLModemType</a></li>
334             
335                 <li data-name="LuCI.network#getHostHints"><a href="LuCI.network.html#getHostHints">getHostHints</a></li>
336             
337                 <li data-name="LuCI.network#getIfnameOf"><a href="LuCI.network.html#getIfnameOf">getIfnameOf</a></li>
338             
339                 <li data-name="LuCI.network#getNetwork"><a href="LuCI.network.html#getNetwork">getNetwork</a></li>
340             
341                 <li data-name="LuCI.network#getNetworks"><a href="LuCI.network.html#getNetworks">getNetworks</a></li>
342             
343                 <li data-name="LuCI.network#getProtocol"><a href="LuCI.network.html#getProtocol">getProtocol</a></li>
344             
345                 <li data-name="LuCI.network#getProtocols"><a href="LuCI.network.html#getProtocols">getProtocols</a></li>
346             
347                 <li data-name="LuCI.network#getSwitchTopologies"><a href="LuCI.network.html#getSwitchTopologies">getSwitchTopologies</a></li>
348             
349                 <li data-name="LuCI.network#getWAN6Networks"><a href="LuCI.network.html#getWAN6Networks">getWAN6Networks</a></li>
350             
351                 <li data-name="LuCI.network#getWANNetworks"><a href="LuCI.network.html#getWANNetworks">getWANNetworks</a></li>
352             
353                 <li data-name="LuCI.network#getWifiDevice"><a href="LuCI.network.html#getWifiDevice">getWifiDevice</a></li>
354             
355                 <li data-name="LuCI.network#getWifiDevices"><a href="LuCI.network.html#getWifiDevices">getWifiDevices</a></li>
356             
357                 <li data-name="LuCI.network#getWifiNetwork"><a href="LuCI.network.html#getWifiNetwork">getWifiNetwork</a></li>
358             
359                 <li data-name="LuCI.network#getWifiNetworks"><a href="LuCI.network.html#getWifiNetworks">getWifiNetworks</a></li>
360             
361                 <li data-name="LuCI.network#isIgnoredDevice"><a href="LuCI.network.html#isIgnoredDevice">isIgnoredDevice</a></li>
362             
363                 <li data-name="LuCI.network#maskToPrefix"><a href="LuCI.network.html#maskToPrefix">maskToPrefix</a></li>
364             
365                 <li data-name="LuCI.network#prefixToMask"><a href="LuCI.network.html#prefixToMask">prefixToMask</a></li>
366             
367                 <li data-name="LuCI.network#registerErrorCode"><a href="LuCI.network.html#registerErrorCode">registerErrorCode</a></li>
368             
369                 <li data-name="LuCI.network#registerPatternVirtual"><a href="LuCI.network.html#registerPatternVirtual">registerPatternVirtual</a></li>
370             
371                 <li data-name="LuCI.network#registerProtocol"><a href="LuCI.network.html#registerProtocol">registerProtocol</a></li>
372             
373                 <li data-name="LuCI.network#renameNetwork"><a href="LuCI.network.html#renameNetwork">renameNetwork</a></li>
374             
375             </ul>
376             <ul class="events itemMembers">
377             
378             </ul>
379         </li>
380     
381         <li class="item" data-name="LuCI.network.Device">
382             <span class="title">
383                 <a href="LuCI.network.Device.html">LuCI.network.Device</a>
384                 
385             </span>
386             <ul class="members itemMembers">
387             
388             </ul>
389             <ul class="typedefs itemMembers">
390             
391             </ul>
392             <ul class="typedefs itemMembers">
393             
394             </ul>
395             <ul class="methods itemMembers">
396             
397             <span class="subtitle">Methods</span>
398             
399                 <li data-name="LuCI.network.Device#getBridgeID"><a href="LuCI.network.Device.html#getBridgeID">getBridgeID</a></li>
400             
401                 <li data-name="LuCI.network.Device#getBridgeSTP"><a href="LuCI.network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
402             
403                 <li data-name="LuCI.network.Device#getI18n"><a href="LuCI.network.Device.html#getI18n">getI18n</a></li>
404             
405                 <li data-name="LuCI.network.Device#getIP6Addrs"><a href="LuCI.network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
406             
407                 <li data-name="LuCI.network.Device#getIPAddrs"><a href="LuCI.network.Device.html#getIPAddrs">getIPAddrs</a></li>
408             
409                 <li data-name="LuCI.network.Device#getMAC"><a href="LuCI.network.Device.html#getMAC">getMAC</a></li>
410             
411                 <li data-name="LuCI.network.Device#getMTU"><a href="LuCI.network.Device.html#getMTU">getMTU</a></li>
412             
413                 <li data-name="LuCI.network.Device#getName"><a href="LuCI.network.Device.html#getName">getName</a></li>
414             
415                 <li data-name="LuCI.network.Device#getNetwork"><a href="LuCI.network.Device.html#getNetwork">getNetwork</a></li>
416             
417                 <li data-name="LuCI.network.Device#getNetworks"><a href="LuCI.network.Device.html#getNetworks">getNetworks</a></li>
418             
419                 <li data-name="LuCI.network.Device#getPorts"><a href="LuCI.network.Device.html#getPorts">getPorts</a></li>
420             
421                 <li data-name="LuCI.network.Device#getRXBytes"><a href="LuCI.network.Device.html#getRXBytes">getRXBytes</a></li>
422             
423                 <li data-name="LuCI.network.Device#getRXPackets"><a href="LuCI.network.Device.html#getRXPackets">getRXPackets</a></li>
424             
425                 <li data-name="LuCI.network.Device#getShortName"><a href="LuCI.network.Device.html#getShortName">getShortName</a></li>
426             
427                 <li data-name="LuCI.network.Device#getTXBytes"><a href="LuCI.network.Device.html#getTXBytes">getTXBytes</a></li>
428             
429                 <li data-name="LuCI.network.Device#getTXPackets"><a href="LuCI.network.Device.html#getTXPackets">getTXPackets</a></li>
430             
431                 <li data-name="LuCI.network.Device#getType"><a href="LuCI.network.Device.html#getType">getType</a></li>
432             
433                 <li data-name="LuCI.network.Device#getTypeI18n"><a href="LuCI.network.Device.html#getTypeI18n">getTypeI18n</a></li>
434             
435                 <li data-name="LuCI.network.Device#getWifiNetwork"><a href="LuCI.network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
436             
437                 <li data-name="LuCI.network.Device#isBridge"><a href="LuCI.network.Device.html#isBridge">isBridge</a></li>
438             
439                 <li data-name="LuCI.network.Device#isBridgePort"><a href="LuCI.network.Device.html#isBridgePort">isBridgePort</a></li>
440             
441                 <li data-name="LuCI.network.Device#isUp"><a href="LuCI.network.Device.html#isUp">isUp</a></li>
442             
443             </ul>
444             <ul class="events itemMembers">
445             
446             </ul>
447         </li>
448     
449         <li class="item" data-name="LuCI.network.Hosts">
450             <span class="title">
451                 <a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>
452                 
453             </span>
454             <ul class="members itemMembers">
455             
456             </ul>
457             <ul class="typedefs itemMembers">
458             
459             </ul>
460             <ul class="typedefs itemMembers">
461             
462             </ul>
463             <ul class="methods itemMembers">
464             
465             <span class="subtitle">Methods</span>
466             
467                 <li data-name="LuCI.network.Hosts#getHostnameByIP6Addr"><a href="LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
468             
469                 <li data-name="LuCI.network.Hosts#getHostnameByIPAddr"><a href="LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
470             
471                 <li data-name="LuCI.network.Hosts#getHostnameByMACAddr"><a href="LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
472             
473                 <li data-name="LuCI.network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
474             
475                 <li data-name="LuCI.network.Hosts#getIPAddrByMACAddr"><a href="LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
476             
477                 <li data-name="LuCI.network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
478             
479                 <li data-name="LuCI.network.Hosts#getMACAddrByIPAddr"><a href="LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
480             
481                 <li data-name="LuCI.network.Hosts#getMACHints"><a href="LuCI.network.Hosts.html#getMACHints">getMACHints</a></li>
482             
483             </ul>
484             <ul class="events itemMembers">
485             
486             </ul>
487         </li>
488     
489         <li class="item" data-name="LuCI.network.Protocol">
490             <span class="title">
491                 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
492                 
493             </span>
494             <ul class="members itemMembers">
495             
496             </ul>
497             <ul class="typedefs itemMembers">
498             
499             </ul>
500             <ul class="typedefs itemMembers">
501             
502             </ul>
503             <ul class="methods itemMembers">
504             
505             <span class="subtitle">Methods</span>
506             
507                 <li data-name="LuCI.network.Protocol#addDevice"><a href="LuCI.network.Protocol.html#addDevice">addDevice</a></li>
508             
509                 <li data-name="LuCI.network.Protocol#containsDevice"><a href="LuCI.network.Protocol.html#containsDevice">containsDevice</a></li>
510             
511                 <li data-name="LuCI.network.Protocol#deleteConfiguration"><a href="LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
512             
513                 <li data-name="LuCI.network.Protocol#deleteDevice"><a href="LuCI.network.Protocol.html#deleteDevice">deleteDevice</a></li>
514             
515                 <li data-name="LuCI.network.Protocol#get"><a href="LuCI.network.Protocol.html#get">get</a></li>
516             
517                 <li data-name="LuCI.network.Protocol#getDevice"><a href="LuCI.network.Protocol.html#getDevice">getDevice</a></li>
518             
519                 <li data-name="LuCI.network.Protocol#getDevices"><a href="LuCI.network.Protocol.html#getDevices">getDevices</a></li>
520             
521                 <li data-name="LuCI.network.Protocol#getDNS6Addrs"><a href="LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
522             
523                 <li data-name="LuCI.network.Protocol#getDNSAddrs"><a href="LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
524             
525                 <li data-name="LuCI.network.Protocol#getErrors"><a href="LuCI.network.Protocol.html#getErrors">getErrors</a></li>
526             
527                 <li data-name="LuCI.network.Protocol#getExpiry"><a href="LuCI.network.Protocol.html#getExpiry">getExpiry</a></li>
528             
529                 <li data-name="LuCI.network.Protocol#getGateway6Addr"><a href="LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
530             
531                 <li data-name="LuCI.network.Protocol#getGatewayAddr"><a href="LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
532             
533                 <li data-name="LuCI.network.Protocol#getI18n"><a href="LuCI.network.Protocol.html#getI18n">getI18n</a></li>
534             
535                 <li data-name="LuCI.network.Protocol#getIfname"><a href="LuCI.network.Protocol.html#getIfname">getIfname</a></li>
536             
537                 <li data-name="LuCI.network.Protocol#getIP6Addr"><a href="LuCI.network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
538             
539                 <li data-name="LuCI.network.Protocol#getIP6Addrs"><a href="LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
540             
541                 <li data-name="LuCI.network.Protocol#getIP6Prefix"><a href="LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
542             
543                 <li data-name="LuCI.network.Protocol#getIPAddr"><a href="LuCI.network.Protocol.html#getIPAddr">getIPAddr</a></li>
544             
545                 <li data-name="LuCI.network.Protocol#getIPAddrs"><a href="LuCI.network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
546             
547                 <li data-name="LuCI.network.Protocol#getL2Device"><a href="LuCI.network.Protocol.html#getL2Device">getL2Device</a></li>
548             
549                 <li data-name="LuCI.network.Protocol#getL3Device"><a href="LuCI.network.Protocol.html#getL3Device">getL3Device</a></li>
550             
551                 <li data-name="LuCI.network.Protocol#getMetric"><a href="LuCI.network.Protocol.html#getMetric">getMetric</a></li>
552             
553                 <li data-name="LuCI.network.Protocol#getName"><a href="LuCI.network.Protocol.html#getName">getName</a></li>
554             
555                 <li data-name="LuCI.network.Protocol#getNetmask"><a href="LuCI.network.Protocol.html#getNetmask">getNetmask</a></li>
556             
557                 <li data-name="LuCI.network.Protocol#getOpkgPackage"><a href="LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
558             
559                 <li data-name="LuCI.network.Protocol#getProtocol"><a href="LuCI.network.Protocol.html#getProtocol">getProtocol</a></li>
560             
561                 <li data-name="LuCI.network.Protocol#getType"><a href="LuCI.network.Protocol.html#getType">getType</a></li>
562             
563                 <li data-name="LuCI.network.Protocol#getUptime"><a href="LuCI.network.Protocol.html#getUptime">getUptime</a></li>
564             
565                 <li data-name="LuCI.network.Protocol#getZoneName"><a href="LuCI.network.Protocol.html#getZoneName">getZoneName</a></li>
566             
567                 <li data-name="LuCI.network.Protocol#isAlias"><a href="LuCI.network.Protocol.html#isAlias">isAlias</a></li>
568             
569                 <li data-name="LuCI.network.Protocol#isBridge"><a href="LuCI.network.Protocol.html#isBridge">isBridge</a></li>
570             
571                 <li data-name="LuCI.network.Protocol#isDynamic"><a href="LuCI.network.Protocol.html#isDynamic">isDynamic</a></li>
572             
573                 <li data-name="LuCI.network.Protocol#isEmpty"><a href="LuCI.network.Protocol.html#isEmpty">isEmpty</a></li>
574             
575                 <li data-name="LuCI.network.Protocol#isFloating"><a href="LuCI.network.Protocol.html#isFloating">isFloating</a></li>
576             
577                 <li data-name="LuCI.network.Protocol#isInstalled"><a href="LuCI.network.Protocol.html#isInstalled">isInstalled</a></li>
578             
579                 <li data-name="LuCI.network.Protocol#isUp"><a href="LuCI.network.Protocol.html#isUp">isUp</a></li>
580             
581                 <li data-name="LuCI.network.Protocol#isVirtual"><a href="LuCI.network.Protocol.html#isVirtual">isVirtual</a></li>
582             
583                 <li data-name="LuCI.network.Protocol#set"><a href="LuCI.network.Protocol.html#set">set</a></li>
584             
585             </ul>
586             <ul class="events itemMembers">
587             
588             </ul>
589         </li>
590     
591         <li class="item" data-name="LuCI.network.WifiDevice">
592             <span class="title">
593                 <a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>
594                 
595             </span>
596             <ul class="members itemMembers">
597             
598             </ul>
599             <ul class="typedefs itemMembers">
600             
601             </ul>
602             <ul class="typedefs itemMembers">
603             
604             </ul>
605             <ul class="methods itemMembers">
606             
607             <span class="subtitle">Methods</span>
608             
609                 <li data-name="LuCI.network.WifiDevice#addWifiNetwork"><a href="LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
610             
611                 <li data-name="LuCI.network.WifiDevice#deleteWifiNetwork"><a href="LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
612             
613                 <li data-name="LuCI.network.WifiDevice#get"><a href="LuCI.network.WifiDevice.html#get">get</a></li>
614             
615                 <li data-name="LuCI.network.WifiDevice#getHTModes"><a href="LuCI.network.WifiDevice.html#getHTModes">getHTModes</a></li>
616             
617                 <li data-name="LuCI.network.WifiDevice#getHWModes"><a href="LuCI.network.WifiDevice.html#getHWModes">getHWModes</a></li>
618             
619                 <li data-name="LuCI.network.WifiDevice#getI18n"><a href="LuCI.network.WifiDevice.html#getI18n">getI18n</a></li>
620             
621                 <li data-name="LuCI.network.WifiDevice#getName"><a href="LuCI.network.WifiDevice.html#getName">getName</a></li>
622             
623                 <li data-name="LuCI.network.WifiDevice#getScanList"><a href="LuCI.network.WifiDevice.html#getScanList">getScanList</a></li>
624             
625                 <li data-name="LuCI.network.WifiDevice#getWifiNetwork"><a href="LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
626             
627                 <li data-name="LuCI.network.WifiDevice#getWifiNetworks"><a href="LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
628             
629                 <li data-name="LuCI.network.WifiDevice#isDisabled"><a href="LuCI.network.WifiDevice.html#isDisabled">isDisabled</a></li>
630             
631                 <li data-name="LuCI.network.WifiDevice#isUp"><a href="LuCI.network.WifiDevice.html#isUp">isUp</a></li>
632             
633                 <li data-name="LuCI.network.WifiDevice#set"><a href="LuCI.network.WifiDevice.html#set">set</a></li>
634             
635             </ul>
636             <ul class="events itemMembers">
637             
638             </ul>
639         </li>
640     
641         <li class="item" data-name="LuCI.network.WifiNetwork">
642             <span class="title">
643                 <a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>
644                 
645             </span>
646             <ul class="members itemMembers">
647             
648             </ul>
649             <ul class="typedefs itemMembers">
650             
651             </ul>
652             <ul class="typedefs itemMembers">
653             
654             </ul>
655             <ul class="methods itemMembers">
656             
657             <span class="subtitle">Methods</span>
658             
659                 <li data-name="LuCI.network.WifiNetwork#disconnectClient"><a href="LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
660             
661                 <li data-name="LuCI.network.WifiNetwork#get"><a href="LuCI.network.WifiNetwork.html#get">get</a></li>
662             
663                 <li data-name="LuCI.network.WifiNetwork#getActiveBSSID"><a href="LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
664             
665                 <li data-name="LuCI.network.WifiNetwork#getActiveEncryption"><a href="LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
666             
667                 <li data-name="LuCI.network.WifiNetwork#getActiveMode"><a href="LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
668             
669                 <li data-name="LuCI.network.WifiNetwork#getActiveModeI18n"><a href="LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
670             
671                 <li data-name="LuCI.network.WifiNetwork#getActiveSSID"><a href="LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
672             
673                 <li data-name="LuCI.network.WifiNetwork#getAssocList"><a href="LuCI.network.WifiNetwork.html#getAssocList">getAssocList</a></li>
674             
675                 <li data-name="LuCI.network.WifiNetwork#getBitRate"><a href="LuCI.network.WifiNetwork.html#getBitRate">getBitRate</a></li>
676             
677                 <li data-name="LuCI.network.WifiNetwork#getBSSID"><a href="LuCI.network.WifiNetwork.html#getBSSID">getBSSID</a></li>
678             
679                 <li data-name="LuCI.network.WifiNetwork#getChannel"><a href="LuCI.network.WifiNetwork.html#getChannel">getChannel</a></li>
680             
681                 <li data-name="LuCI.network.WifiNetwork#getCountryCode"><a href="LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
682             
683                 <li data-name="LuCI.network.WifiNetwork#getDevice"><a href="LuCI.network.WifiNetwork.html#getDevice">getDevice</a></li>
684             
685                 <li data-name="LuCI.network.WifiNetwork#getFrequency"><a href="LuCI.network.WifiNetwork.html#getFrequency">getFrequency</a></li>
686             
687                 <li data-name="LuCI.network.WifiNetwork#getI18n"><a href="LuCI.network.WifiNetwork.html#getI18n">getI18n</a></li>
688             
689                 <li data-name="LuCI.network.WifiNetwork#getID"><a href="LuCI.network.WifiNetwork.html#getID">getID</a></li>
690             
691                 <li data-name="LuCI.network.WifiNetwork#getIfname"><a href="LuCI.network.WifiNetwork.html#getIfname">getIfname</a></li>
692             
693                 <li data-name="LuCI.network.WifiNetwork#getMeshID"><a href="LuCI.network.WifiNetwork.html#getMeshID">getMeshID</a></li>
694             
695                 <li data-name="LuCI.network.WifiNetwork#getMode"><a href="LuCI.network.WifiNetwork.html#getMode">getMode</a></li>
696             
697                 <li data-name="LuCI.network.WifiNetwork#getName"><a href="LuCI.network.WifiNetwork.html#getName">getName</a></li>
698             
699                 <li data-name="LuCI.network.WifiNetwork#getNetwork"><a href="LuCI.network.WifiNetwork.html#getNetwork">getNetwork</a></li>
700             
701                 <li data-name="LuCI.network.WifiNetwork#getNetworkNames"><a href="LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
702             
703                 <li data-name="LuCI.network.WifiNetwork#getNetworks"><a href="LuCI.network.WifiNetwork.html#getNetworks">getNetworks</a></li>
704             
705                 <li data-name="LuCI.network.WifiNetwork#getNoise"><a href="LuCI.network.WifiNetwork.html#getNoise">getNoise</a></li>
706             
707                 <li data-name="LuCI.network.WifiNetwork#getShortName"><a href="LuCI.network.WifiNetwork.html#getShortName">getShortName</a></li>
708             
709                 <li data-name="LuCI.network.WifiNetwork#getSignal"><a href="LuCI.network.WifiNetwork.html#getSignal">getSignal</a></li>
710             
711                 <li data-name="LuCI.network.WifiNetwork#getSignalLevel"><a href="LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
712             
713                 <li data-name="LuCI.network.WifiNetwork#getSignalPercent"><a href="LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
714             
715                 <li data-name="LuCI.network.WifiNetwork#getSSID"><a href="LuCI.network.WifiNetwork.html#getSSID">getSSID</a></li>
716             
717                 <li data-name="LuCI.network.WifiNetwork#getTXPower"><a href="LuCI.network.WifiNetwork.html#getTXPower">getTXPower</a></li>
718             
719                 <li data-name="LuCI.network.WifiNetwork#getTXPowerOffset"><a href="LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
720             
721                 <li data-name="LuCI.network.WifiNetwork#getWifiDevice"><a href="LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
722             
723                 <li data-name="LuCI.network.WifiNetwork#getWifiDeviceName"><a href="LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
724             
725                 <li data-name="LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
726             
727                 <li data-name="LuCI.network.WifiNetwork#isDisabled"><a href="LuCI.network.WifiNetwork.html#isDisabled">isDisabled</a></li>
728             
729                 <li data-name="LuCI.network.WifiNetwork#isUp"><a href="LuCI.network.WifiNetwork.html#isUp">isUp</a></li>
730             
731                 <li data-name="LuCI.network.WifiNetwork#set"><a href="LuCI.network.WifiNetwork.html#set">set</a></li>
732             
733             </ul>
734             <ul class="events itemMembers">
735             
736             </ul>
737         </li>
738     
739         <li class="item" data-name="LuCI.poll">
740             <span class="title">
741                 <a href="LuCI.poll.html">LuCI.poll</a>
742                 
743             </span>
744             <ul class="members itemMembers">
745             
746             </ul>
747             <ul class="typedefs itemMembers">
748             
749             </ul>
750             <ul class="typedefs itemMembers">
751             
752             </ul>
753             <ul class="methods itemMembers">
754             
755             <span class="subtitle">Methods</span>
756             
757                 <li data-name="LuCI.poll#active"><a href="LuCI.poll.html#active">active</a></li>
758             
759                 <li data-name="LuCI.poll#add"><a href="LuCI.poll.html#add">add</a></li>
760             
761                 <li data-name="LuCI.poll#remove"><a href="LuCI.poll.html#remove">remove</a></li>
762             
763                 <li data-name="LuCI.poll#start"><a href="LuCI.poll.html#start">start</a></li>
764             
765                 <li data-name="LuCI.poll#stop"><a href="LuCI.poll.html#stop">stop</a></li>
766             
767             </ul>
768             <ul class="events itemMembers">
769             
770             </ul>
771         </li>
772     
773         <li class="item" data-name="LuCI.request">
774             <span class="title">
775                 <a href="LuCI.request.html">LuCI.request</a>
776                 
777             </span>
778             <ul class="members itemMembers">
779             
780             </ul>
781             <ul class="typedefs itemMembers">
782             
783             <span class="subtitle">Typedefs</span>
784             
785                 <li data-name="LuCI.request.interceptorFn"><a href="LuCI.request.html#.interceptorFn">interceptorFn</a></li>
786             
787                 <li data-name="LuCI.request.RequestOptions"><a href="LuCI.request.html#.RequestOptions">RequestOptions</a></li>
788             
789             </ul>
790             <ul class="typedefs itemMembers">
791             
792             </ul>
793             <ul class="methods itemMembers">
794             
795             <span class="subtitle">Methods</span>
796             
797                 <li data-name="LuCI.request#addInterceptor"><a href="LuCI.request.html#addInterceptor">addInterceptor</a></li>
798             
799                 <li data-name="LuCI.request#expandURL"><a href="LuCI.request.html#expandURL">expandURL</a></li>
800             
801                 <li data-name="LuCI.request#get"><a href="LuCI.request.html#get">get</a></li>
802             
803                 <li data-name="LuCI.request#post"><a href="LuCI.request.html#post">post</a></li>
804             
805                 <li data-name="LuCI.request#removeInterceptor"><a href="LuCI.request.html#removeInterceptor">removeInterceptor</a></li>
806             
807                 <li data-name="LuCI.request#request"><a href="LuCI.request.html#request">request</a></li>
808             
809             </ul>
810             <ul class="events itemMembers">
811             
812             </ul>
813         </li>
814     
815         <li class="item" data-name="LuCI.request.poll">
816             <span class="title">
817                 <a href="LuCI.request.poll.html">LuCI.request.poll</a>
818                 
819             </span>
820             <ul class="members itemMembers">
821             
822             </ul>
823             <ul class="typedefs itemMembers">
824             
825             <span class="subtitle">Typedefs</span>
826             
827                 <li data-name="LuCI.request.poll~callbackFn"><a href="LuCI.request.poll.html#~callbackFn">callbackFn</a></li>
828             
829             </ul>
830             <ul class="typedefs itemMembers">
831             
832             </ul>
833             <ul class="methods itemMembers">
834             
835             <span class="subtitle">Methods</span>
836             
837                 <li data-name="LuCI.request.poll#active"><a href="LuCI.request.poll.html#active">active</a></li>
838             
839                 <li data-name="LuCI.request.poll#add"><a href="LuCI.request.poll.html#add">add</a></li>
840             
841                 <li data-name="LuCI.request.poll#remove"><a href="LuCI.request.poll.html#remove">remove</a></li>
842             
843                 <li data-name="LuCI.request.poll#start"><a href="LuCI.request.poll.html#start">start</a></li>
844             
845                 <li data-name="LuCI.request.poll#stop"><a href="LuCI.request.poll.html#stop">stop</a></li>
846             
847             </ul>
848             <ul class="events itemMembers">
849             
850             </ul>
851         </li>
852     
853         <li class="item" data-name="LuCI.response">
854             <span class="title">
855                 <a href="LuCI.response.html">LuCI.response</a>
856                 
857             </span>
858             <ul class="members itemMembers">
859             
860             <span class="subtitle">Members</span>
861             
862                 <li data-name="LuCI.response#duration"><a href="LuCI.response.html#duration">duration</a></li>
863             
864                 <li data-name="LuCI.response#headers"><a href="LuCI.response.html#headers">headers</a></li>
865             
866                 <li data-name="LuCI.response#ok"><a href="LuCI.response.html#ok">ok</a></li>
867             
868                 <li data-name="LuCI.response#status"><a href="LuCI.response.html#status">status</a></li>
869             
870                 <li data-name="LuCI.response#statusText"><a href="LuCI.response.html#statusText">statusText</a></li>
871             
872                 <li data-name="LuCI.response#url"><a href="LuCI.response.html#url">url</a></li>
873             
874             </ul>
875             <ul class="typedefs itemMembers">
876             
877             </ul>
878             <ul class="typedefs itemMembers">
879             
880             </ul>
881             <ul class="methods itemMembers">
882             
883             <span class="subtitle">Methods</span>
884             
885                 <li data-name="LuCI.response#blob"><a href="LuCI.response.html#blob">blob</a></li>
886             
887                 <li data-name="LuCI.response#clone"><a href="LuCI.response.html#clone">clone</a></li>
888             
889                 <li data-name="LuCI.response#json"><a href="LuCI.response.html#json">json</a></li>
890             
891                 <li data-name="LuCI.response#text"><a href="LuCI.response.html#text">text</a></li>
892             
893             </ul>
894             <ul class="events itemMembers">
895             
896             </ul>
897         </li>
898     
899         <li class="item" data-name="LuCI.rpc">
900             <span class="title">
901                 <a href="LuCI.rpc.html">LuCI.rpc</a>
902                 
903             </span>
904             <ul class="members itemMembers">
905             
906             </ul>
907             <ul class="typedefs itemMembers">
908             
909             <span class="subtitle">Typedefs</span>
910             
911                 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
912             
913                 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
914             
915                 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
916             
917                 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
918             
919             </ul>
920             <ul class="typedefs itemMembers">
921             
922             </ul>
923             <ul class="methods itemMembers">
924             
925             <span class="subtitle">Methods</span>
926             
927                 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
928             
929                 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
930             
931                 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
932             
933                 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
934             
935                 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
936             
937                 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
938             
939                 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
940             
941                 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
942             
943                 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
944             
945             </ul>
946             <ul class="events itemMembers">
947             
948             </ul>
949         </li>
950     
951         <li class="item" data-name="LuCI.uci">
952             <span class="title">
953                 <a href="LuCI.uci.html">LuCI.uci</a>
954                 
955             </span>
956             <ul class="members itemMembers">
957             
958             </ul>
959             <ul class="typedefs itemMembers">
960             
961             <span class="subtitle">Typedefs</span>
962             
963                 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
964             
965                 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
966             
967                 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
968             
969             </ul>
970             <ul class="typedefs itemMembers">
971             
972             </ul>
973             <ul class="methods itemMembers">
974             
975             <span class="subtitle">Methods</span>
976             
977                 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
978             
979                 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
980             
981                 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
982             
983                 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
984             
985                 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
986             
987                 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
988             
989                 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
990             
991                 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
992             
993                 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
994             
995                 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
996             
997                 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
998             
999                 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
1000             
1001                 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
1002             
1003                 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
1004             
1005                 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
1006             
1007                 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
1008             
1009                 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
1010             
1011             </ul>
1012             <ul class="events itemMembers">
1013             
1014             </ul>
1015         </li>
1016     
1017         <li class="item" data-name="LuCI.ui">
1018             <span class="title">
1019                 <a href="LuCI.ui.html">LuCI.ui</a>
1020                 
1021             </span>
1022             <ul class="members itemMembers">
1023             
1024             </ul>
1025             <ul class="typedefs itemMembers">
1026             
1027             <span class="subtitle">Typedefs</span>
1028             
1029                 <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
1030             
1031             </ul>
1032             <ul class="typedefs itemMembers">
1033             
1034             </ul>
1035             <ul class="methods itemMembers">
1036             
1037             <span class="subtitle">Methods</span>
1038             
1039                 <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
1040             
1041                 <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
1042             
1043                 <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
1044             
1045                 <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
1046             
1047                 <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
1048             
1049                 <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
1050             
1051                 <li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
1052             
1053                 <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
1054             
1055                 <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
1056             
1057                 <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
1058             
1059                 <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
1060             
1061                 <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
1062             
1063             </ul>
1064             <ul class="events itemMembers">
1065             
1066             </ul>
1067         </li>
1068     
1069         <li class="item" data-name="LuCI.ui.AbstractElement">
1070             <span class="title">
1071                 <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
1072                 
1073             </span>
1074             <ul class="members itemMembers">
1075             
1076             </ul>
1077             <ul class="typedefs itemMembers">
1078             
1079             <span class="subtitle">Typedefs</span>
1080             
1081                 <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
1082             
1083             </ul>
1084             <ul class="typedefs itemMembers">
1085             
1086             </ul>
1087             <ul class="methods itemMembers">
1088             
1089             <span class="subtitle">Methods</span>
1090             
1091                 <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
1092             
1093                 <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
1094             
1095                 <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
1096             
1097                 <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
1098             
1099                 <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
1100             
1101                 <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
1102             
1103                 <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
1104             
1105                 <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
1106             
1107             </ul>
1108             <ul class="events itemMembers">
1109             
1110             </ul>
1111         </li>
1112     
1113         <li class="item" data-name="LuCI.ui.changes">
1114             <span class="title">
1115                 <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
1116                 
1117             </span>
1118             <ul class="members itemMembers">
1119             
1120             </ul>
1121             <ul class="typedefs itemMembers">
1122             
1123             </ul>
1124             <ul class="typedefs itemMembers">
1125             
1126             </ul>
1127             <ul class="methods itemMembers">
1128             
1129             <span class="subtitle">Methods</span>
1130             
1131                 <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
1132             
1133                 <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
1134             
1135                 <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
1136             
1137                 <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
1138             
1139                 <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
1140             
1141             </ul>
1142             <ul class="events itemMembers">
1143             
1144             </ul>
1145         </li>
1146     
1147         <li class="item" data-name="LuCI.ui.Checkbox">
1148             <span class="title">
1149                 <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
1150                 
1151             </span>
1152             <ul class="members itemMembers">
1153             
1154             </ul>
1155             <ul class="typedefs itemMembers">
1156             
1157             <span class="subtitle">Typedefs</span>
1158             
1159                 <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
1160             
1161             </ul>
1162             <ul class="typedefs itemMembers">
1163             
1164             </ul>
1165             <ul class="methods itemMembers">
1166             
1167             <span class="subtitle">Methods</span>
1168             
1169                 <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
1170             
1171                 <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
1172             
1173                 <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
1174             
1175                 <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
1176             
1177                 <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
1178             
1179                 <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
1180             
1181                 <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
1182             
1183                 <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
1184             
1185                 <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
1186             
1187             </ul>
1188             <ul class="events itemMembers">
1189             
1190             </ul>
1191         </li>
1192     
1193         <li class="item" data-name="LuCI.ui.Combobox">
1194             <span class="title">
1195                 <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
1196                 
1197             </span>
1198             <ul class="members itemMembers">
1199             
1200             </ul>
1201             <ul class="typedefs itemMembers">
1202             
1203             <span class="subtitle">Typedefs</span>
1204             
1205                 <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
1206             
1207             </ul>
1208             <ul class="typedefs itemMembers">
1209             
1210             </ul>
1211             <ul class="methods itemMembers">
1212             
1213             <span class="subtitle">Methods</span>
1214             
1215                 <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
1216             
1217                 <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
1218             
1219                 <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
1220             
1221                 <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
1222             
1223                 <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
1224             
1225                 <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
1226             
1227                 <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
1228             
1229                 <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
1230             
1231             </ul>
1232             <ul class="events itemMembers">
1233             
1234             </ul>
1235         </li>
1236     
1237         <li class="item" data-name="LuCI.ui.ComboButton">
1238             <span class="title">
1239                 <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
1240                 
1241             </span>
1242             <ul class="members itemMembers">
1243             
1244             </ul>
1245             <ul class="typedefs itemMembers">
1246             
1247             <span class="subtitle">Typedefs</span>
1248             
1249                 <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
1250             
1251             </ul>
1252             <ul class="typedefs itemMembers">
1253             
1254             </ul>
1255             <ul class="methods itemMembers">
1256             
1257             <span class="subtitle">Methods</span>
1258             
1259                 <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
1260             
1261                 <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
1262             
1263                 <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
1264             
1265                 <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
1266             
1267                 <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
1268             
1269                 <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
1270             
1271                 <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
1272             
1273                 <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
1274             
1275             </ul>
1276             <ul class="events itemMembers">
1277             
1278             </ul>
1279         </li>
1280     
1281         <li class="item" data-name="LuCI.ui.Dropdown">
1282             <span class="title">
1283                 <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
1284                 
1285             </span>
1286             <ul class="members itemMembers">
1287             
1288             </ul>
1289             <ul class="typedefs itemMembers">
1290             
1291             <span class="subtitle">Typedefs</span>
1292             
1293                 <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
1294             
1295             </ul>
1296             <ul class="typedefs itemMembers">
1297             
1298             </ul>
1299             <ul class="methods itemMembers">
1300             
1301             <span class="subtitle">Methods</span>
1302             
1303                 <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
1304             
1305                 <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
1306             
1307                 <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
1308             
1309                 <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
1310             
1311                 <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
1312             
1313                 <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
1314             
1315                 <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
1316             
1317                 <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
1318             
1319                 <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
1320             
1321                 <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
1322             
1323                 <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
1324             
1325             </ul>
1326             <ul class="events itemMembers">
1327             
1328             </ul>
1329         </li>
1330     
1331         <li class="item" data-name="LuCI.ui.DynamicList">
1332             <span class="title">
1333                 <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
1334                 
1335             </span>
1336             <ul class="members itemMembers">
1337             
1338             </ul>
1339             <ul class="typedefs itemMembers">
1340             
1341             <span class="subtitle">Typedefs</span>
1342             
1343                 <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
1344             
1345             </ul>
1346             <ul class="typedefs itemMembers">
1347             
1348             </ul>
1349             <ul class="methods itemMembers">
1350             
1351             <span class="subtitle">Methods</span>
1352             
1353                 <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
1354             
1355                 <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
1356             
1357                 <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
1358             
1359                 <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
1360             
1361                 <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
1362             
1363                 <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
1364             
1365                 <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
1366             
1367                 <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
1368             
1369                 <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
1370             
1371                 <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
1372             
1373             </ul>
1374             <ul class="events itemMembers">
1375             
1376             </ul>
1377         </li>
1378     
1379         <li class="item" data-name="LuCI.ui.FileUpload">
1380             <span class="title">
1381                 <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
1382                 
1383             </span>
1384             <ul class="members itemMembers">
1385             
1386             </ul>
1387             <ul class="typedefs itemMembers">
1388             
1389             <span class="subtitle">Typedefs</span>
1390             
1391                 <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
1392             
1393             </ul>
1394             <ul class="typedefs itemMembers">
1395             
1396             </ul>
1397             <ul class="methods itemMembers">
1398             
1399             <span class="subtitle">Methods</span>
1400             
1401                 <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
1402             
1403                 <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
1404             
1405                 <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
1406             
1407                 <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
1408             
1409                 <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
1410             
1411                 <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
1412             
1413                 <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
1414             
1415                 <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
1416             
1417             </ul>
1418             <ul class="events itemMembers">
1419             
1420             </ul>
1421         </li>
1422     
1423         <li class="item" data-name="LuCI.ui.Hiddenfield">
1424             <span class="title">
1425                 <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
1426                 
1427             </span>
1428             <ul class="members itemMembers">
1429             
1430             </ul>
1431             <ul class="typedefs itemMembers">
1432             
1433             </ul>
1434             <ul class="typedefs itemMembers">
1435             
1436             </ul>
1437             <ul class="methods itemMembers">
1438             
1439             <span class="subtitle">Methods</span>
1440             
1441                 <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
1442             
1443                 <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
1444             
1445                 <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
1446             
1447                 <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
1448             
1449                 <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
1450             
1451                 <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
1452             
1453                 <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
1454             
1455                 <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
1456             
1457             </ul>
1458             <ul class="events itemMembers">
1459             
1460             </ul>
1461         </li>
1462     
1463         <li class="item" data-name="LuCI.ui.Select">
1464             <span class="title">
1465                 <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
1466                 
1467             </span>
1468             <ul class="members itemMembers">
1469             
1470             </ul>
1471             <ul class="typedefs itemMembers">
1472             
1473             <span class="subtitle">Typedefs</span>
1474             
1475                 <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
1476             
1477             </ul>
1478             <ul class="typedefs itemMembers">
1479             
1480             </ul>
1481             <ul class="methods itemMembers">
1482             
1483             <span class="subtitle">Methods</span>
1484             
1485                 <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
1486             
1487                 <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
1488             
1489                 <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
1490             
1491                 <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
1492             
1493                 <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
1494             
1495                 <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
1496             
1497                 <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
1498             
1499                 <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
1500             
1501             </ul>
1502             <ul class="events itemMembers">
1503             
1504             </ul>
1505         </li>
1506     
1507         <li class="item" data-name="LuCI.ui.tabs">
1508             <span class="title">
1509                 <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
1510                 
1511             </span>
1512             <ul class="members itemMembers">
1513             
1514             </ul>
1515             <ul class="typedefs itemMembers">
1516             
1517             </ul>
1518             <ul class="typedefs itemMembers">
1519             
1520             </ul>
1521             <ul class="methods itemMembers">
1522             
1523             <span class="subtitle">Methods</span>
1524             
1525                 <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
1526             
1527                 <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
1528             
1529             </ul>
1530             <ul class="events itemMembers">
1531             
1532             </ul>
1533         </li>
1534     
1535         <li class="item" data-name="LuCI.ui.Textarea">
1536             <span class="title">
1537                 <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
1538                 
1539             </span>
1540             <ul class="members itemMembers">
1541             
1542             </ul>
1543             <ul class="typedefs itemMembers">
1544             
1545             <span class="subtitle">Typedefs</span>
1546             
1547                 <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
1548             
1549             </ul>
1550             <ul class="typedefs itemMembers">
1551             
1552             </ul>
1553             <ul class="methods itemMembers">
1554             
1555             <span class="subtitle">Methods</span>
1556             
1557                 <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
1558             
1559                 <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
1560             
1561                 <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
1562             
1563                 <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
1564             
1565                 <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
1566             
1567                 <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
1568             
1569                 <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
1570             
1571                 <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
1572             
1573             </ul>
1574             <ul class="events itemMembers">
1575             
1576             </ul>
1577         </li>
1578     
1579         <li class="item" data-name="LuCI.ui.Textfield">
1580             <span class="title">
1581                 <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
1582                 
1583             </span>
1584             <ul class="members itemMembers">
1585             
1586             </ul>
1587             <ul class="typedefs itemMembers">
1588             
1589             <span class="subtitle">Typedefs</span>
1590             
1591                 <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
1592             
1593             </ul>
1594             <ul class="typedefs itemMembers">
1595             
1596             </ul>
1597             <ul class="methods itemMembers">
1598             
1599             <span class="subtitle">Methods</span>
1600             
1601                 <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
1602             
1603                 <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
1604             
1605                 <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
1606             
1607                 <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
1608             
1609                 <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
1610             
1611                 <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
1612             
1613                 <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
1614             
1615                 <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
1616             
1617             </ul>
1618             <ul class="events itemMembers">
1619             
1620             </ul>
1621         </li>
1622     
1623         <li class="item" data-name="LuCI.view">
1624             <span class="title">
1625                 <a href="LuCI.view.html">LuCI.view</a>
1626                 
1627             </span>
1628             <ul class="members itemMembers">
1629             
1630             </ul>
1631             <ul class="typedefs itemMembers">
1632             
1633             </ul>
1634             <ul class="typedefs itemMembers">
1635             
1636             </ul>
1637             <ul class="methods itemMembers">
1638             
1639             <span class="subtitle">Methods</span>
1640             
1641                 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1642             
1643                 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1644             
1645                 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1646             
1647                 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1648             
1649                 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1650             
1651                 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1652             
1653             </ul>
1654             <ul class="events itemMembers">
1655             
1656             </ul>
1657         </li>
1658     
1659         <li class="item" data-name="LuCI.xhr">
1660             <span class="title">
1661                 <a href="LuCI.xhr.html">LuCI.xhr</a>
1662                 
1663             </span>
1664             <ul class="members itemMembers">
1665             
1666             </ul>
1667             <ul class="typedefs itemMembers">
1668             
1669             </ul>
1670             <ul class="typedefs itemMembers">
1671             
1672             </ul>
1673             <ul class="methods itemMembers">
1674             
1675             <span class="subtitle">Methods</span>
1676             
1677                 <li data-name="LuCI.xhr#abort"><a href="LuCI.xhr.html#abort">abort</a></li>
1678             
1679                 <li data-name="LuCI.xhr#busy"><a href="LuCI.xhr.html#busy">busy</a></li>
1680             
1681                 <li data-name="LuCI.xhr#cancel"><a href="LuCI.xhr.html#cancel">cancel</a></li>
1682             
1683                 <li data-name="LuCI.xhr#get"><a href="LuCI.xhr.html#get">get</a></li>
1684             
1685                 <li data-name="LuCI.xhr#post"><a href="LuCI.xhr.html#post">post</a></li>
1686             
1687                 <li data-name="LuCI.xhr#send_form"><a href="LuCI.xhr.html#send_form">send_form</a></li>
1688             
1689             </ul>
1690             <ul class="events itemMembers">
1691             
1692             </ul>
1693         </li>
1694     
1695     </ul>
1696 </div>
1697     <div class="main">
1698         <h1 class="page-title" data-filename="LuCI.uci.html">Class: uci</h1>
1699         
1700
1701
1702
1703 <section>
1704     
1705 <header>
1706     <h2>
1707         <span class="ancestors"><a href="LuCI.html">LuCI</a>.</span>
1708     
1709     uci
1710     </h2>
1711     
1712         <div class="class-description"><p>The <code>LuCI.uci</code> class utilizes <a href="LuCI.rpc.html"><code>LuCI.rpc</code></a> to declare low level
1713 remote UCI <code>ubus</code> procedures and implements a local caching and data
1714 manipulation layer on top to allow for synchroneous operations on
1715 UCI configuration data.</p></div>
1716     
1717 </header>  
1718
1719 <article>
1720     <div class="container-overview">
1721     
1722     
1723     
1724         
1725 <dt>
1726     <div class="nameContainer">
1727         <h4 class="name" id="uci">
1728             
1729             new LuCI.uci<span class="signature">()</span>
1730         </h4>
1731     
1732         
1733         <div class="tag-source">
1734             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line5">line 5</a>
1735         </div>
1736         
1737     </div>
1738
1739     
1740 </dt>
1741 <dd>
1742     
1743     
1744
1745     
1746     
1747     
1748     
1749     
1750     
1751     
1752 <dl class="details">
1753     
1754         
1755     
1756     
1757     
1758
1759     
1760     
1761     
1762     
1763     
1764     
1765     
1766     
1767     
1768     
1769     
1770     
1771     
1772     
1773     
1774 </dl>
1775
1776     
1777     
1778
1779     
1780
1781     
1782     
1783     
1784     
1785     
1786     
1787     
1788 </dd>
1789
1790     
1791     </div>
1792     
1793     
1794     
1795     
1796     
1797     
1798     
1799     
1800     
1801     
1802     
1803     
1804     
1805     
1806         <h3 class="subsection-title">Methods</h3>
1807         
1808         <dl>
1809             
1810 <dt>
1811     <div class="nameContainer">
1812         <h4 class="name" id="add">
1813             
1814             add<span class="signature">(config, type, <span class="optional">name</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1815         </h4>
1816     
1817         
1818         <div class="tag-source">
1819             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line270">line 270</a>
1820         </div>
1821         
1822     </div>
1823
1824     
1825 </dt>
1826 <dd>
1827     
1828     
1829     <div class="description">
1830         <p>Adds a new section of the given type to the given configuration,
1831 optionally named according to the given name.</p>
1832     </div>
1833     
1834
1835     
1836     
1837     
1838     
1839     
1840         
1841
1842 <table class="params">
1843     <thead>
1844         <tr>
1845                 
1846                 <th>Name</th>
1847                 
1848                 
1849                 <th>Type</th>
1850                 
1851                 
1852                 
1853                 <th class="last">Description</th>
1854         </tr>
1855         </thead>
1856         
1857         <tbody>
1858         
1859         
1860         <tr>
1861             
1862                 <td class="name"><code>config</code></td>
1863             
1864             
1865             <td class="type">
1866             
1867                 
1868 <span class="param-type">string</span>
1869
1870
1871             
1872             </td>
1873             
1874             
1875             
1876             <td class="description last">
1877                 
1878                     
1879                     
1880                         
1881                     
1882                 
1883                 <p>The name of the configuration to add the section to.</p></td>
1884         </tr>
1885         
1886         
1887         
1888         <tr>
1889             
1890                 <td class="name"><code>type</code></td>
1891             
1892             
1893             <td class="type">
1894             
1895                 
1896 <span class="param-type">string</span>
1897
1898
1899             
1900             </td>
1901             
1902             
1903             
1904             <td class="description last">
1905                 
1906                     
1907                     
1908                         
1909                     
1910                 
1911                 <p>The type of the section to add.</p></td>
1912         </tr>
1913         
1914         
1915         
1916         <tr>
1917             
1918                 <td class="name"><code>name</code></td>
1919             
1920             
1921             <td class="type">
1922             
1923                 
1924 <span class="param-type">string</span>
1925
1926
1927             
1928             </td>
1929             
1930             
1931             
1932             <td class="description last">
1933                 
1934                     
1935                         <span class="optional">optional</span>
1936                     
1937                     
1938                         
1939                     
1940                 
1941                 <p>The name of the section to add. If the name is omitted, an anonymous
1942 section will be added instead.</p></td>
1943         </tr>
1944         
1945         
1946         </tbody>
1947 </table>
1948     
1949     
1950     
1951 <dl class="details">
1952     
1953         
1954     
1955     
1956     
1957
1958     
1959     
1960     
1961     
1962     
1963     
1964     
1965     
1966     
1967     
1968     
1969     
1970     
1971     
1972     
1973 </dl>
1974
1975     
1976     
1977
1978     
1979
1980     
1981     
1982     
1983     
1984     
1985     <h5>Returns:</h5>
1986     
1987
1988
1989 <table class="params">
1990     <thead>
1991     <tr>
1992         
1993         <th>Type</th>
1994         <th class="last">Description</th>
1995     </tr>
1996     </thead>
1997     <tbody>
1998     
1999         <tr>
2000             
2001             <td class="type">
2002             
2003                         string
2004                         
2005                     
2006             </td>
2007             <td class="description last">Returns the section ID of the newly added section which is equivalent
2008 to the given name for non-anonymous sections.</td>
2009         </tr>
2010     
2011     </tbody>
2012 </table>
2013
2014     
2015     
2016     
2017 </dd>
2018
2019         
2020             
2021 <dt>
2022     <div class="nameContainer">
2023         <h4 class="name" id="apply">
2024             
2025             apply<span class="signature">(<span class="optional">timeout</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;number>}</span>
2026         </h4>
2027     
2028         
2029         <div class="tag-source">
2030             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line859">line 859</a>
2031         </div>
2032         
2033     </div>
2034
2035     
2036 </dt>
2037 <dd>
2038     
2039     
2040     <div class="description">
2041         <p>Instructs the remote <code>ubus</code> UCI api to commit all saved changes with
2042 rollback protection and attempts to confirm the pending commit
2043 operation to cancel the rollback timer.</p>
2044     </div>
2045     
2046
2047     
2048     
2049     
2050     
2051     
2052         
2053
2054 <table class="params">
2055     <thead>
2056         <tr>
2057                 
2058                 <th>Name</th>
2059                 
2060                 
2061                 <th>Type</th>
2062                 
2063                 
2064                 <th>Default</th>
2065                 
2066                 
2067                 <th class="last">Description</th>
2068         </tr>
2069         </thead>
2070         
2071         <tbody>
2072         
2073         
2074         <tr>
2075             
2076                 <td class="name"><code>timeout</code></td>
2077             
2078             
2079             <td class="type">
2080             
2081                 
2082 <span class="param-type">number</span>
2083
2084
2085             
2086             </td>
2087             
2088             
2089                 <td class="default">
2090                 
2091                     10
2092                 
2093                 </td>
2094             
2095             
2096             <td class="description last">
2097                 
2098                     
2099                         <span class="optional">optional</span>
2100                     
2101                     
2102                         
2103                     
2104                 
2105                 <p>Override the confirmation timeout after which a rollback is triggered.</p></td>
2106         </tr>
2107         
2108         
2109         </tbody>
2110 </table>
2111     
2112     
2113     
2114 <dl class="details">
2115     
2116         
2117     
2118     
2119     
2120
2121     
2122     
2123     
2124     
2125     
2126     
2127     
2128     
2129     
2130     
2131     
2132     
2133     
2134     
2135     
2136 </dl>
2137
2138     
2139     
2140
2141     
2142
2143     
2144     
2145     
2146     
2147     
2148     <h5>Returns:</h5>
2149     
2150
2151
2152 <table class="params">
2153     <thead>
2154     <tr>
2155         
2156         <th>Type</th>
2157         <th class="last">Description</th>
2158     </tr>
2159     </thead>
2160     <tbody>
2161     
2162         <tr>
2163             
2164             <td class="type">
2165             
2166                         Promise.&lt;number>
2167                         
2168                     
2169             </td>
2170             <td class="description last">Returns a promise resolving/rejecting with the <code>ubus</code> RPC status code.</td>
2171         </tr>
2172     
2173     </tbody>
2174 </table>
2175
2176     
2177     
2178     
2179 </dd>
2180
2181         
2182             
2183 <dt>
2184     <div class="nameContainer">
2185         <h4 class="name" id="changes">
2186             
2187             changes<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;Object.&lt;string, Array.&lt;<a href="LuCI.uci.html#.ChangeRecord">LuCI.uci.ChangeRecord</a>>>>}</span>
2188         </h4>
2189     
2190         
2191         <div class="tag-source">
2192             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line939">line 939</a>
2193         </div>
2194         
2195     </div>
2196
2197     
2198 </dt>
2199 <dd>
2200     
2201     
2202     <div class="description">
2203         <p>Fetches uncommitted UCI changes from the remote <code>ubus</code> RPC api.</p>
2204     </div>
2205     
2206
2207     
2208     
2209     
2210     
2211     
2212     
2213     
2214 <dl class="details">
2215     
2216         
2217     
2218     
2219     
2220
2221     
2222     
2223     
2224     
2225     
2226     
2227     
2228     
2229     
2230     
2231     
2232     
2233     
2234     
2235     
2236 </dl>
2237
2238     
2239     
2240
2241     
2242
2243     
2244     
2245     
2246     
2247     
2248     <h5>Returns:</h5>
2249     
2250
2251
2252 <table class="params">
2253     <thead>
2254     <tr>
2255         
2256         <th>Type</th>
2257         <th class="last">Description</th>
2258     </tr>
2259     </thead>
2260     <tbody>
2261     
2262         <tr>
2263             
2264             <td class="type">
2265             
2266                         Promise.&lt;Object.&lt;string, Array.&lt;<a href="LuCI.uci.html#.ChangeRecord">LuCI.uci.ChangeRecord</a>>>>
2267                         
2268                     
2269             </td>
2270             <td class="description last">Returns a promise resolving to an object containing the configuration
2271 names as keys and arrays of related change records as values.</td>
2272         </tr>
2273     
2274     </tbody>
2275 </table>
2276
2277     
2278     
2279     
2280 </dd>
2281
2282         
2283             
2284 <dt>
2285     <div class="nameContainer">
2286         <h4 class="name" id="createSID">
2287             
2288             createSID<span class="signature">(config)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2289         </h4>
2290     
2291         
2292         <div class="tag-source">
2293             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line89">line 89</a>
2294         </div>
2295         
2296     </div>
2297
2298     
2299 </dt>
2300 <dd>
2301     
2302     
2303     <div class="description">
2304         <p>Generates a new, unique section ID for the given configuration.</p>
2305 <p>Note that the generated ID is temporary, it will get replaced by an
2306 identifier in the form <code>cfgXXXXXX</code> once the configuration is saved
2307 by the remote <code>ubus</code> UCI api.</p>
2308     </div>
2309     
2310
2311     
2312     
2313     
2314     
2315     
2316         
2317
2318 <table class="params">
2319     <thead>
2320         <tr>
2321                 
2322                 <th>Name</th>
2323                 
2324                 
2325                 <th>Type</th>
2326                 
2327                 
2328                 
2329                 <th class="last">Description</th>
2330         </tr>
2331         </thead>
2332         
2333         <tbody>
2334         
2335         
2336         <tr>
2337             
2338                 <td class="name"><code>config</code></td>
2339             
2340             
2341             <td class="type">
2342             
2343                 
2344 <span class="param-type">string</span>
2345
2346
2347             
2348             </td>
2349             
2350             
2351             
2352             <td class="description last">
2353                 
2354                 <p>The configuration to generate the new section ID for.</p></td>
2355         </tr>
2356         
2357         
2358         </tbody>
2359 </table>
2360     
2361     
2362     
2363 <dl class="details">
2364     
2365         
2366     
2367     
2368     
2369
2370     
2371     
2372     
2373     
2374     
2375     
2376     
2377     
2378     
2379     
2380     
2381     
2382     
2383     
2384     
2385 </dl>
2386
2387     
2388     
2389
2390     
2391
2392     
2393     
2394     
2395     
2396     
2397     <h5>Returns:</h5>
2398     
2399
2400
2401 <table class="params">
2402     <thead>
2403     <tr>
2404         
2405         <th>Type</th>
2406         <th class="last">Description</th>
2407     </tr>
2408     </thead>
2409     <tbody>
2410     
2411         <tr>
2412             
2413             <td class="type">
2414             
2415                         string
2416                         
2417                     
2418             </td>
2419             <td class="description last">A newly generated, unique section ID in the form <code>newXXXXXX</code>
2420 where <code>X</code> denotes a hexadecimal digit.</td>
2421         </tr>
2422     
2423     </tbody>
2424 </table>
2425
2426     
2427     
2428     
2429 </dd>
2430
2431         
2432             
2433 <dt>
2434     <div class="nameContainer">
2435         <h4 class="name" id="get">
2436             
2437             get<span class="signature">(config, sid, <span class="optional">option</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.&lt;string>|<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>}</span>
2438         </h4>
2439     
2440         
2441         <div class="tag-source">
2442             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line444">line 444</a>
2443         </div>
2444         
2445     </div>
2446
2447     
2448 </dt>
2449 <dd>
2450     
2451     
2452     <div class="description">
2453         <p>Gets the value of the given option within the specified section
2454 of the given configuration or the entire section object if the
2455 option name is omitted.</p>
2456     </div>
2457     
2458
2459     
2460     
2461     
2462     
2463     
2464         
2465
2466 <table class="params">
2467     <thead>
2468         <tr>
2469                 
2470                 <th>Name</th>
2471                 
2472                 
2473                 <th>Type</th>
2474                 
2475                 
2476                 
2477                 <th class="last">Description</th>
2478         </tr>
2479         </thead>
2480         
2481         <tbody>
2482         
2483         
2484         <tr>
2485             
2486                 <td class="name"><code>config</code></td>
2487             
2488             
2489             <td class="type">
2490             
2491                 
2492 <span class="param-type">string</span>
2493
2494
2495             
2496             </td>
2497             
2498             
2499             
2500             <td class="description last">
2501                 
2502                     
2503                     
2504                         
2505                     
2506                 
2507                 <p>The name of the configuration to read the value from.</p></td>
2508         </tr>
2509         
2510         
2511         
2512         <tr>
2513             
2514                 <td class="name"><code>sid</code></td>
2515             
2516             
2517             <td class="type">
2518             
2519                 
2520 <span class="param-type">string</span>
2521
2522
2523             
2524             </td>
2525             
2526             
2527             
2528             <td class="description last">
2529                 
2530                     
2531                     
2532                         
2533                     
2534                 
2535                 <p>The name or ID of the section to read.</p></td>
2536         </tr>
2537         
2538         
2539         
2540         <tr>
2541             
2542                 <td class="name"><code>option</code></td>
2543             
2544             
2545             <td class="type">
2546             
2547                 
2548 <span class="param-type">string</span>
2549
2550
2551             
2552             </td>
2553             
2554             
2555             
2556             <td class="description last">
2557                 
2558                     
2559                         <span class="optional">optional</span>
2560                     
2561                     
2562                         
2563                     
2564                 
2565                 <p>The option name to read the value from. If the option name is
2566 omitted or <code>null</code>, the entire section is returned instead.</p></td>
2567         </tr>
2568         
2569         
2570         </tbody>
2571 </table>
2572     
2573     
2574     
2575 <dl class="details">
2576     
2577         
2578     
2579     
2580     
2581
2582     
2583     
2584     
2585     
2586     
2587     
2588     
2589     
2590     
2591     
2592     
2593     
2594     
2595     
2596     
2597 </dl>
2598
2599     
2600     
2601
2602     
2603
2604     
2605     
2606     
2607     
2608     
2609     <h5>Returns:</h5>
2610     
2611
2612
2613 <table class="params">
2614     <thead>
2615     <tr>
2616         
2617         <th>Type</th>
2618         <th class="last">Description</th>
2619     </tr>
2620     </thead>
2621     <tbody>
2622     
2623         <tr>
2624             
2625             <td class="type">
2626             
2627                         null
2628                          | 
2629                     
2630                         string
2631                          | 
2632                     
2633                         Array.&lt;string>
2634                          | 
2635                     
2636                         <a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>
2637                         
2638                     
2639             </td>
2640             <td class="description last"><ul>
2641 <li>Returns a string containing the option value in case of a
2642 plain UCI option.</li>
2643 <li>Returns an array of strings containing the option values in
2644 case of <code>option</code> pointing to an UCI list.</li>
2645 <li>Returns a <a href="LuCI.uci.html#.SectionObject"><code>section object</code></a> if
2646 the <code>option</code> argument has been omitted or is <code>null</code>.</li>
2647 <li>Returns <code>null</code> if the config, section or option has not been
2648 found or if the corresponding configuration is not loaded.</li>
2649 </ul></td>
2650         </tr>
2651     
2652     </tbody>
2653 </table>
2654
2655     
2656     
2657     
2658 </dd>
2659
2660         
2661             
2662 <dt>
2663     <div class="nameContainer">
2664         <h4 class="name" id="get_first">
2665             
2666             get_first<span class="signature">(config, <span class="optional">type</span>, <span class="optional">option</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.&lt;string>|<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>}</span>
2667         </h4>
2668     
2669         
2670         <div class="tag-source">
2671             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line619">line 619</a>
2672         </div>
2673         
2674     </div>
2675
2676     
2677 </dt>
2678 <dd>
2679     
2680     
2681     <div class="description">
2682         <p>Gets the value of the given option or the entire section object of
2683 the first found section of the specified type or the first found
2684 section of the entire configuration if no type is specfied.</p>
2685     </div>
2686     
2687
2688     
2689     
2690     
2691     
2692     
2693         
2694
2695 <table class="params">
2696     <thead>
2697         <tr>
2698                 
2699                 <th>Name</th>
2700                 
2701                 
2702                 <th>Type</th>
2703                 
2704                 
2705                 
2706                 <th class="last">Description</th>
2707         </tr>
2708         </thead>
2709         
2710         <tbody>
2711         
2712         
2713         <tr>
2714             
2715                 <td class="name"><code>config</code></td>
2716             
2717             
2718             <td class="type">
2719             
2720                 
2721 <span class="param-type">string</span>
2722
2723
2724             
2725             </td>
2726             
2727             
2728             
2729             <td class="description last">
2730                 
2731                     
2732                     
2733                         
2734                     
2735                 
2736                 <p>The name of the configuration to read the value from.</p></td>
2737         </tr>
2738         
2739         
2740         
2741         <tr>
2742             
2743                 <td class="name"><code>type</code></td>
2744             
2745             
2746             <td class="type">
2747             
2748                 
2749 <span class="param-type">string</span>
2750
2751
2752             
2753             </td>
2754             
2755             
2756             
2757             <td class="description last">
2758                 
2759                     
2760                         <span class="optional">optional</span>
2761                     
2762                     
2763                         
2764                     
2765                 
2766                 <p>The type of the first section to find. If it is <code>null</code>, the first
2767 section of the entire config is read, otherwise the first section
2768 matching the given type.</p></td>
2769         </tr>
2770         
2771         
2772         
2773         <tr>
2774             
2775                 <td class="name"><code>option</code></td>
2776             
2777             
2778             <td class="type">
2779             
2780                 
2781 <span class="param-type">string</span>
2782
2783
2784             
2785             </td>
2786             
2787             
2788             
2789             <td class="description last">
2790                 
2791                     
2792                         <span class="optional">optional</span>
2793                     
2794                     
2795                         
2796                     
2797                 
2798                 <p>The option name to read the value from. If the option name is
2799 omitted or <code>null</code>, the entire section is returned instead.</p></td>
2800         </tr>
2801         
2802         
2803         </tbody>
2804 </table>
2805     
2806     
2807     
2808 <dl class="details">
2809     
2810         
2811     
2812     
2813     
2814
2815     
2816     
2817     
2818     
2819     
2820     
2821     
2822     
2823     
2824     
2825     
2826     
2827     
2828     
2829     
2830 </dl>
2831
2832     
2833     
2834
2835     
2836
2837     
2838     
2839     
2840     
2841     
2842     <h5>Returns:</h5>
2843     
2844
2845
2846 <table class="params">
2847     <thead>
2848     <tr>
2849         
2850         <th>Type</th>
2851         <th class="last">Description</th>
2852     </tr>
2853     </thead>
2854     <tbody>
2855     
2856         <tr>
2857             
2858             <td class="type">
2859             
2860                         null
2861                          | 
2862                     
2863                         string
2864                          | 
2865                     
2866                         Array.&lt;string>
2867                          | 
2868                     
2869                         <a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>
2870                         
2871                     
2872             </td>
2873             <td class="description last"><ul>
2874 <li>Returns a string containing the option value in case of a
2875 plain UCI option.</li>
2876 <li>Returns an array of strings containing the option values in
2877 case of <code>option</code> pointing to an UCI list.</li>
2878 <li>Returns a <a href="LuCI.uci.html#.SectionObject"><code>section object</code></a> if
2879 the <code>option</code> argument has been omitted or is <code>null</code>.</li>
2880 <li>Returns <code>null</code> if the config, section or option has not been
2881 found or if the corresponding configuration is not loaded.</li>
2882 </ul></td>
2883         </tr>
2884     
2885     </tbody>
2886 </table>
2887
2888     
2889     
2890     
2891 </dd>
2892
2893         
2894             
2895 <dt>
2896     <div class="nameContainer">
2897         <h4 class="name" id="load">
2898             
2899             load<span class="signature">(config)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;Array.&lt;string>>}</span>
2900         </h4>
2901     
2902         
2903         <div class="tag-source">
2904             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line206">line 206</a>
2905         </div>
2906         
2907     </div>
2908
2909     
2910 </dt>
2911 <dd>
2912     
2913     
2914     <div class="description">
2915         <p>Loads the given UCI configurations from the remote <code>ubus</code> api.</p>
2916 <p>Loaded configurations are cached and only loaded once. Subsequent
2917 load operations of the same configurations will return the cached
2918 data.</p>
2919 <p>To force reloading a configuration, it has to be unloaded with
2920 <a href="LuCI.uci.html#unload"><code>uci.unload()</code></a> first.</p>
2921     </div>
2922     
2923
2924     
2925     
2926     
2927     
2928     
2929         
2930
2931 <table class="params">
2932     <thead>
2933         <tr>
2934                 
2935                 <th>Name</th>
2936                 
2937                 
2938                 <th>Type</th>
2939                 
2940                 
2941                 
2942                 <th class="last">Description</th>
2943         </tr>
2944         </thead>
2945         
2946         <tbody>
2947         
2948         
2949         <tr>
2950             
2951                 <td class="name"><code>config</code></td>
2952             
2953             
2954             <td class="type">
2955             
2956                 
2957 <span class="param-type">string</span>
2958 |
2959
2960 <span class="param-type">Array.&lt;string></span>
2961
2962
2963             
2964             </td>
2965             
2966             
2967             
2968             <td class="description last">
2969                 
2970                 <p>The name of the configuration or an array of configuration
2971 names to load.</p></td>
2972         </tr>
2973         
2974         
2975         </tbody>
2976 </table>
2977     
2978     
2979     
2980 <dl class="details">
2981     
2982         
2983     
2984     
2985     
2986
2987     
2988     
2989     
2990     
2991     
2992     
2993     
2994     
2995     
2996     
2997     
2998     
2999     
3000     
3001     
3002 </dl>
3003
3004     
3005     
3006
3007     
3008
3009     
3010     
3011     
3012     
3013     
3014     <h5>Returns:</h5>
3015     
3016
3017
3018 <table class="params">
3019     <thead>
3020     <tr>
3021         
3022         <th>Type</th>
3023         <th class="last">Description</th>
3024     </tr>
3025     </thead>
3026     <tbody>
3027     
3028         <tr>
3029             
3030             <td class="type">
3031             
3032                         Promise.&lt;Array.&lt;string>>
3033                         
3034                     
3035             </td>
3036             <td class="description last">Returns a promise resolving to the names of the configurations
3037 that have been successfully loaded.</td>
3038         </tr>
3039     
3040     </tbody>
3041 </table>
3042
3043     
3044     
3045     
3046 </dd>
3047
3048         
3049             
3050 <dt>
3051     <div class="nameContainer">
3052         <h4 class="name" id="move">
3053             
3054             move<span class="signature">(config, sid1, <span class="optional">sid2</span>, <span class="optional">after</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3055         </h4>
3056     
3057         
3058         <div class="tag-source">
3059             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line719">line 719</a>
3060         </div>
3061         
3062     </div>
3063
3064     
3065 </dt>
3066 <dd>
3067     
3068     
3069     <div class="description">
3070         <p>Move the first specified section within the given configuration
3071 before or after the second specified section.</p>
3072     </div>
3073     
3074
3075     
3076     
3077     
3078     
3079     
3080         
3081
3082 <table class="params">
3083     <thead>
3084         <tr>
3085                 
3086                 <th>Name</th>
3087                 
3088                 
3089                 <th>Type</th>
3090                 
3091                 
3092                 <th>Default</th>
3093                 
3094                 
3095                 <th class="last">Description</th>
3096         </tr>
3097         </thead>
3098         
3099         <tbody>
3100         
3101         
3102         <tr>
3103             
3104                 <td class="name"><code>config</code></td>
3105             
3106             
3107             <td class="type">
3108             
3109                 
3110 <span class="param-type">string</span>
3111
3112
3113             
3114             </td>
3115             
3116             
3117                 <td class="default">
3118                 
3119                 </td>
3120             
3121             
3122             <td class="description last">
3123                 
3124                     
3125                     
3126                         
3127                     
3128                 
3129                 <p>The configuration to move the section within.</p></td>
3130         </tr>
3131         
3132         
3133         
3134         <tr>
3135             
3136                 <td class="name"><code>sid1</code></td>
3137             
3138             
3139             <td class="type">
3140             
3141                 
3142 <span class="param-type">string</span>
3143
3144
3145             
3146             </td>
3147             
3148             
3149                 <td class="default">
3150                 
3151                 </td>
3152             
3153             
3154             <td class="description last">
3155                 
3156                     
3157                     
3158                         
3159                     
3160                 
3161                 <p>The ID of the section to move within the configuration.</p></td>
3162         </tr>
3163         
3164         
3165         
3166         <tr>
3167             
3168                 <td class="name"><code>sid2</code></td>
3169             
3170             
3171             <td class="type">
3172             
3173                 
3174 <span class="param-type">string</span>
3175
3176
3177             
3178             </td>
3179             
3180             
3181                 <td class="default">
3182                 
3183                 </td>
3184             
3185             
3186             <td class="description last">
3187                 
3188                     
3189                         <span class="optional">optional</span>
3190                     
3191                     
3192                         
3193                     
3194                 
3195                 <p>The ID of the target section for the move operation. If the
3196 <code>after</code> argument is <code>false</code> or not specified, the section named by
3197 <code>sid1</code> will be moved before this target section, if the <code>after</code>
3198 argument is <code>true</code>, the <code>sid1</code> section will be moved after this
3199 section.</p>
3200 <p>When the <code>sid2</code> argument is <code>null</code>, the section specified by <code>sid1</code>
3201 is moved to the end of the configuration.</p></td>
3202         </tr>
3203         
3204         
3205         
3206         <tr>
3207             
3208                 <td class="name"><code>after</code></td>
3209             
3210             
3211             <td class="type">
3212             
3213                 
3214 <span class="param-type">boolean</span>
3215
3216
3217             
3218             </td>
3219             
3220             
3221                 <td class="default">
3222                 
3223                     false
3224                 
3225                 </td>
3226             
3227             
3228             <td class="description last">
3229                 
3230                     
3231                         <span class="optional">optional</span>
3232                     
3233                     
3234                         
3235                     
3236                 
3237                 <p>When <code>true</code>, the section <code>sid1</code> is moved after the section <code>sid2</code>,
3238 when <code>false</code>, the section <code>sid1</code> is moved before <code>sid2</code>.</p>
3239 <p>If <code>sid2</code> is null, then this parameter has no effect and the section
3240 <code>sid1</code> is moved to the end of the configuration instead.</p></td>
3241         </tr>
3242         
3243         
3244         </tbody>
3245 </table>
3246     
3247     
3248     
3249 <dl class="details">
3250     
3251         
3252     
3253     
3254     
3255
3256     
3257     
3258     
3259     
3260     
3261     
3262     
3263     
3264     
3265     
3266     
3267     
3268     
3269     
3270     
3271 </dl>
3272
3273     
3274     
3275
3276     
3277
3278     
3279     
3280     
3281     
3282     
3283     <h5>Returns:</h5>
3284     
3285
3286
3287 <table class="params">
3288     <thead>
3289     <tr>
3290         
3291         <th>Type</th>
3292         <th class="last">Description</th>
3293     </tr>
3294     </thead>
3295     <tbody>
3296     
3297         <tr>
3298             
3299             <td class="type">
3300             
3301                         boolean
3302                         
3303                     
3304             </td>
3305             <td class="description last">Returns <code>true</code> when the section was successfully moved, or <code>false</code>
3306 when either the section specified by <code>sid1</code> or by <code>sid2</code> is not found.</td>
3307         </tr>
3308     
3309     </tbody>
3310 </table>
3311
3312     
3313     
3314     
3315 </dd>
3316
3317         
3318             
3319 <dt>
3320     <div class="nameContainer">
3321         <h4 class="name" id="remove">
3322             
3323             remove<span class="signature">(config, sid)</span>
3324         </h4>
3325     
3326         
3327         <div class="tag-source">
3328             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line297">line 297</a>
3329         </div>
3330         
3331     </div>
3332
3333     
3334 </dt>
3335 <dd>
3336     
3337     
3338     <div class="description">
3339         <p>Removes the section with the given ID from the given configuration.</p>
3340     </div>
3341     
3342
3343     
3344     
3345     
3346     
3347     
3348         
3349
3350 <table class="params">
3351     <thead>
3352         <tr>
3353                 
3354                 <th>Name</th>
3355                 
3356                 
3357                 <th>Type</th>
3358                 
3359                 
3360                 
3361                 <th class="last">Description</th>
3362         </tr>
3363         </thead>
3364         
3365         <tbody>
3366         
3367         
3368         <tr>
3369             
3370                 <td class="name"><code>config</code></td>
3371             
3372             
3373             <td class="type">
3374             
3375                 
3376 <span class="param-type">string</span>
3377
3378
3379             
3380             </td>
3381             
3382             
3383             
3384             <td class="description last">
3385                 
3386                 <p>The name of the configuration to remove the section from.</p></td>
3387         </tr>
3388         
3389         
3390         
3391         <tr>
3392             
3393                 <td class="name"><code>sid</code></td>
3394             
3395             
3396             <td class="type">
3397             
3398                 
3399 <span class="param-type">string</span>
3400
3401
3402             
3403             </td>
3404             
3405             
3406             
3407             <td class="description last">
3408                 
3409                 <p>The ID of the section to remove.</p></td>
3410         </tr>
3411         
3412         
3413         </tbody>
3414 </table>
3415     
3416     
3417     
3418 <dl class="details">
3419     
3420         
3421     
3422     
3423     
3424
3425     
3426     
3427     
3428     
3429     
3430     
3431     
3432     
3433     
3434     
3435     
3436     
3437     
3438     
3439     
3440 </dl>
3441
3442     
3443     
3444
3445     
3446
3447     
3448     
3449     
3450     
3451     
3452     
3453     
3454 </dd>
3455
3456         
3457             
3458 <dt>
3459     <div class="nameContainer">
3460         <h4 class="name" id="resolveSID">
3461             
3462             resolveSID<span class="signature">(config, sid)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string|null}</span>
3463         </h4>
3464     
3465         
3466         <div class="tag-source">
3467             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line120">line 120</a>
3468         </div>
3469         
3470     </div>
3471
3472     
3473 </dt>
3474 <dd>
3475     
3476     
3477     <div class="description">
3478         <p>Resolves a given section ID in extended notation to the internal
3479 section ID value.</p>
3480     </div>
3481     
3482
3483     
3484     
3485     
3486     
3487     
3488         
3489
3490 <table class="params">
3491     <thead>
3492         <tr>
3493                 
3494                 <th>Name</th>
3495                 
3496                 
3497                 <th>Type</th>
3498                 
3499                 
3500                 
3501                 <th class="last">Description</th>
3502         </tr>
3503         </thead>
3504         
3505         <tbody>
3506         
3507         
3508         <tr>
3509             
3510                 <td class="name"><code>config</code></td>
3511             
3512             
3513             <td class="type">
3514             
3515                 
3516 <span class="param-type">string</span>
3517
3518
3519             
3520             </td>
3521             
3522             
3523             
3524             <td class="description last">
3525                 
3526                 <p>The configuration to resolve the section ID for.</p></td>
3527         </tr>
3528         
3529         
3530         
3531         <tr>
3532             
3533                 <td class="name"><code>sid</code></td>
3534             
3535             
3536             <td class="type">
3537             
3538                 
3539 <span class="param-type">string</span>
3540
3541
3542             
3543             </td>
3544             
3545             
3546             
3547             <td class="description last">
3548                 
3549                 <p>The section ID to resolve. If the ID is in the form <code>@typename[#]</code>,
3550 it will get resolved to an internal anonymous ID in the forms
3551 <code>cfgXXXXXX</code>/<code>newXXXXXX</code> or to the name of a section in case it points
3552 to a named section. When the given ID is not in extended notation,
3553 it will be returned as-is.</p></td>
3554         </tr>
3555         
3556         
3557         </tbody>
3558 </table>
3559     
3560     
3561     
3562 <dl class="details">
3563     
3564         
3565     
3566     
3567     
3568
3569     
3570     
3571     
3572     
3573     
3574     
3575     
3576     
3577     
3578     
3579     
3580     
3581     
3582     
3583     
3584 </dl>
3585
3586     
3587     
3588
3589     
3590
3591     
3592     
3593     
3594     
3595     
3596     <h5>Returns:</h5>
3597     
3598
3599
3600 <table class="params">
3601     <thead>
3602     <tr>
3603         
3604         <th>Type</th>
3605         <th class="last">Description</th>
3606     </tr>
3607     </thead>
3608     <tbody>
3609     
3610         <tr>
3611             
3612             <td class="type">
3613             
3614                         string
3615                          | 
3616                     
3617                         null
3618                         
3619                     
3620             </td>
3621             <td class="description last">Returns the resolved section ID or the original given ID if it was
3622 not in extended notation. Returns <code>null</code> when an extended ID could
3623 not be resolved to existing section ID.</td>
3624         </tr>
3625     
3626     </tbody>
3627 </table>
3628
3629     
3630     
3631     
3632 </dd>
3633
3634         
3635             
3636 <dt>
3637     <div class="nameContainer">
3638         <h4 class="name" id="save">
3639             
3640             save<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;string>}</span>
3641         </h4>
3642     
3643         
3644         <div class="tag-source">
3645             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line773">line 773</a>
3646         </div>
3647         
3648     </div>
3649
3650     
3651 </dt>
3652 <dd>
3653     
3654     
3655     <div class="description">
3656         <p>Submits all local configuration changes to the remove <code>ubus</code> api,
3657 adds, removes and reorders remote sections as needed and reloads
3658 all loaded configurations to resynchronize the local state with
3659 the remote configuration values.</p>
3660     </div>
3661     
3662
3663     
3664     
3665     
3666     
3667     
3668     
3669     
3670 <dl class="details">
3671     
3672         
3673     
3674     
3675     
3676
3677     
3678     
3679     
3680     
3681     
3682     
3683     
3684     
3685     
3686     
3687     
3688     
3689     
3690     
3691     
3692 </dl>
3693
3694     
3695     
3696
3697     
3698
3699     
3700     
3701     
3702     
3703     
3704     <h5>Returns:</h5>
3705     
3706
3707
3708 <table class="params">
3709     <thead>
3710     <tr>
3711         
3712         <th>Type</th>
3713         <th class="last">Description</th>
3714     </tr>
3715     </thead>
3716     <tbody>
3717     
3718         <tr>
3719             
3720             <td class="type">
3721             
3722                         Array.&lt;string>
3723                         
3724                     
3725             </td>
3726             <td class="description last">Returns a promise resolving to an array of configuration names which
3727 have been reloaded by the save operation.</td>
3728         </tr>
3729     
3730     </tbody>
3731 </table>
3732
3733     
3734     
3735     
3736 </dd>
3737
3738         
3739             
3740 <dt>
3741     <div class="nameContainer">
3742         <h4 class="name" id="sections">
3743             
3744             sections<span class="signature">(config, <span class="optional">type</span>, <span class="optional">cb</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>>}</span>
3745         </h4>
3746     
3747         
3748         <div class="tag-source">
3749             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line385">line 385</a>
3750         </div>
3751         
3752     </div>
3753
3754     
3755 </dt>
3756 <dd>
3757     
3758     
3759     <div class="description">
3760         <p>Enumerates the sections of the given configuration, optionally
3761 filtered by type.</p>
3762     </div>
3763     
3764
3765     
3766     
3767     
3768     
3769     
3770         
3771
3772 <table class="params">
3773     <thead>
3774         <tr>
3775                 
3776                 <th>Name</th>
3777                 
3778                 
3779                 <th>Type</th>
3780                 
3781                 
3782                 
3783                 <th class="last">Description</th>
3784         </tr>
3785         </thead>
3786         
3787         <tbody>
3788         
3789         
3790         <tr>
3791             
3792                 <td class="name"><code>config</code></td>
3793             
3794             
3795             <td class="type">
3796             
3797                 
3798 <span class="param-type">string</span>
3799
3800
3801             
3802             </td>
3803             
3804             
3805             
3806             <td class="description last">
3807                 
3808                     
3809                     
3810                         
3811                     
3812                 
3813                 <p>The name of the configuration to enumerate the sections for.</p></td>
3814         </tr>
3815         
3816         
3817         
3818         <tr>
3819             
3820                 <td class="name"><code>type</code></td>
3821             
3822             
3823             <td class="type">
3824             
3825                 
3826 <span class="param-type">string</span>
3827
3828
3829             
3830             </td>
3831             
3832             
3833             
3834             <td class="description last">
3835                 
3836                     
3837                         <span class="optional">optional</span>
3838                     
3839                     
3840                         
3841                     
3842                 
3843                 <p>Enumerate only sections of the given type. If omitted, enumerate
3844 all sections.</p></td>
3845         </tr>
3846         
3847         
3848         
3849         <tr>
3850             
3851                 <td class="name"><code>cb</code></td>
3852             
3853             
3854             <td class="type">
3855             
3856                 
3857 <span class="param-type"><a href="LuCI.uci.html#~sectionsFn">LuCI.uci~sectionsFn</a></span>
3858
3859
3860             
3861             </td>
3862             
3863             
3864             
3865             <td class="description last">
3866                 
3867                     
3868                         <span class="optional">optional</span>
3869                     
3870                     
3871                         
3872                     
3873                 
3874                 <p>An optional callback to invoke for each enumerated section.</p></td>
3875         </tr>
3876         
3877         
3878         </tbody>
3879 </table>
3880     
3881     
3882     
3883 <dl class="details">
3884     
3885         
3886     
3887     
3888     
3889
3890     
3891     
3892     
3893     
3894     
3895     
3896     
3897     
3898     
3899     
3900     
3901     
3902     
3903     
3904     
3905 </dl>
3906
3907     
3908     
3909
3910     
3911
3912     
3913     
3914     
3915     
3916     
3917     <h5>Returns:</h5>
3918     
3919
3920
3921 <table class="params">
3922     <thead>
3923     <tr>
3924         
3925         <th>Type</th>
3926         <th class="last">Description</th>
3927     </tr>
3928     </thead>
3929     <tbody>
3930     
3931         <tr>
3932             
3933             <td class="type">
3934             
3935                         Array.&lt;<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>>
3936                         
3937                     
3938             </td>
3939             <td class="description last">Returns a sorted array of the section objects within the given
3940 configuration, filtered by type of a type has been specified.</td>
3941         </tr>
3942     
3943     </tbody>
3944 </table>
3945
3946     
3947     
3948     
3949 </dd>
3950
3951         
3952             
3953 <dt>
3954     <div class="nameContainer">
3955         <h4 class="name" id="set">
3956             
3957             set<span class="signature">(config, sid, option, value)</span>
3958         </h4>
3959     
3960         
3961         <div class="tag-source">
3962             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line517">line 517</a>
3963         </div>
3964         
3965     </div>
3966
3967     
3968 </dt>
3969 <dd>
3970     
3971     
3972     <div class="description">
3973         <p>Sets the value of the given option within the specified section
3974 of the given configuration.</p>
3975 <p>If either config, section or option is null, or if <code>option</code> begins
3976 with a dot, the function will do nothing.</p>
3977     </div>
3978     
3979
3980     
3981     
3982     
3983     
3984     
3985         
3986
3987 <table class="params">
3988     <thead>
3989         <tr>
3990                 
3991                 <th>Name</th>
3992                 
3993                 
3994                 <th>Type</th>
3995                 
3996                 
3997                 
3998                 <th class="last">Description</th>
3999         </tr>
4000         </thead>
4001         
4002         <tbody>
4003         
4004         
4005         <tr>
4006             
4007                 <td class="name"><code>config</code></td>
4008             
4009             
4010             <td class="type">
4011             
4012                 
4013 <span class="param-type">string</span>
4014
4015
4016             
4017             </td>
4018             
4019             
4020             
4021             <td class="description last">
4022                 
4023                 <p>The name of the configuration to set the option value in.</p></td>
4024         </tr>
4025         
4026         
4027         
4028         <tr>
4029             
4030                 <td class="name"><code>sid</code></td>
4031             
4032             
4033             <td class="type">
4034             
4035                 
4036 <span class="param-type">string</span>
4037
4038
4039             
4040             </td>
4041             
4042             
4043             
4044             <td class="description last">
4045                 
4046                 <p>The name or ID of the section to set the option value in.</p></td>
4047         </tr>
4048         
4049         
4050         
4051         <tr>
4052             
4053                 <td class="name"><code>option</code></td>
4054             
4055             
4056             <td class="type">
4057             
4058                 
4059 <span class="param-type">string</span>
4060
4061
4062             
4063             </td>
4064             
4065             
4066             
4067             <td class="description last">
4068                 
4069                 <p>The option name to set the value for.</p></td>
4070         </tr>
4071         
4072         
4073         
4074         <tr>
4075             
4076                 <td class="name"><code>value</code></td>
4077             
4078             
4079             <td class="type">
4080             
4081                 
4082 <span class="param-type">null</span>
4083 |
4084
4085 <span class="param-type">string</span>
4086 |
4087
4088 <span class="param-type">Array.&lt;string></span>
4089
4090
4091             
4092             </td>
4093             
4094             
4095             
4096             <td class="description last">
4097                 
4098                 <p>The option value to set. If the value is <code>null</code> or an empty string,
4099 the option will be removed, otherwise it will be set or overwritten
4100 with the given value.</p></td>
4101         </tr>
4102         
4103         
4104         </tbody>
4105 </table>
4106     
4107     
4108     
4109 <dl class="details">
4110     
4111         
4112     
4113     
4114     
4115
4116     
4117     
4118     
4119     
4120     
4121     
4122     
4123     
4124     
4125     
4126     
4127     
4128     
4129     
4130     
4131 </dl>
4132
4133     
4134     
4135
4136     
4137
4138     
4139     
4140     
4141     
4142     
4143     
4144     
4145 </dd>
4146
4147         
4148             
4149 <dt>
4150     <div class="nameContainer">
4151         <h4 class="name" id="set_first">
4152             
4153             set_first<span class="signature">(config, <span class="optional">type</span>, option, value)</span>
4154         </h4>
4155     
4156         
4157         <div class="tag-source">
4158             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line654">line 654</a>
4159         </div>
4160         
4161     </div>
4162
4163     
4164 </dt>
4165 <dd>
4166     
4167     
4168     <div class="description">
4169         <p>Sets the value of the given option within the first found section
4170 of the given configuration matching the specified type or within
4171 the first section of the entire config when no type has is specified.</p>
4172 <p>If either config, type or option is null, or if <code>option</code> begins
4173 with a dot, the function will do nothing.</p>
4174     </div>
4175     
4176
4177     
4178     
4179     
4180     
4181     
4182         
4183
4184 <table class="params">
4185     <thead>
4186         <tr>
4187                 
4188                 <th>Name</th>
4189                 
4190                 
4191                 <th>Type</th>
4192                 
4193                 
4194                 
4195                 <th class="last">Description</th>
4196         </tr>
4197         </thead>
4198         
4199         <tbody>
4200         
4201         
4202         <tr>
4203             
4204                 <td class="name"><code>config</code></td>
4205             
4206             
4207             <td class="type">
4208             
4209                 
4210 <span class="param-type">string</span>
4211
4212
4213             
4214             </td>
4215             
4216             
4217             
4218             <td class="description last">
4219                 
4220                     
4221                     
4222                         
4223                     
4224                 
4225                 <p>The name of the configuration to set the option value in.</p></td>
4226         </tr>
4227         
4228         
4229         
4230         <tr>
4231             
4232                 <td class="name"><code>type</code></td>
4233             
4234             
4235             <td class="type">
4236             
4237                 
4238 <span class="param-type">string</span>
4239
4240
4241             
4242             </td>
4243             
4244             
4245             
4246             <td class="description last">
4247                 
4248                     
4249                         <span class="optional">optional</span>
4250                     
4251                     
4252                         
4253                     
4254                 
4255                 <p>The type of the first section to find. If it is <code>null</code>, the first
4256 section of the entire config is written to, otherwise the first
4257 section matching the given type is used.</p></td>
4258         </tr>
4259         
4260         
4261         
4262         <tr>
4263             
4264                 <td class="name"><code>option</code></td>
4265             
4266             
4267             <td class="type">
4268             
4269                 
4270 <span class="param-type">string</span>
4271
4272
4273             
4274             </td>
4275             
4276             
4277             
4278             <td class="description last">
4279                 
4280                     
4281                     
4282                         
4283                     
4284                 
4285                 <p>The option name to set the value for.</p></td>
4286         </tr>
4287         
4288         
4289         
4290         <tr>
4291             
4292                 <td class="name"><code>value</code></td>
4293             
4294             
4295             <td class="type">
4296             
4297                 
4298 <span class="param-type">null</span>
4299 |
4300
4301 <span class="param-type">string</span>
4302 |
4303
4304 <span class="param-type">Array.&lt;string></span>
4305
4306
4307             
4308             </td>
4309             
4310             
4311             
4312             <td class="description last">
4313                 
4314                     
4315                     
4316                         
4317                     
4318                 
4319                 <p>The option value to set. If the value is <code>null</code> or an empty string,
4320 the option will be removed, otherwise it will be set or overwritten
4321 with the given value.</p></td>
4322         </tr>
4323         
4324         
4325         </tbody>
4326 </table>
4327     
4328     
4329     
4330 <dl class="details">
4331     
4332         
4333     
4334     
4335     
4336
4337     
4338     
4339     
4340     
4341     
4342     
4343     
4344     
4345     
4346     
4347     
4348     
4349     
4350     
4351     
4352 </dl>
4353
4354     
4355     
4356
4357     
4358
4359     
4360     
4361     
4362     
4363     
4364     
4365     
4366 </dd>
4367
4368         
4369             
4370 <dt>
4371     <div class="nameContainer">
4372         <h4 class="name" id="unload">
4373             
4374             unload<span class="signature">(config)</span>
4375         </h4>
4376     
4377         
4378         <div class="tag-source">
4379             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line238">line 238</a>
4380         </div>
4381         
4382     </div>
4383
4384     
4385 </dt>
4386 <dd>
4387     
4388     
4389     <div class="description">
4390         <p>Unloads the given UCI configurations from the local cache.</p>
4391     </div>
4392     
4393
4394     
4395     
4396     
4397     
4398     
4399         
4400
4401 <table class="params">
4402     <thead>
4403         <tr>
4404                 
4405                 <th>Name</th>
4406                 
4407                 
4408                 <th>Type</th>
4409                 
4410                 
4411                 
4412                 <th class="last">Description</th>
4413         </tr>
4414         </thead>
4415         
4416         <tbody>
4417         
4418         
4419         <tr>
4420             
4421                 <td class="name"><code>config</code></td>
4422             
4423             
4424             <td class="type">
4425             
4426                 
4427 <span class="param-type">string</span>
4428 |
4429
4430 <span class="param-type">Array.&lt;string></span>
4431
4432
4433             
4434             </td>
4435             
4436             
4437             
4438             <td class="description last">
4439                 
4440                 <p>The name of the configuration or an array of configuration
4441 names to unload.</p></td>
4442         </tr>
4443         
4444         
4445         </tbody>
4446 </table>
4447     
4448     
4449     
4450 <dl class="details">
4451     
4452         
4453     
4454     
4455     
4456
4457     
4458     
4459     
4460     
4461     
4462     
4463     
4464     
4465     
4466     
4467     
4468     
4469     
4470     
4471     
4472 </dl>
4473
4474     
4475     
4476
4477     
4478
4479     
4480     
4481     
4482     
4483     
4484     
4485     
4486 </dd>
4487
4488         
4489             
4490 <dt>
4491     <div class="nameContainer">
4492         <h4 class="name" id="unset">
4493             
4494             unset<span class="signature">(config, sid, option)</span>
4495         </h4>
4496     
4497         
4498         <div class="tag-source">
4499             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line588">line 588</a>
4500         </div>
4501         
4502     </div>
4503
4504     
4505 </dt>
4506 <dd>
4507     
4508     
4509     <div class="description">
4510         <p>Remove the given option within the specified section of the given
4511 configuration.</p>
4512 <p>This function is a convenience wrapper around
4513 <code>uci.set(config, section, option, null)</code>.</p>
4514     </div>
4515     
4516
4517     
4518     
4519     
4520     
4521     
4522         
4523
4524 <table class="params">
4525     <thead>
4526         <tr>
4527                 
4528                 <th>Name</th>
4529                 
4530                 
4531                 <th>Type</th>
4532                 
4533                 
4534                 
4535                 <th class="last">Description</th>
4536         </tr>
4537         </thead>
4538         
4539         <tbody>
4540         
4541         
4542         <tr>
4543             
4544                 <td class="name"><code>config</code></td>
4545             
4546             
4547             <td class="type">
4548             
4549                 
4550 <span class="param-type">string</span>
4551
4552
4553             
4554             </td>
4555             
4556             
4557             
4558             <td class="description last">
4559                 
4560                 <p>The name of the configuration to remove the option from.</p></td>
4561         </tr>
4562         
4563         
4564         
4565         <tr>
4566             
4567                 <td class="name"><code>sid</code></td>
4568             
4569             
4570             <td class="type">
4571             
4572                 
4573 <span class="param-type">string</span>
4574
4575
4576             
4577             </td>
4578             
4579             
4580             
4581             <td class="description last">
4582                 
4583                 <p>The name or ID of the section to remove the option from.</p></td>
4584         </tr>
4585         
4586         
4587         
4588         <tr>
4589             
4590                 <td class="name"><code>option</code></td>
4591             
4592             
4593             <td class="type">
4594             
4595                 
4596 <span class="param-type">string</span>
4597
4598
4599             
4600             </td>
4601             
4602             
4603             
4604             <td class="description last">
4605                 
4606                 <p>The name of the option to remove.</p></td>
4607         </tr>
4608         
4609         
4610         </tbody>
4611 </table>
4612     
4613     
4614     
4615 <dl class="details">
4616     
4617         
4618     
4619     
4620     
4621
4622     
4623     
4624     
4625     
4626     
4627     
4628     
4629     
4630     
4631     
4632     
4633     
4634     
4635     
4636     
4637 </dl>
4638
4639     
4640     
4641
4642     
4643
4644     
4645     
4646     
4647     
4648     
4649     
4650     
4651 </dd>
4652
4653         
4654             
4655 <dt>
4656     <div class="nameContainer">
4657         <h4 class="name" id="unset_first">
4658             
4659             unset_first<span class="signature">(config, <span class="optional">type</span>, option)</span>
4660         </h4>
4661     
4662         
4663         <div class="tag-source">
4664             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line684">line 684</a>
4665         </div>
4666         
4667     </div>
4668
4669     
4670 </dt>
4671 <dd>
4672     
4673     
4674     <div class="description">
4675         <p>Removes the given option within the first found section of the given
4676 configuration matching the specified type or within the first section
4677 of the entire config when no type has is specified.</p>
4678 <p>This function is a convenience wrapper around
4679 <code>uci.set_first(config, type, option, null)</code>.</p>
4680     </div>
4681     
4682
4683     
4684     
4685     
4686     
4687     
4688         
4689
4690 <table class="params">
4691     <thead>
4692         <tr>
4693                 
4694                 <th>Name</th>
4695                 
4696                 
4697                 <th>Type</th>
4698                 
4699                 
4700                 
4701                 <th class="last">Description</th>
4702         </tr>
4703         </thead>
4704         
4705         <tbody>
4706         
4707         
4708         <tr>
4709             
4710                 <td class="name"><code>config</code></td>
4711             
4712             
4713             <td class="type">
4714             
4715                 
4716 <span class="param-type">string</span>
4717
4718
4719             
4720             </td>
4721             
4722             
4723             
4724             <td class="description last">
4725                 
4726                     
4727                     
4728                         
4729                     
4730                 
4731                 <p>The name of the configuration to set the option value in.</p></td>
4732         </tr>
4733         
4734         
4735         
4736         <tr>
4737             
4738                 <td class="name"><code>type</code></td>
4739             
4740             
4741             <td class="type">
4742             
4743                 
4744 <span class="param-type">string</span>
4745
4746
4747             
4748             </td>
4749             
4750             
4751             
4752             <td class="description last">
4753                 
4754                     
4755                         <span class="optional">optional</span>
4756                     
4757                     
4758                         
4759                     
4760                 
4761                 <p>The type of the first section to find. If it is <code>null</code>, the first
4762 section of the entire config is written to, otherwise the first
4763 section matching the given type is used.</p></td>
4764         </tr>
4765         
4766         
4767         
4768         <tr>
4769             
4770                 <td class="name"><code>option</code></td>
4771             
4772             
4773             <td class="type">
4774             
4775                 
4776 <span class="param-type">string</span>
4777
4778
4779             
4780             </td>
4781             
4782             
4783             
4784             <td class="description last">
4785                 
4786                     
4787                     
4788                         
4789                     
4790                 
4791                 <p>The option name to set the value for.</p></td>
4792         </tr>
4793         
4794         
4795         </tbody>
4796 </table>
4797     
4798     
4799     
4800 <dl class="details">
4801     
4802         
4803     
4804     
4805     
4806
4807     
4808     
4809     
4810     
4811     
4812     
4813     
4814     
4815     
4816     
4817     
4818     
4819     
4820     
4821     
4822 </dl>
4823
4824     
4825     
4826
4827     
4828
4829     
4830     
4831     
4832     
4833     
4834     
4835     
4836 </dd>
4837
4838         </dl>
4839     
4840     
4841     
4842         <h3 class="subsection-title">Type Definitions</h3>
4843         
4844         <dl>
4845                 
4846 <dt>
4847     <div class="nameContainer">
4848         <h4 class="name" id=".ChangeRecord">LuCI.uci.ChangeRecord<span class="type-signature type array.<string>">Array.&lt;string></span> </h4>
4849     </div>
4850     
4851     
4852 </dt>
4853 <dd>
4854     
4855     <div class="description">
4856         <p>An UCI change record is a plain array containing the change operation
4857 name as first element, the affected section ID as second argument
4858 and an optional third and fourth argument whose meanings depend on
4859 the operation.</p>
4860     </div>
4861     
4862     
4863     
4864 <dl class="details">
4865     
4866         
4867         <h5 class="subsection-title">Properties:</h5>
4868         
4869         <dl>
4870
4871 <table class="props">
4872     <thead>
4873         <tr>
4874                 
4875                 <th>Name</th>
4876                 
4877                 
4878                 <th>Type</th>
4879                 
4880                 
4881                 
4882                 
4883                 
4884                 <th class="last">Description</th>
4885         </tr>
4886         </thead>
4887         
4888         <tbody>
4889         
4890         
4891         <tr>
4892             
4893                 <td class="name"><code>0</code></td>
4894             
4895             
4896             <td class="type">
4897             
4898                 
4899 <span class="param-type">string</span>
4900
4901
4902             
4903             </td>
4904             
4905             
4906             
4907             
4908             
4909             <td class="description last"><p>The operation name - may be one of <code>add</code>, <code>set</code>, <code>remove</code>, <code>order</code>,
4910 <code>list-add</code>, <code>list-del</code> or <code>rename</code>.</p></td>
4911         </tr>
4912         
4913         
4914         
4915         <tr>
4916             
4917                 <td class="name"><code>1</code></td>
4918             
4919             
4920             <td class="type">
4921             
4922                 
4923 <span class="param-type">string</span>
4924
4925
4926             
4927             </td>
4928             
4929             
4930             
4931             
4932             
4933             <td class="description last"><p>The section ID targeted by the operation.</p></td>
4934         </tr>
4935         
4936         
4937         
4938         <tr>
4939             
4940                 <td class="name"><code>2</code></td>
4941             
4942             
4943             <td class="type">
4944             
4945                 
4946 <span class="param-type">string</span>
4947
4948
4949             
4950             </td>
4951             
4952             
4953             
4954             
4955             
4956             <td class="description last"><p>The meaning of the third element depends on the operation.</p>
4957 <ul>
4958 <li>For <code>add</code> it is type of the section that has been added</li>
4959 <li>For <code>set</code> it either is the option name if a fourth element exists,
4960 or the type of a named section which has been added when the change
4961 entry only contains three elements.</li>
4962 <li>For <code>remove</code> it contains the name of the option that has been
4963 removed.</li>
4964 <li>For <code>order</code> it specifies the new sort index of the section.</li>
4965 <li>For <code>list-add</code> it contains the name of the list option a new value
4966 has been added to.</li>
4967 <li>For <code>list-del</code> it contains the name of the list option a value has
4968 been removed from.</li>
4969 <li>For <code>rename</code> it contains the name of the option that has been
4970 renamed if a fourth element exists, else it contains the new name
4971 a section has been renamed to if the change entry only contains
4972 three elements.</li>
4973 </ul></td>
4974         </tr>
4975         
4976         
4977         
4978         <tr>
4979             
4980                 <td class="name"><code>4</code></td>
4981             
4982             
4983             <td class="type">
4984             
4985                 
4986 <span class="param-type">string</span>
4987
4988
4989             
4990             </td>
4991             
4992             
4993             
4994             
4995             
4996             <td class="description last"><p>The meaning of the fourth element depends on the operation.</p>
4997 <ul>
4998 <li>For <code>set</code> it is the value an option has been set to.</li>
4999 <li>For <code>list-add</code> it is the new value that has been added to a
5000 list option.</li>
5001 <li>For <code>rename</code> it is the new name of an option that has been
5002 renamed.</li>
5003 </ul></td>
5004         </tr>
5005         
5006         
5007         </tbody>
5008 </table></dl>
5009         
5010     
5011         
5012     
5013     
5014     
5015
5016     
5017     
5018     
5019     
5020     
5021     
5022     
5023     
5024     
5025     
5026     
5027     
5028     
5029     
5030     
5031 </dl>
5032
5033     
5034     
5035 </dd>
5036
5037             
5038                 
5039 <dt>
5040     <div class="nameContainer">
5041         <h4 class="name" id=".SectionObject">LuCI.uci.SectionObject<span class="type-signature type object.<string, (boolean|number|string|array.<string>)>">Object.&lt;string, (boolean|number|string|Array.&lt;string>)></span> </h4>
5042     </div>
5043     
5044     
5045 </dt>
5046 <dd>
5047     
5048     <div class="description">
5049         <p>A section object represents the options and their corresponding values
5050 enclosed within a configuration section, as well as some additional
5051 meta data such as sort indexes and internal ID.</p>
5052 <p>Any internal metadata fields are prefixed with a dot which is isn't
5053 an allowed character for normal option names.</p>
5054     </div>
5055     
5056     
5057     
5058 <dl class="details">
5059     
5060         
5061         <h5 class="subsection-title">Properties:</h5>
5062         
5063         <dl>
5064
5065 <table class="props">
5066     <thead>
5067         <tr>
5068                 
5069                 <th>Name</th>
5070                 
5071                 
5072                 <th>Type</th>
5073                 
5074                 
5075                 
5076                 
5077                 
5078                 <th class="last">Description</th>
5079         </tr>
5080         </thead>
5081         
5082         <tbody>
5083         
5084         
5085         <tr>
5086             
5087                 <td class="name"><code>.anonymous</code></td>
5088             
5089             
5090             <td class="type">
5091             
5092                 
5093 <span class="param-type">boolean</span>
5094
5095
5096             
5097             </td>
5098             
5099             
5100             
5101             
5102             
5103             <td class="description last"><p>The <code>.anonymous</code> property specifies whether the configuration is
5104 anonymous (<code>true</code>) or named (<code>false</code>).</p></td>
5105         </tr>
5106         
5107         
5108         
5109         <tr>
5110             
5111                 <td class="name"><code>.index</code></td>
5112             
5113             
5114             <td class="type">
5115             
5116                 
5117 <span class="param-type">number</span>
5118
5119
5120             
5121             </td>
5122             
5123             
5124             
5125             
5126             
5127             <td class="description last"><p>The <code>.index</code> property specifes the sort order of the section.</p></td>
5128         </tr>
5129         
5130         
5131         
5132         <tr>
5133             
5134                 <td class="name"><code>.name</code></td>
5135             
5136             
5137             <td class="type">
5138             
5139                 
5140 <span class="param-type">string</span>
5141
5142
5143             
5144             </td>
5145             
5146             
5147             
5148             
5149             
5150             <td class="description last"><p>The <code>.name</code> property holds the name of the section object. It may be
5151 either an anonymous ID in the form <code>cfgXXXXXX</code> or <code>newXXXXXX</code> with <code>X</code>
5152 being a hexadecimal digit or a string holding the name of the section.</p></td>
5153         </tr>
5154         
5155         
5156         
5157         <tr>
5158             
5159                 <td class="name"><code>.type</code></td>
5160             
5161             
5162             <td class="type">
5163             
5164                 
5165 <span class="param-type">string</span>
5166
5167
5168             
5169             </td>
5170             
5171             
5172             
5173             
5174             
5175             <td class="description last"><p>The <code>.type</code> property contains the type of the corresponding uci
5176 section.</p></td>
5177         </tr>
5178         
5179         
5180         
5181         <tr>
5182             
5183                 <td class="name"><code>*</code></td>
5184             
5185             
5186             <td class="type">
5187             
5188                 
5189 <span class="param-type">string</span>
5190 |
5191
5192 <span class="param-type">Array.&lt;string></span>
5193
5194
5195             
5196             </td>
5197             
5198             
5199             
5200             
5201             
5202             <td class="description last"><p>A section object may contain an arbitrary number of further properties
5203 representing the uci option enclosed in the section.</p>
5204 <p>All option property names will be in the form <code>[A-Za-z0-9_]+</code> and
5205 either contain a string value or an array of strings, in case the
5206 underlying option is an UCI list.</p></td>
5207         </tr>
5208         
5209         
5210         </tbody>
5211 </table></dl>
5212         
5213     
5214         
5215     
5216     
5217     
5218
5219     
5220     
5221     
5222     
5223     
5224     
5225     
5226     
5227     
5228     
5229     
5230     
5231     
5232     
5233     
5234 </dl>
5235
5236     
5237     
5238 </dd>
5239
5240             
5241                 
5242 <dt>
5243     <div class="nameContainer">
5244         <h4 class="name" id="~sectionsFn">
5245             
5246             sectionsFn<span class="signature">(section, sid)</span>
5247         </h4>
5248     
5249         
5250         <div class="tag-source">
5251             <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line353">line 353</a>
5252         </div>
5253         
5254     </div>
5255
5256     
5257 </dt>
5258 <dd>
5259     
5260     
5261     <div class="description">
5262         <p>The sections callback is invoked for each section found within
5263 the given configuration and receives the section object and its
5264 associated name as arguments.</p>
5265     </div>
5266     
5267
5268     
5269     
5270     
5271     
5272     
5273         
5274
5275 <table class="params">
5276     <thead>
5277         <tr>
5278                 
5279                 <th>Name</th>
5280                 
5281                 
5282                 <th>Type</th>
5283                 
5284                 
5285                 
5286                 <th class="last">Description</th>
5287         </tr>
5288         </thead>
5289         
5290         <tbody>
5291         
5292         
5293         <tr>
5294             
5295                 <td class="name"><code>section</code></td>
5296             
5297             
5298             <td class="type">
5299             
5300                 
5301 <span class="param-type"><a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a></span>
5302
5303
5304             
5305             </td>
5306             
5307             
5308             
5309             <td class="description last">
5310                 
5311                 <p>The section object.</p></td>
5312         </tr>
5313         
5314         
5315         
5316         <tr>
5317             
5318                 <td class="name"><code>sid</code></td>
5319             
5320             
5321             <td class="type">
5322             
5323                 
5324 <span class="param-type">string</span>
5325
5326
5327             
5328             </td>
5329             
5330             
5331             
5332             <td class="description last">
5333                 
5334                 <p>The name or ID of the section.</p></td>
5335         </tr>
5336         
5337         
5338         </tbody>
5339 </table>
5340     
5341     
5342     
5343 <dl class="details">
5344     
5345         
5346     
5347     
5348     
5349
5350     
5351     
5352     
5353     
5354     
5355     
5356     
5357     
5358     
5359     
5360     
5361     
5362     
5363     
5364     
5365 </dl>
5366
5367     
5368     
5369
5370     
5371
5372     
5373     
5374     
5375     
5376     
5377     
5378     
5379 </dd>
5380
5381             </dl>
5382     
5383     
5384     
5385
5386     
5387 </article>
5388
5389 </section>  
5390
5391
5392
5393
5394
5395         
5396
5397         <footer>
5398             Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
5399         </footer>
5400     </div>
5401 </div>
5402 <script>prettyPrint();</script>
5403 <script src="scripts/jaguar.js"></script>
5404 </body>
5405 </html>