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