5 <title>Class: uci</title>
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>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
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">
20 var config = {"monospaceLinks":true,"cleverLinks":true,"default":{"outputSourceFiles":true}};
27 <div id="wrap" class="clearfix">
29 <div class="navigation">
30 <h3 class="applicationName"><a href="index.html"></a></h3>
33 <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
37 <li class="item" data-name="LuCI">
39 <a href="LuCI.html">LuCI</a>
42 <ul class="members itemMembers">
44 <span class="subtitle">Members</span>
46 <li data-name="LuCI#Class"><a href="LuCI.html#Class">Class</a></li>
48 <li data-name="LuCI#dom"><a href="LuCI.html#dom">dom</a></li>
50 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
52 <li data-name="LuCI#Poll"><a href="LuCI.html#Poll">Poll</a></li>
54 <li data-name="LuCI#Request"><a href="LuCI.html#Request">Request</a></li>
56 <li data-name="LuCI#view"><a href="LuCI.html#view">view</a></li>
59 <ul class="typedefs itemMembers">
61 <span class="subtitle">Typedefs</span>
63 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
66 <ul class="typedefs itemMembers">
69 <ul class="methods itemMembers">
71 <span class="subtitle">Methods</span>
73 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
75 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
77 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
79 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
81 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
83 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
85 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
87 <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
89 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
91 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
93 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
95 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
97 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
99 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
101 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
103 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
105 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
107 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
109 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
111 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
114 <ul class="events itemMembers">
119 <li class="item" data-name="LuCI.baseclass">
121 <a href="LuCI.baseclass.html">LuCI.baseclass</a>
124 <ul class="members itemMembers">
127 <ul class="typedefs itemMembers">
130 <ul class="typedefs itemMembers">
133 <ul class="methods itemMembers">
135 <span class="subtitle">Methods</span>
137 <li data-name="LuCI.baseclass.extend"><a href="LuCI.baseclass.html#.extend">extend</a></li>
139 <li data-name="LuCI.baseclass.instantiate"><a href="LuCI.baseclass.html#.instantiate">instantiate</a></li>
141 <li data-name="LuCI.baseclass.isSubclass"><a href="LuCI.baseclass.html#.isSubclass">isSubclass</a></li>
143 <li data-name="LuCI.baseclass.singleton"><a href="LuCI.baseclass.html#.singleton">singleton</a></li>
145 <li data-name="LuCI.baseclass#super"><a href="LuCI.baseclass.html#super">super</a></li>
147 <li data-name="LuCI.baseclass#varargs"><a href="LuCI.baseclass.html#varargs">varargs</a></li>
150 <ul class="events itemMembers">
155 <li class="item" data-name="LuCI.dom">
157 <a href="LuCI.dom.html">LuCI.dom</a>
160 <ul class="members itemMembers">
163 <ul class="typedefs itemMembers">
165 <span class="subtitle">Typedefs</span>
167 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
170 <ul class="typedefs itemMembers">
173 <ul class="methods itemMembers">
175 <span class="subtitle">Methods</span>
177 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
179 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
181 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
183 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
185 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
187 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
189 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
191 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
193 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
195 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
197 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
199 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
201 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
204 <ul class="events itemMembers">
209 <li class="item" data-name="LuCI.fs">
211 <a href="LuCI.fs.html">LuCI.fs</a>
214 <ul class="members itemMembers">
217 <ul class="typedefs itemMembers">
219 <span class="subtitle">Typedefs</span>
221 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
223 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
226 <ul class="typedefs itemMembers">
229 <ul class="methods itemMembers">
231 <span class="subtitle">Methods</span>
233 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
235 <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
237 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
239 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
241 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
243 <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
245 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
247 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
249 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
251 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
254 <ul class="events itemMembers">
259 <li class="item" data-name="LuCI.headers">
261 <a href="LuCI.headers.html">LuCI.headers</a>
264 <ul class="members itemMembers">
267 <ul class="typedefs itemMembers">
270 <ul class="typedefs itemMembers">
273 <ul class="methods itemMembers">
275 <span class="subtitle">Methods</span>
277 <li data-name="LuCI.headers#get"><a href="LuCI.headers.html#get">get</a></li>
279 <li data-name="LuCI.headers#has"><a href="LuCI.headers.html#has">has</a></li>
282 <ul class="events itemMembers">
287 <li class="item" data-name="LuCI.network">
289 <a href="LuCI.network.html">LuCI.network</a>
292 <ul class="members itemMembers">
295 <ul class="typedefs itemMembers">
297 <span class="subtitle">Typedefs</span>
299 <li data-name="LuCI.network.SwitchTopology"><a href="LuCI.network.html#.SwitchTopology">SwitchTopology</a></li>
301 <li data-name="LuCI.network.WifiEncryption"><a href="LuCI.network.html#.WifiEncryption">WifiEncryption</a></li>
303 <li data-name="LuCI.network.WifiPeerEntry"><a href="LuCI.network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
305 <li data-name="LuCI.network.WifiRateEntry"><a href="LuCI.network.html#.WifiRateEntry">WifiRateEntry</a></li>
307 <li data-name="LuCI.network.WifiScanResult"><a href="LuCI.network.html#.WifiScanResult">WifiScanResult</a></li>
310 <ul class="typedefs itemMembers">
313 <ul class="methods itemMembers">
315 <span class="subtitle">Methods</span>
317 <li data-name="LuCI.network#addNetwork"><a href="LuCI.network.html#addNetwork">addNetwork</a></li>
319 <li data-name="LuCI.network#addWifiNetwork"><a href="LuCI.network.html#addWifiNetwork">addWifiNetwork</a></li>
321 <li data-name="LuCI.network#deleteNetwork"><a href="LuCI.network.html#deleteNetwork">deleteNetwork</a></li>
323 <li data-name="LuCI.network#deleteWifiNetwork"><a href="LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
325 <li data-name="LuCI.network#flushCache"><a href="LuCI.network.html#flushCache">flushCache</a></li>
327 <li data-name="LuCI.network#formatWifiEncryption"><a href="LuCI.network.html#formatWifiEncryption">formatWifiEncryption</a></li>
329 <li data-name="LuCI.network#getDevice"><a href="LuCI.network.html#getDevice">getDevice</a></li>
331 <li data-name="LuCI.network#getDevices"><a href="LuCI.network.html#getDevices">getDevices</a></li>
333 <li data-name="LuCI.network#getDSLModemType"><a href="LuCI.network.html#getDSLModemType">getDSLModemType</a></li>
335 <li data-name="LuCI.network#getHostHints"><a href="LuCI.network.html#getHostHints">getHostHints</a></li>
337 <li data-name="LuCI.network#getIfnameOf"><a href="LuCI.network.html#getIfnameOf">getIfnameOf</a></li>
339 <li data-name="LuCI.network#getNetwork"><a href="LuCI.network.html#getNetwork">getNetwork</a></li>
341 <li data-name="LuCI.network#getNetworks"><a href="LuCI.network.html#getNetworks">getNetworks</a></li>
343 <li data-name="LuCI.network#getProtocol"><a href="LuCI.network.html#getProtocol">getProtocol</a></li>
345 <li data-name="LuCI.network#getProtocols"><a href="LuCI.network.html#getProtocols">getProtocols</a></li>
347 <li data-name="LuCI.network#getSwitchTopologies"><a href="LuCI.network.html#getSwitchTopologies">getSwitchTopologies</a></li>
349 <li data-name="LuCI.network#getWAN6Networks"><a href="LuCI.network.html#getWAN6Networks">getWAN6Networks</a></li>
351 <li data-name="LuCI.network#getWANNetworks"><a href="LuCI.network.html#getWANNetworks">getWANNetworks</a></li>
353 <li data-name="LuCI.network#getWifiDevice"><a href="LuCI.network.html#getWifiDevice">getWifiDevice</a></li>
355 <li data-name="LuCI.network#getWifiDevices"><a href="LuCI.network.html#getWifiDevices">getWifiDevices</a></li>
357 <li data-name="LuCI.network#getWifiNetwork"><a href="LuCI.network.html#getWifiNetwork">getWifiNetwork</a></li>
359 <li data-name="LuCI.network#getWifiNetworks"><a href="LuCI.network.html#getWifiNetworks">getWifiNetworks</a></li>
361 <li data-name="LuCI.network#isIgnoredDevice"><a href="LuCI.network.html#isIgnoredDevice">isIgnoredDevice</a></li>
363 <li data-name="LuCI.network#maskToPrefix"><a href="LuCI.network.html#maskToPrefix">maskToPrefix</a></li>
365 <li data-name="LuCI.network#prefixToMask"><a href="LuCI.network.html#prefixToMask">prefixToMask</a></li>
367 <li data-name="LuCI.network#registerErrorCode"><a href="LuCI.network.html#registerErrorCode">registerErrorCode</a></li>
369 <li data-name="LuCI.network#registerPatternVirtual"><a href="LuCI.network.html#registerPatternVirtual">registerPatternVirtual</a></li>
371 <li data-name="LuCI.network#registerProtocol"><a href="LuCI.network.html#registerProtocol">registerProtocol</a></li>
373 <li data-name="LuCI.network#renameNetwork"><a href="LuCI.network.html#renameNetwork">renameNetwork</a></li>
376 <ul class="events itemMembers">
381 <li class="item" data-name="LuCI.network.Device">
383 <a href="LuCI.network.Device.html">LuCI.network.Device</a>
386 <ul class="members itemMembers">
389 <ul class="typedefs itemMembers">
392 <ul class="typedefs itemMembers">
395 <ul class="methods itemMembers">
397 <span class="subtitle">Methods</span>
399 <li data-name="LuCI.network.Device#getBridgeID"><a href="LuCI.network.Device.html#getBridgeID">getBridgeID</a></li>
401 <li data-name="LuCI.network.Device#getBridgeSTP"><a href="LuCI.network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
403 <li data-name="LuCI.network.Device#getI18n"><a href="LuCI.network.Device.html#getI18n">getI18n</a></li>
405 <li data-name="LuCI.network.Device#getIP6Addrs"><a href="LuCI.network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
407 <li data-name="LuCI.network.Device#getIPAddrs"><a href="LuCI.network.Device.html#getIPAddrs">getIPAddrs</a></li>
409 <li data-name="LuCI.network.Device#getMAC"><a href="LuCI.network.Device.html#getMAC">getMAC</a></li>
411 <li data-name="LuCI.network.Device#getMTU"><a href="LuCI.network.Device.html#getMTU">getMTU</a></li>
413 <li data-name="LuCI.network.Device#getName"><a href="LuCI.network.Device.html#getName">getName</a></li>
415 <li data-name="LuCI.network.Device#getNetwork"><a href="LuCI.network.Device.html#getNetwork">getNetwork</a></li>
417 <li data-name="LuCI.network.Device#getNetworks"><a href="LuCI.network.Device.html#getNetworks">getNetworks</a></li>
419 <li data-name="LuCI.network.Device#getPorts"><a href="LuCI.network.Device.html#getPorts">getPorts</a></li>
421 <li data-name="LuCI.network.Device#getRXBytes"><a href="LuCI.network.Device.html#getRXBytes">getRXBytes</a></li>
423 <li data-name="LuCI.network.Device#getRXPackets"><a href="LuCI.network.Device.html#getRXPackets">getRXPackets</a></li>
425 <li data-name="LuCI.network.Device#getShortName"><a href="LuCI.network.Device.html#getShortName">getShortName</a></li>
427 <li data-name="LuCI.network.Device#getTXBytes"><a href="LuCI.network.Device.html#getTXBytes">getTXBytes</a></li>
429 <li data-name="LuCI.network.Device#getTXPackets"><a href="LuCI.network.Device.html#getTXPackets">getTXPackets</a></li>
431 <li data-name="LuCI.network.Device#getType"><a href="LuCI.network.Device.html#getType">getType</a></li>
433 <li data-name="LuCI.network.Device#getTypeI18n"><a href="LuCI.network.Device.html#getTypeI18n">getTypeI18n</a></li>
435 <li data-name="LuCI.network.Device#getWifiNetwork"><a href="LuCI.network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
437 <li data-name="LuCI.network.Device#isBridge"><a href="LuCI.network.Device.html#isBridge">isBridge</a></li>
439 <li data-name="LuCI.network.Device#isBridgePort"><a href="LuCI.network.Device.html#isBridgePort">isBridgePort</a></li>
441 <li data-name="LuCI.network.Device#isUp"><a href="LuCI.network.Device.html#isUp">isUp</a></li>
444 <ul class="events itemMembers">
449 <li class="item" data-name="LuCI.network.Hosts">
451 <a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>
454 <ul class="members itemMembers">
457 <ul class="typedefs itemMembers">
460 <ul class="typedefs itemMembers">
463 <ul class="methods itemMembers">
465 <span class="subtitle">Methods</span>
467 <li data-name="LuCI.network.Hosts#getHostnameByIP6Addr"><a href="LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
469 <li data-name="LuCI.network.Hosts#getHostnameByIPAddr"><a href="LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
471 <li data-name="LuCI.network.Hosts#getHostnameByMACAddr"><a href="LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
473 <li data-name="LuCI.network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
475 <li data-name="LuCI.network.Hosts#getIPAddrByMACAddr"><a href="LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
477 <li data-name="LuCI.network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
479 <li data-name="LuCI.network.Hosts#getMACAddrByIPAddr"><a href="LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
481 <li data-name="LuCI.network.Hosts#getMACHints"><a href="LuCI.network.Hosts.html#getMACHints">getMACHints</a></li>
484 <ul class="events itemMembers">
489 <li class="item" data-name="LuCI.network.Protocol">
491 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
494 <ul class="members itemMembers">
497 <ul class="typedefs itemMembers">
500 <ul class="typedefs itemMembers">
503 <ul class="methods itemMembers">
505 <span class="subtitle">Methods</span>
507 <li data-name="LuCI.network.Protocol#addDevice"><a href="LuCI.network.Protocol.html#addDevice">addDevice</a></li>
509 <li data-name="LuCI.network.Protocol#containsDevice"><a href="LuCI.network.Protocol.html#containsDevice">containsDevice</a></li>
511 <li data-name="LuCI.network.Protocol#deleteConfiguration"><a href="LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
513 <li data-name="LuCI.network.Protocol#deleteDevice"><a href="LuCI.network.Protocol.html#deleteDevice">deleteDevice</a></li>
515 <li data-name="LuCI.network.Protocol#get"><a href="LuCI.network.Protocol.html#get">get</a></li>
517 <li data-name="LuCI.network.Protocol#getDevice"><a href="LuCI.network.Protocol.html#getDevice">getDevice</a></li>
519 <li data-name="LuCI.network.Protocol#getDevices"><a href="LuCI.network.Protocol.html#getDevices">getDevices</a></li>
521 <li data-name="LuCI.network.Protocol#getDNS6Addrs"><a href="LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
523 <li data-name="LuCI.network.Protocol#getDNSAddrs"><a href="LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
525 <li data-name="LuCI.network.Protocol#getErrors"><a href="LuCI.network.Protocol.html#getErrors">getErrors</a></li>
527 <li data-name="LuCI.network.Protocol#getExpiry"><a href="LuCI.network.Protocol.html#getExpiry">getExpiry</a></li>
529 <li data-name="LuCI.network.Protocol#getGateway6Addr"><a href="LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
531 <li data-name="LuCI.network.Protocol#getGatewayAddr"><a href="LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
533 <li data-name="LuCI.network.Protocol#getI18n"><a href="LuCI.network.Protocol.html#getI18n">getI18n</a></li>
535 <li data-name="LuCI.network.Protocol#getIfname"><a href="LuCI.network.Protocol.html#getIfname">getIfname</a></li>
537 <li data-name="LuCI.network.Protocol#getIP6Addr"><a href="LuCI.network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
539 <li data-name="LuCI.network.Protocol#getIP6Addrs"><a href="LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
541 <li data-name="LuCI.network.Protocol#getIP6Prefix"><a href="LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
543 <li data-name="LuCI.network.Protocol#getIPAddr"><a href="LuCI.network.Protocol.html#getIPAddr">getIPAddr</a></li>
545 <li data-name="LuCI.network.Protocol#getIPAddrs"><a href="LuCI.network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
547 <li data-name="LuCI.network.Protocol#getL2Device"><a href="LuCI.network.Protocol.html#getL2Device">getL2Device</a></li>
549 <li data-name="LuCI.network.Protocol#getL3Device"><a href="LuCI.network.Protocol.html#getL3Device">getL3Device</a></li>
551 <li data-name="LuCI.network.Protocol#getMetric"><a href="LuCI.network.Protocol.html#getMetric">getMetric</a></li>
553 <li data-name="LuCI.network.Protocol#getName"><a href="LuCI.network.Protocol.html#getName">getName</a></li>
555 <li data-name="LuCI.network.Protocol#getNetmask"><a href="LuCI.network.Protocol.html#getNetmask">getNetmask</a></li>
557 <li data-name="LuCI.network.Protocol#getOpkgPackage"><a href="LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
559 <li data-name="LuCI.network.Protocol#getProtocol"><a href="LuCI.network.Protocol.html#getProtocol">getProtocol</a></li>
561 <li data-name="LuCI.network.Protocol#getType"><a href="LuCI.network.Protocol.html#getType">getType</a></li>
563 <li data-name="LuCI.network.Protocol#getUptime"><a href="LuCI.network.Protocol.html#getUptime">getUptime</a></li>
565 <li data-name="LuCI.network.Protocol#getZoneName"><a href="LuCI.network.Protocol.html#getZoneName">getZoneName</a></li>
567 <li data-name="LuCI.network.Protocol#isAlias"><a href="LuCI.network.Protocol.html#isAlias">isAlias</a></li>
569 <li data-name="LuCI.network.Protocol#isBridge"><a href="LuCI.network.Protocol.html#isBridge">isBridge</a></li>
571 <li data-name="LuCI.network.Protocol#isDynamic"><a href="LuCI.network.Protocol.html#isDynamic">isDynamic</a></li>
573 <li data-name="LuCI.network.Protocol#isEmpty"><a href="LuCI.network.Protocol.html#isEmpty">isEmpty</a></li>
575 <li data-name="LuCI.network.Protocol#isFloating"><a href="LuCI.network.Protocol.html#isFloating">isFloating</a></li>
577 <li data-name="LuCI.network.Protocol#isInstalled"><a href="LuCI.network.Protocol.html#isInstalled">isInstalled</a></li>
579 <li data-name="LuCI.network.Protocol#isUp"><a href="LuCI.network.Protocol.html#isUp">isUp</a></li>
581 <li data-name="LuCI.network.Protocol#isVirtual"><a href="LuCI.network.Protocol.html#isVirtual">isVirtual</a></li>
583 <li data-name="LuCI.network.Protocol#set"><a href="LuCI.network.Protocol.html#set">set</a></li>
586 <ul class="events itemMembers">
591 <li class="item" data-name="LuCI.network.WifiDevice">
593 <a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>
596 <ul class="members itemMembers">
599 <ul class="typedefs itemMembers">
602 <ul class="typedefs itemMembers">
605 <ul class="methods itemMembers">
607 <span class="subtitle">Methods</span>
609 <li data-name="LuCI.network.WifiDevice#addWifiNetwork"><a href="LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
611 <li data-name="LuCI.network.WifiDevice#deleteWifiNetwork"><a href="LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
613 <li data-name="LuCI.network.WifiDevice#get"><a href="LuCI.network.WifiDevice.html#get">get</a></li>
615 <li data-name="LuCI.network.WifiDevice#getHTModes"><a href="LuCI.network.WifiDevice.html#getHTModes">getHTModes</a></li>
617 <li data-name="LuCI.network.WifiDevice#getHWModes"><a href="LuCI.network.WifiDevice.html#getHWModes">getHWModes</a></li>
619 <li data-name="LuCI.network.WifiDevice#getI18n"><a href="LuCI.network.WifiDevice.html#getI18n">getI18n</a></li>
621 <li data-name="LuCI.network.WifiDevice#getName"><a href="LuCI.network.WifiDevice.html#getName">getName</a></li>
623 <li data-name="LuCI.network.WifiDevice#getScanList"><a href="LuCI.network.WifiDevice.html#getScanList">getScanList</a></li>
625 <li data-name="LuCI.network.WifiDevice#getWifiNetwork"><a href="LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
627 <li data-name="LuCI.network.WifiDevice#getWifiNetworks"><a href="LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
629 <li data-name="LuCI.network.WifiDevice#isDisabled"><a href="LuCI.network.WifiDevice.html#isDisabled">isDisabled</a></li>
631 <li data-name="LuCI.network.WifiDevice#isUp"><a href="LuCI.network.WifiDevice.html#isUp">isUp</a></li>
633 <li data-name="LuCI.network.WifiDevice#set"><a href="LuCI.network.WifiDevice.html#set">set</a></li>
636 <ul class="events itemMembers">
641 <li class="item" data-name="LuCI.network.WifiNetwork">
643 <a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>
646 <ul class="members itemMembers">
649 <ul class="typedefs itemMembers">
652 <ul class="typedefs itemMembers">
655 <ul class="methods itemMembers">
657 <span class="subtitle">Methods</span>
659 <li data-name="LuCI.network.WifiNetwork#disconnectClient"><a href="LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
661 <li data-name="LuCI.network.WifiNetwork#get"><a href="LuCI.network.WifiNetwork.html#get">get</a></li>
663 <li data-name="LuCI.network.WifiNetwork#getActiveBSSID"><a href="LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
665 <li data-name="LuCI.network.WifiNetwork#getActiveEncryption"><a href="LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
667 <li data-name="LuCI.network.WifiNetwork#getActiveMode"><a href="LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
669 <li data-name="LuCI.network.WifiNetwork#getActiveModeI18n"><a href="LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
671 <li data-name="LuCI.network.WifiNetwork#getActiveSSID"><a href="LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
673 <li data-name="LuCI.network.WifiNetwork#getAssocList"><a href="LuCI.network.WifiNetwork.html#getAssocList">getAssocList</a></li>
675 <li data-name="LuCI.network.WifiNetwork#getBitRate"><a href="LuCI.network.WifiNetwork.html#getBitRate">getBitRate</a></li>
677 <li data-name="LuCI.network.WifiNetwork#getBSSID"><a href="LuCI.network.WifiNetwork.html#getBSSID">getBSSID</a></li>
679 <li data-name="LuCI.network.WifiNetwork#getChannel"><a href="LuCI.network.WifiNetwork.html#getChannel">getChannel</a></li>
681 <li data-name="LuCI.network.WifiNetwork#getCountryCode"><a href="LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
683 <li data-name="LuCI.network.WifiNetwork#getDevice"><a href="LuCI.network.WifiNetwork.html#getDevice">getDevice</a></li>
685 <li data-name="LuCI.network.WifiNetwork#getFrequency"><a href="LuCI.network.WifiNetwork.html#getFrequency">getFrequency</a></li>
687 <li data-name="LuCI.network.WifiNetwork#getI18n"><a href="LuCI.network.WifiNetwork.html#getI18n">getI18n</a></li>
689 <li data-name="LuCI.network.WifiNetwork#getID"><a href="LuCI.network.WifiNetwork.html#getID">getID</a></li>
691 <li data-name="LuCI.network.WifiNetwork#getIfname"><a href="LuCI.network.WifiNetwork.html#getIfname">getIfname</a></li>
693 <li data-name="LuCI.network.WifiNetwork#getMeshID"><a href="LuCI.network.WifiNetwork.html#getMeshID">getMeshID</a></li>
695 <li data-name="LuCI.network.WifiNetwork#getMode"><a href="LuCI.network.WifiNetwork.html#getMode">getMode</a></li>
697 <li data-name="LuCI.network.WifiNetwork#getName"><a href="LuCI.network.WifiNetwork.html#getName">getName</a></li>
699 <li data-name="LuCI.network.WifiNetwork#getNetwork"><a href="LuCI.network.WifiNetwork.html#getNetwork">getNetwork</a></li>
701 <li data-name="LuCI.network.WifiNetwork#getNetworkNames"><a href="LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
703 <li data-name="LuCI.network.WifiNetwork#getNetworks"><a href="LuCI.network.WifiNetwork.html#getNetworks">getNetworks</a></li>
705 <li data-name="LuCI.network.WifiNetwork#getNoise"><a href="LuCI.network.WifiNetwork.html#getNoise">getNoise</a></li>
707 <li data-name="LuCI.network.WifiNetwork#getShortName"><a href="LuCI.network.WifiNetwork.html#getShortName">getShortName</a></li>
709 <li data-name="LuCI.network.WifiNetwork#getSignal"><a href="LuCI.network.WifiNetwork.html#getSignal">getSignal</a></li>
711 <li data-name="LuCI.network.WifiNetwork#getSignalLevel"><a href="LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
713 <li data-name="LuCI.network.WifiNetwork#getSignalPercent"><a href="LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
715 <li data-name="LuCI.network.WifiNetwork#getSSID"><a href="LuCI.network.WifiNetwork.html#getSSID">getSSID</a></li>
717 <li data-name="LuCI.network.WifiNetwork#getTXPower"><a href="LuCI.network.WifiNetwork.html#getTXPower">getTXPower</a></li>
719 <li data-name="LuCI.network.WifiNetwork#getTXPowerOffset"><a href="LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
721 <li data-name="LuCI.network.WifiNetwork#getWifiDevice"><a href="LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
723 <li data-name="LuCI.network.WifiNetwork#getWifiDeviceName"><a href="LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
725 <li data-name="LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
727 <li data-name="LuCI.network.WifiNetwork#isDisabled"><a href="LuCI.network.WifiNetwork.html#isDisabled">isDisabled</a></li>
729 <li data-name="LuCI.network.WifiNetwork#isUp"><a href="LuCI.network.WifiNetwork.html#isUp">isUp</a></li>
731 <li data-name="LuCI.network.WifiNetwork#set"><a href="LuCI.network.WifiNetwork.html#set">set</a></li>
734 <ul class="events itemMembers">
739 <li class="item" data-name="LuCI.poll">
741 <a href="LuCI.poll.html">LuCI.poll</a>
744 <ul class="members itemMembers">
747 <ul class="typedefs itemMembers">
750 <ul class="typedefs itemMembers">
753 <ul class="methods itemMembers">
755 <span class="subtitle">Methods</span>
757 <li data-name="LuCI.poll#active"><a href="LuCI.poll.html#active">active</a></li>
759 <li data-name="LuCI.poll#add"><a href="LuCI.poll.html#add">add</a></li>
761 <li data-name="LuCI.poll#remove"><a href="LuCI.poll.html#remove">remove</a></li>
763 <li data-name="LuCI.poll#start"><a href="LuCI.poll.html#start">start</a></li>
765 <li data-name="LuCI.poll#stop"><a href="LuCI.poll.html#stop">stop</a></li>
768 <ul class="events itemMembers">
773 <li class="item" data-name="LuCI.request">
775 <a href="LuCI.request.html">LuCI.request</a>
778 <ul class="members itemMembers">
781 <ul class="typedefs itemMembers">
783 <span class="subtitle">Typedefs</span>
785 <li data-name="LuCI.request.interceptorFn"><a href="LuCI.request.html#.interceptorFn">interceptorFn</a></li>
787 <li data-name="LuCI.request.RequestOptions"><a href="LuCI.request.html#.RequestOptions">RequestOptions</a></li>
790 <ul class="typedefs itemMembers">
793 <ul class="methods itemMembers">
795 <span class="subtitle">Methods</span>
797 <li data-name="LuCI.request#addInterceptor"><a href="LuCI.request.html#addInterceptor">addInterceptor</a></li>
799 <li data-name="LuCI.request#expandURL"><a href="LuCI.request.html#expandURL">expandURL</a></li>
801 <li data-name="LuCI.request#get"><a href="LuCI.request.html#get">get</a></li>
803 <li data-name="LuCI.request#post"><a href="LuCI.request.html#post">post</a></li>
805 <li data-name="LuCI.request#removeInterceptor"><a href="LuCI.request.html#removeInterceptor">removeInterceptor</a></li>
807 <li data-name="LuCI.request#request"><a href="LuCI.request.html#request">request</a></li>
810 <ul class="events itemMembers">
815 <li class="item" data-name="LuCI.request.poll">
817 <a href="LuCI.request.poll.html">LuCI.request.poll</a>
820 <ul class="members itemMembers">
823 <ul class="typedefs itemMembers">
825 <span class="subtitle">Typedefs</span>
827 <li data-name="LuCI.request.poll~callbackFn"><a href="LuCI.request.poll.html#~callbackFn">callbackFn</a></li>
830 <ul class="typedefs itemMembers">
833 <ul class="methods itemMembers">
835 <span class="subtitle">Methods</span>
837 <li data-name="LuCI.request.poll#active"><a href="LuCI.request.poll.html#active">active</a></li>
839 <li data-name="LuCI.request.poll#add"><a href="LuCI.request.poll.html#add">add</a></li>
841 <li data-name="LuCI.request.poll#remove"><a href="LuCI.request.poll.html#remove">remove</a></li>
843 <li data-name="LuCI.request.poll#start"><a href="LuCI.request.poll.html#start">start</a></li>
845 <li data-name="LuCI.request.poll#stop"><a href="LuCI.request.poll.html#stop">stop</a></li>
848 <ul class="events itemMembers">
853 <li class="item" data-name="LuCI.response">
855 <a href="LuCI.response.html">LuCI.response</a>
858 <ul class="members itemMembers">
860 <span class="subtitle">Members</span>
862 <li data-name="LuCI.response#duration"><a href="LuCI.response.html#duration">duration</a></li>
864 <li data-name="LuCI.response#headers"><a href="LuCI.response.html#headers">headers</a></li>
866 <li data-name="LuCI.response#ok"><a href="LuCI.response.html#ok">ok</a></li>
868 <li data-name="LuCI.response#status"><a href="LuCI.response.html#status">status</a></li>
870 <li data-name="LuCI.response#statusText"><a href="LuCI.response.html#statusText">statusText</a></li>
872 <li data-name="LuCI.response#url"><a href="LuCI.response.html#url">url</a></li>
875 <ul class="typedefs itemMembers">
878 <ul class="typedefs itemMembers">
881 <ul class="methods itemMembers">
883 <span class="subtitle">Methods</span>
885 <li data-name="LuCI.response#blob"><a href="LuCI.response.html#blob">blob</a></li>
887 <li data-name="LuCI.response#clone"><a href="LuCI.response.html#clone">clone</a></li>
889 <li data-name="LuCI.response#json"><a href="LuCI.response.html#json">json</a></li>
891 <li data-name="LuCI.response#text"><a href="LuCI.response.html#text">text</a></li>
894 <ul class="events itemMembers">
899 <li class="item" data-name="LuCI.rpc">
901 <a href="LuCI.rpc.html">LuCI.rpc</a>
904 <ul class="members itemMembers">
907 <ul class="typedefs itemMembers">
909 <span class="subtitle">Typedefs</span>
911 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
913 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
915 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
917 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
920 <ul class="typedefs itemMembers">
923 <ul class="methods itemMembers">
925 <span class="subtitle">Methods</span>
927 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
929 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
931 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
933 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
935 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
937 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
939 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
941 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
943 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
946 <ul class="events itemMembers">
951 <li class="item" data-name="LuCI.uci">
953 <a href="LuCI.uci.html">LuCI.uci</a>
956 <ul class="members itemMembers">
959 <ul class="typedefs itemMembers">
961 <span class="subtitle">Typedefs</span>
963 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
965 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
967 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
970 <ul class="typedefs itemMembers">
973 <ul class="methods itemMembers">
975 <span class="subtitle">Methods</span>
977 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
979 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
981 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
983 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
985 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
987 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
989 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
991 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
993 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
995 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
997 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
999 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
1001 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
1003 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
1005 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
1007 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
1009 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
1012 <ul class="events itemMembers">
1017 <li class="item" data-name="LuCI.ui">
1018 <span class="title">
1019 <a href="LuCI.ui.html">LuCI.ui</a>
1022 <ul class="members itemMembers">
1025 <ul class="typedefs itemMembers">
1027 <span class="subtitle">Typedefs</span>
1029 <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
1032 <ul class="typedefs itemMembers">
1035 <ul class="methods itemMembers">
1037 <span class="subtitle">Methods</span>
1039 <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
1041 <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
1043 <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
1045 <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
1047 <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
1049 <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
1051 <li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
1053 <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
1055 <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
1057 <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
1059 <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
1061 <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
1064 <ul class="events itemMembers">
1069 <li class="item" data-name="LuCI.ui.AbstractElement">
1070 <span class="title">
1071 <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
1074 <ul class="members itemMembers">
1077 <ul class="typedefs itemMembers">
1079 <span class="subtitle">Typedefs</span>
1081 <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
1084 <ul class="typedefs itemMembers">
1087 <ul class="methods itemMembers">
1089 <span class="subtitle">Methods</span>
1091 <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
1093 <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
1095 <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
1097 <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
1099 <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
1101 <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
1103 <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
1105 <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
1108 <ul class="events itemMembers">
1113 <li class="item" data-name="LuCI.ui.changes">
1114 <span class="title">
1115 <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
1118 <ul class="members itemMembers">
1121 <ul class="typedefs itemMembers">
1124 <ul class="typedefs itemMembers">
1127 <ul class="methods itemMembers">
1129 <span class="subtitle">Methods</span>
1131 <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
1133 <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
1135 <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
1137 <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
1139 <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
1142 <ul class="events itemMembers">
1147 <li class="item" data-name="LuCI.ui.Checkbox">
1148 <span class="title">
1149 <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
1152 <ul class="members itemMembers">
1155 <ul class="typedefs itemMembers">
1157 <span class="subtitle">Typedefs</span>
1159 <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
1162 <ul class="typedefs itemMembers">
1165 <ul class="methods itemMembers">
1167 <span class="subtitle">Methods</span>
1169 <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
1171 <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
1173 <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
1175 <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
1177 <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
1179 <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
1181 <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
1183 <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
1185 <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
1188 <ul class="events itemMembers">
1193 <li class="item" data-name="LuCI.ui.Combobox">
1194 <span class="title">
1195 <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
1198 <ul class="members itemMembers">
1201 <ul class="typedefs itemMembers">
1203 <span class="subtitle">Typedefs</span>
1205 <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
1208 <ul class="typedefs itemMembers">
1211 <ul class="methods itemMembers">
1213 <span class="subtitle">Methods</span>
1215 <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
1217 <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
1219 <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
1221 <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
1223 <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
1225 <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
1227 <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
1229 <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
1232 <ul class="events itemMembers">
1237 <li class="item" data-name="LuCI.ui.ComboButton">
1238 <span class="title">
1239 <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
1242 <ul class="members itemMembers">
1245 <ul class="typedefs itemMembers">
1247 <span class="subtitle">Typedefs</span>
1249 <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
1252 <ul class="typedefs itemMembers">
1255 <ul class="methods itemMembers">
1257 <span class="subtitle">Methods</span>
1259 <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
1261 <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
1263 <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
1265 <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
1267 <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
1269 <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
1271 <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
1273 <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
1276 <ul class="events itemMembers">
1281 <li class="item" data-name="LuCI.ui.Dropdown">
1282 <span class="title">
1283 <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
1286 <ul class="members itemMembers">
1289 <ul class="typedefs itemMembers">
1291 <span class="subtitle">Typedefs</span>
1293 <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
1296 <ul class="typedefs itemMembers">
1299 <ul class="methods itemMembers">
1301 <span class="subtitle">Methods</span>
1303 <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
1305 <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
1307 <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
1309 <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
1311 <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
1313 <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
1315 <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
1317 <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
1319 <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
1321 <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
1323 <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
1326 <ul class="events itemMembers">
1331 <li class="item" data-name="LuCI.ui.DynamicList">
1332 <span class="title">
1333 <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
1336 <ul class="members itemMembers">
1339 <ul class="typedefs itemMembers">
1341 <span class="subtitle">Typedefs</span>
1343 <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
1346 <ul class="typedefs itemMembers">
1349 <ul class="methods itemMembers">
1351 <span class="subtitle">Methods</span>
1353 <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
1355 <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
1357 <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
1359 <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
1361 <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
1363 <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
1365 <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
1367 <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
1369 <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
1371 <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
1374 <ul class="events itemMembers">
1379 <li class="item" data-name="LuCI.ui.FileUpload">
1380 <span class="title">
1381 <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
1384 <ul class="members itemMembers">
1387 <ul class="typedefs itemMembers">
1389 <span class="subtitle">Typedefs</span>
1391 <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
1394 <ul class="typedefs itemMembers">
1397 <ul class="methods itemMembers">
1399 <span class="subtitle">Methods</span>
1401 <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
1403 <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
1405 <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
1407 <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
1409 <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
1411 <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
1413 <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
1415 <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
1418 <ul class="events itemMembers">
1423 <li class="item" data-name="LuCI.ui.Hiddenfield">
1424 <span class="title">
1425 <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
1428 <ul class="members itemMembers">
1431 <ul class="typedefs itemMembers">
1434 <ul class="typedefs itemMembers">
1437 <ul class="methods itemMembers">
1439 <span class="subtitle">Methods</span>
1441 <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
1443 <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
1445 <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
1447 <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
1449 <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
1451 <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
1453 <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
1455 <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
1458 <ul class="events itemMembers">
1463 <li class="item" data-name="LuCI.ui.Select">
1464 <span class="title">
1465 <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
1468 <ul class="members itemMembers">
1471 <ul class="typedefs itemMembers">
1473 <span class="subtitle">Typedefs</span>
1475 <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
1478 <ul class="typedefs itemMembers">
1481 <ul class="methods itemMembers">
1483 <span class="subtitle">Methods</span>
1485 <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
1487 <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
1489 <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
1491 <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
1493 <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
1495 <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
1497 <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
1499 <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
1502 <ul class="events itemMembers">
1507 <li class="item" data-name="LuCI.ui.tabs">
1508 <span class="title">
1509 <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
1512 <ul class="members itemMembers">
1515 <ul class="typedefs itemMembers">
1518 <ul class="typedefs itemMembers">
1521 <ul class="methods itemMembers">
1523 <span class="subtitle">Methods</span>
1525 <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
1527 <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
1530 <ul class="events itemMembers">
1535 <li class="item" data-name="LuCI.ui.Textarea">
1536 <span class="title">
1537 <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
1540 <ul class="members itemMembers">
1543 <ul class="typedefs itemMembers">
1545 <span class="subtitle">Typedefs</span>
1547 <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
1550 <ul class="typedefs itemMembers">
1553 <ul class="methods itemMembers">
1555 <span class="subtitle">Methods</span>
1557 <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
1559 <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
1561 <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
1563 <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
1565 <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
1567 <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
1569 <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
1571 <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
1574 <ul class="events itemMembers">
1579 <li class="item" data-name="LuCI.ui.Textfield">
1580 <span class="title">
1581 <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
1584 <ul class="members itemMembers">
1587 <ul class="typedefs itemMembers">
1589 <span class="subtitle">Typedefs</span>
1591 <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
1594 <ul class="typedefs itemMembers">
1597 <ul class="methods itemMembers">
1599 <span class="subtitle">Methods</span>
1601 <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
1603 <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
1605 <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
1607 <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
1609 <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
1611 <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
1613 <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
1615 <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
1618 <ul class="events itemMembers">
1623 <li class="item" data-name="LuCI.view">
1624 <span class="title">
1625 <a href="LuCI.view.html">LuCI.view</a>
1628 <ul class="members itemMembers">
1631 <ul class="typedefs itemMembers">
1634 <ul class="typedefs itemMembers">
1637 <ul class="methods itemMembers">
1639 <span class="subtitle">Methods</span>
1641 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1643 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1645 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1647 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1649 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1651 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1654 <ul class="events itemMembers">
1659 <li class="item" data-name="LuCI.xhr">
1660 <span class="title">
1661 <a href="LuCI.xhr.html">LuCI.xhr</a>
1664 <ul class="members itemMembers">
1667 <ul class="typedefs itemMembers">
1670 <ul class="typedefs itemMembers">
1673 <ul class="methods itemMembers">
1675 <span class="subtitle">Methods</span>
1677 <li data-name="LuCI.xhr#abort"><a href="LuCI.xhr.html#abort">abort</a></li>
1679 <li data-name="LuCI.xhr#busy"><a href="LuCI.xhr.html#busy">busy</a></li>
1681 <li data-name="LuCI.xhr#cancel"><a href="LuCI.xhr.html#cancel">cancel</a></li>
1683 <li data-name="LuCI.xhr#get"><a href="LuCI.xhr.html#get">get</a></li>
1685 <li data-name="LuCI.xhr#post"><a href="LuCI.xhr.html#post">post</a></li>
1687 <li data-name="LuCI.xhr#send_form"><a href="LuCI.xhr.html#send_form">send_form</a></li>
1690 <ul class="events itemMembers">
1698 <h1 class="page-title" data-filename="LuCI.uci.html">Class: uci</h1>
1707 <span class="ancestors"><a href="LuCI.html">LuCI</a>.</span>
1712 <div class="class-description"><p>The <code>LuCI.uci</code> class utilizes <a href="LuCI.rpc.html"><code>LuCI.rpc</code></a> to declare low level
1713 remote UCI <code>ubus</code> procedures and implements a local caching and data
1714 manipulation layer on top to allow for synchroneous operations on
1715 UCI configuration data.</p></div>
1720 <div class="container-overview">
1726 <div class="nameContainer">
1727 <h4 class="name" id="uci">
1729 new LuCI.uci<span class="signature">()</span>
1733 <div class="tag-source">
1734 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line5">line 5</a>
1752 <dl class="details">
1806 <h3 class="subsection-title">Methods</h3>
1811 <div class="nameContainer">
1812 <h4 class="name" id="add">
1814 add<span class="signature">(config, type, <span class="optional">name</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
1818 <div class="tag-source">
1819 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line270">line 270</a>
1829 <div class="description">
1830 <p>Adds a new section of the given type to the given configuration,
1831 optionally named according to the given name.</p>
1842 <table class="params">
1853 <th class="last">Description</th>
1862 <td class="name"><code>config</code></td>
1868 <span class="param-type">string</span>
1876 <td class="description last">
1883 <p>The name of the configuration to add the section to.</p></td>
1890 <td class="name"><code>type</code></td>
1896 <span class="param-type">string</span>
1904 <td class="description last">
1911 <p>The type of the section to add.</p></td>
1918 <td class="name"><code>name</code></td>
1924 <span class="param-type">string</span>
1932 <td class="description last">
1935 <span class="optional">optional</span>
1941 <p>The name of the section to add. If the name is omitted, an anonymous
1942 section will be added instead.</p></td>
1951 <dl class="details">
1989 <table class="params">
1994 <th class="last">Description</th>
2007 <td class="description last">Returns the section ID of the newly added section which is equivalent
2008 to the given name for non-anonymous sections.</td>
2022 <div class="nameContainer">
2023 <h4 class="name" id="apply">
2025 apply<span class="signature">(<span class="optional">timeout</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<number>}</span>
2029 <div class="tag-source">
2030 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line859">line 859</a>
2040 <div class="description">
2041 <p>Instructs the remote <code>ubus</code> UCI api to commit all saved changes with
2042 rollback protection and attempts to confirm the pending commit
2043 operation to cancel the rollback timer.</p>
2054 <table class="params">
2067 <th class="last">Description</th>
2076 <td class="name"><code>timeout</code></td>
2082 <span class="param-type">number</span>
2089 <td class="default">
2096 <td class="description last">
2099 <span class="optional">optional</span>
2105 <p>Override the confirmation timeout after which a rollback is triggered.</p></td>
2114 <dl class="details">
2152 <table class="params">
2157 <th class="last">Description</th>
2170 <td class="description last">Returns a promise resolving/rejecting with the <code>ubus</code> RPC status code.</td>
2184 <div class="nameContainer">
2185 <h4 class="name" id="changes">
2187 changes<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Object.<string, Array.<<a href="LuCI.uci.html#.ChangeRecord">LuCI.uci.ChangeRecord</a>>>>}</span>
2191 <div class="tag-source">
2192 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line939">line 939</a>
2202 <div class="description">
2203 <p>Fetches uncommitted UCI changes from the remote <code>ubus</code> RPC api.</p>
2214 <dl class="details">
2252 <table class="params">
2257 <th class="last">Description</th>
2266 Promise.<Object.<string, Array.<<a href="LuCI.uci.html#.ChangeRecord">LuCI.uci.ChangeRecord</a>>>>
2270 <td class="description last">Returns a promise resolving to an object containing the configuration
2271 names as keys and arrays of related change records as values.</td>
2285 <div class="nameContainer">
2286 <h4 class="name" id="createSID">
2288 createSID<span class="signature">(config)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
2292 <div class="tag-source">
2293 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line89">line 89</a>
2303 <div class="description">
2304 <p>Generates a new, unique section ID for the given configuration.</p>
2305 <p>Note that the generated ID is temporary, it will get replaced by an
2306 identifier in the form <code>cfgXXXXXX</code> once the configuration is saved
2307 by the remote <code>ubus</code> UCI api.</p>
2318 <table class="params">
2329 <th class="last">Description</th>
2338 <td class="name"><code>config</code></td>
2344 <span class="param-type">string</span>
2352 <td class="description last">
2354 <p>The configuration to generate the new section ID for.</p></td>
2363 <dl class="details">
2401 <table class="params">
2406 <th class="last">Description</th>
2419 <td class="description last">A newly generated, unique section ID in the form <code>newXXXXXX</code>
2420 where <code>X</code> denotes a hexadecimal digit.</td>
2434 <div class="nameContainer">
2435 <h4 class="name" id="get">
2437 get<span class="signature">(config, sid, <span class="optional">option</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.<string>|<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>}</span>
2441 <div class="tag-source">
2442 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line444">line 444</a>
2452 <div class="description">
2453 <p>Gets the value of the given option within the specified section
2454 of the given configuration or the entire section object if the
2455 option name is omitted.</p>
2466 <table class="params">
2477 <th class="last">Description</th>
2486 <td class="name"><code>config</code></td>
2492 <span class="param-type">string</span>
2500 <td class="description last">
2507 <p>The name of the configuration to read the value from.</p></td>
2514 <td class="name"><code>sid</code></td>
2520 <span class="param-type">string</span>
2528 <td class="description last">
2535 <p>The name or ID of the section to read.</p></td>
2542 <td class="name"><code>option</code></td>
2548 <span class="param-type">string</span>
2556 <td class="description last">
2559 <span class="optional">optional</span>
2565 <p>The option name to read the value from. If the option name is
2566 omitted or <code>null</code>, the entire section is returned instead.</p></td>
2575 <dl class="details">
2613 <table class="params">
2618 <th class="last">Description</th>
2636 <a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>
2640 <td class="description last"><ul>
2641 <li>Returns a string containing the option value in case of a
2642 plain UCI option.</li>
2643 <li>Returns an array of strings containing the option values in
2644 case of <code>option</code> pointing to an UCI list.</li>
2645 <li>Returns a <a href="LuCI.uci.html#.SectionObject"><code>section object</code></a> if
2646 the <code>option</code> argument has been omitted or is <code>null</code>.</li>
2647 <li>Returns <code>null</code> if the config, section or option has not been
2648 found or if the corresponding configuration is not loaded.</li>
2663 <div class="nameContainer">
2664 <h4 class="name" id="get_first">
2666 get_first<span class="signature">(config, <span class="optional">type</span>, <span class="optional">option</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{null|string|Array.<string>|<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>}</span>
2670 <div class="tag-source">
2671 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line619">line 619</a>
2681 <div class="description">
2682 <p>Gets the value of the given option or the entire section object of
2683 the first found section of the specified type or the first found
2684 section of the entire configuration if no type is specfied.</p>
2695 <table class="params">
2706 <th class="last">Description</th>
2715 <td class="name"><code>config</code></td>
2721 <span class="param-type">string</span>
2729 <td class="description last">
2736 <p>The name of the configuration to read the value from.</p></td>
2743 <td class="name"><code>type</code></td>
2749 <span class="param-type">string</span>
2757 <td class="description last">
2760 <span class="optional">optional</span>
2766 <p>The type of the first section to find. If it is <code>null</code>, the first
2767 section of the entire config is read, otherwise the first section
2768 matching the given type.</p></td>
2775 <td class="name"><code>option</code></td>
2781 <span class="param-type">string</span>
2789 <td class="description last">
2792 <span class="optional">optional</span>
2798 <p>The option name to read the value from. If the option name is
2799 omitted or <code>null</code>, the entire section is returned instead.</p></td>
2808 <dl class="details">
2846 <table class="params">
2851 <th class="last">Description</th>
2869 <a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>
2873 <td class="description last"><ul>
2874 <li>Returns a string containing the option value in case of a
2875 plain UCI option.</li>
2876 <li>Returns an array of strings containing the option values in
2877 case of <code>option</code> pointing to an UCI list.</li>
2878 <li>Returns a <a href="LuCI.uci.html#.SectionObject"><code>section object</code></a> if
2879 the <code>option</code> argument has been omitted or is <code>null</code>.</li>
2880 <li>Returns <code>null</code> if the config, section or option has not been
2881 found or if the corresponding configuration is not loaded.</li>
2896 <div class="nameContainer">
2897 <h4 class="name" id="load">
2899 load<span class="signature">(config)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<Array.<string>>}</span>
2903 <div class="tag-source">
2904 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line206">line 206</a>
2914 <div class="description">
2915 <p>Loads the given UCI configurations from the remote <code>ubus</code> api.</p>
2916 <p>Loaded configurations are cached and only loaded once. Subsequent
2917 load operations of the same configurations will return the cached
2919 <p>To force reloading a configuration, it has to be unloaded with
2920 <a href="LuCI.uci.html#unload"><code>uci.unload()</code></a> first.</p>
2931 <table class="params">
2942 <th class="last">Description</th>
2951 <td class="name"><code>config</code></td>
2957 <span class="param-type">string</span>
2960 <span class="param-type">Array.<string></span>
2968 <td class="description last">
2970 <p>The name of the configuration or an array of configuration
2971 names to load.</p></td>
2980 <dl class="details">
3018 <table class="params">
3023 <th class="last">Description</th>
3032 Promise.<Array.<string>>
3036 <td class="description last">Returns a promise resolving to the names of the configurations
3037 that have been successfully loaded.</td>
3051 <div class="nameContainer">
3052 <h4 class="name" id="move">
3054 move<span class="signature">(config, sid1, <span class="optional">sid2</span>, <span class="optional">after</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3058 <div class="tag-source">
3059 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line719">line 719</a>
3069 <div class="description">
3070 <p>Move the first specified section within the given configuration
3071 before or after the second specified section.</p>
3082 <table class="params">
3095 <th class="last">Description</th>
3104 <td class="name"><code>config</code></td>
3110 <span class="param-type">string</span>
3117 <td class="default">
3122 <td class="description last">
3129 <p>The configuration to move the section within.</p></td>
3136 <td class="name"><code>sid1</code></td>
3142 <span class="param-type">string</span>
3149 <td class="default">
3154 <td class="description last">
3161 <p>The ID of the section to move within the configuration.</p></td>
3168 <td class="name"><code>sid2</code></td>
3174 <span class="param-type">string</span>
3181 <td class="default">
3186 <td class="description last">
3189 <span class="optional">optional</span>
3195 <p>The ID of the target section for the move operation. If the
3196 <code>after</code> argument is <code>false</code> or not specified, the section named by
3197 <code>sid1</code> will be moved before this target section, if the <code>after</code>
3198 argument is <code>true</code>, the <code>sid1</code> section will be moved after this
3200 <p>When the <code>sid2</code> argument is <code>null</code>, the section specified by <code>sid1</code>
3201 is moved to the end of the configuration.</p></td>
3208 <td class="name"><code>after</code></td>
3214 <span class="param-type">boolean</span>
3221 <td class="default">
3228 <td class="description last">
3231 <span class="optional">optional</span>
3237 <p>When <code>true</code>, the section <code>sid1</code> is moved after the section <code>sid2</code>,
3238 when <code>false</code>, the section <code>sid1</code> is moved before <code>sid2</code>.</p>
3239 <p>If <code>sid2</code> is null, then this parameter has no effect and the section
3240 <code>sid1</code> is moved to the end of the configuration instead.</p></td>
3249 <dl class="details">
3287 <table class="params">
3292 <th class="last">Description</th>
3305 <td class="description last">Returns <code>true</code> when the section was successfully moved, or <code>false</code>
3306 when either the section specified by <code>sid1</code> or by <code>sid2</code> is not found.</td>
3320 <div class="nameContainer">
3321 <h4 class="name" id="remove">
3323 remove<span class="signature">(config, sid)</span>
3327 <div class="tag-source">
3328 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line297">line 297</a>
3338 <div class="description">
3339 <p>Removes the section with the given ID from the given configuration.</p>
3350 <table class="params">
3361 <th class="last">Description</th>
3370 <td class="name"><code>config</code></td>
3376 <span class="param-type">string</span>
3384 <td class="description last">
3386 <p>The name of the configuration to remove the section from.</p></td>
3393 <td class="name"><code>sid</code></td>
3399 <span class="param-type">string</span>
3407 <td class="description last">
3409 <p>The ID of the section to remove.</p></td>
3418 <dl class="details">
3459 <div class="nameContainer">
3460 <h4 class="name" id="resolveSID">
3462 resolveSID<span class="signature">(config, sid)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string|null}</span>
3466 <div class="tag-source">
3467 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line120">line 120</a>
3477 <div class="description">
3478 <p>Resolves a given section ID in extended notation to the internal
3479 section ID value.</p>
3490 <table class="params">
3501 <th class="last">Description</th>
3510 <td class="name"><code>config</code></td>
3516 <span class="param-type">string</span>
3524 <td class="description last">
3526 <p>The configuration to resolve the section ID for.</p></td>
3533 <td class="name"><code>sid</code></td>
3539 <span class="param-type">string</span>
3547 <td class="description last">
3549 <p>The section ID to resolve. If the ID is in the form <code>@typename[#]</code>,
3550 it will get resolved to an internal anonymous ID in the forms
3551 <code>cfgXXXXXX</code>/<code>newXXXXXX</code> or to the name of a section in case it points
3552 to a named section. When the given ID is not in extended notation,
3553 it will be returned as-is.</p></td>
3562 <dl class="details">
3600 <table class="params">
3605 <th class="last">Description</th>
3621 <td class="description last">Returns the resolved section ID or the original given ID if it was
3622 not in extended notation. Returns <code>null</code> when an extended ID could
3623 not be resolved to existing section ID.</td>
3637 <div class="nameContainer">
3638 <h4 class="name" id="save">
3640 save<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.<string>}</span>
3644 <div class="tag-source">
3645 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line773">line 773</a>
3655 <div class="description">
3656 <p>Submits all local configuration changes to the remove <code>ubus</code> api,
3657 adds, removes and reorders remote sections as needed and reloads
3658 all loaded configurations to resynchronize the local state with
3659 the remote configuration values.</p>
3670 <dl class="details">
3708 <table class="params">
3713 <th class="last">Description</th>
3726 <td class="description last">Returns a promise resolving to an array of configuration names which
3727 have been reloaded by the save operation.</td>
3741 <div class="nameContainer">
3742 <h4 class="name" id="sections">
3744 sections<span class="signature">(config, <span class="optional">type</span>, <span class="optional">cb</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.<<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>>}</span>
3748 <div class="tag-source">
3749 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line385">line 385</a>
3759 <div class="description">
3760 <p>Enumerates the sections of the given configuration, optionally
3761 filtered by type.</p>
3772 <table class="params">
3783 <th class="last">Description</th>
3792 <td class="name"><code>config</code></td>
3798 <span class="param-type">string</span>
3806 <td class="description last">
3813 <p>The name of the configuration to enumerate the sections for.</p></td>
3820 <td class="name"><code>type</code></td>
3826 <span class="param-type">string</span>
3834 <td class="description last">
3837 <span class="optional">optional</span>
3843 <p>Enumerate only sections of the given type. If omitted, enumerate
3844 all sections.</p></td>
3851 <td class="name"><code>cb</code></td>
3857 <span class="param-type"><a href="LuCI.uci.html#~sectionsFn">LuCI.uci~sectionsFn</a></span>
3865 <td class="description last">
3868 <span class="optional">optional</span>
3874 <p>An optional callback to invoke for each enumerated section.</p></td>
3883 <dl class="details">
3921 <table class="params">
3926 <th class="last">Description</th>
3935 Array.<<a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a>>
3939 <td class="description last">Returns a sorted array of the section objects within the given
3940 configuration, filtered by type of a type has been specified.</td>
3954 <div class="nameContainer">
3955 <h4 class="name" id="set">
3957 set<span class="signature">(config, sid, option, value)</span>
3961 <div class="tag-source">
3962 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line517">line 517</a>
3972 <div class="description">
3973 <p>Sets the value of the given option within the specified section
3974 of the given configuration.</p>
3975 <p>If either config, section or option is null, or if <code>option</code> begins
3976 with a dot, the function will do nothing.</p>
3987 <table class="params">
3998 <th class="last">Description</th>
4007 <td class="name"><code>config</code></td>
4013 <span class="param-type">string</span>
4021 <td class="description last">
4023 <p>The name of the configuration to set the option value in.</p></td>
4030 <td class="name"><code>sid</code></td>
4036 <span class="param-type">string</span>
4044 <td class="description last">
4046 <p>The name or ID of the section to set the option value in.</p></td>
4053 <td class="name"><code>option</code></td>
4059 <span class="param-type">string</span>
4067 <td class="description last">
4069 <p>The option name to set the value for.</p></td>
4076 <td class="name"><code>value</code></td>
4082 <span class="param-type">null</span>
4085 <span class="param-type">string</span>
4088 <span class="param-type">Array.<string></span>
4096 <td class="description last">
4098 <p>The option value to set. If the value is <code>null</code> or an empty string,
4099 the option will be removed, otherwise it will be set or overwritten
4100 with the given value.</p></td>
4109 <dl class="details">
4150 <div class="nameContainer">
4151 <h4 class="name" id="set_first">
4153 set_first<span class="signature">(config, <span class="optional">type</span>, option, value)</span>
4157 <div class="tag-source">
4158 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line654">line 654</a>
4168 <div class="description">
4169 <p>Sets the value of the given option within the first found section
4170 of the given configuration matching the specified type or within
4171 the first section of the entire config when no type has is specified.</p>
4172 <p>If either config, type or option is null, or if <code>option</code> begins
4173 with a dot, the function will do nothing.</p>
4184 <table class="params">
4195 <th class="last">Description</th>
4204 <td class="name"><code>config</code></td>
4210 <span class="param-type">string</span>
4218 <td class="description last">
4225 <p>The name of the configuration to set the option value in.</p></td>
4232 <td class="name"><code>type</code></td>
4238 <span class="param-type">string</span>
4246 <td class="description last">
4249 <span class="optional">optional</span>
4255 <p>The type of the first section to find. If it is <code>null</code>, the first
4256 section of the entire config is written to, otherwise the first
4257 section matching the given type is used.</p></td>
4264 <td class="name"><code>option</code></td>
4270 <span class="param-type">string</span>
4278 <td class="description last">
4285 <p>The option name to set the value for.</p></td>
4292 <td class="name"><code>value</code></td>
4298 <span class="param-type">null</span>
4301 <span class="param-type">string</span>
4304 <span class="param-type">Array.<string></span>
4312 <td class="description last">
4319 <p>The option value to set. If the value is <code>null</code> or an empty string,
4320 the option will be removed, otherwise it will be set or overwritten
4321 with the given value.</p></td>
4330 <dl class="details">
4371 <div class="nameContainer">
4372 <h4 class="name" id="unload">
4374 unload<span class="signature">(config)</span>
4378 <div class="tag-source">
4379 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line238">line 238</a>
4389 <div class="description">
4390 <p>Unloads the given UCI configurations from the local cache.</p>
4401 <table class="params">
4412 <th class="last">Description</th>
4421 <td class="name"><code>config</code></td>
4427 <span class="param-type">string</span>
4430 <span class="param-type">Array.<string></span>
4438 <td class="description last">
4440 <p>The name of the configuration or an array of configuration
4441 names to unload.</p></td>
4450 <dl class="details">
4491 <div class="nameContainer">
4492 <h4 class="name" id="unset">
4494 unset<span class="signature">(config, sid, option)</span>
4498 <div class="tag-source">
4499 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line588">line 588</a>
4509 <div class="description">
4510 <p>Remove the given option within the specified section of the given
4512 <p>This function is a convenience wrapper around
4513 <code>uci.set(config, section, option, null)</code>.</p>
4524 <table class="params">
4535 <th class="last">Description</th>
4544 <td class="name"><code>config</code></td>
4550 <span class="param-type">string</span>
4558 <td class="description last">
4560 <p>The name of the configuration to remove the option from.</p></td>
4567 <td class="name"><code>sid</code></td>
4573 <span class="param-type">string</span>
4581 <td class="description last">
4583 <p>The name or ID of the section to remove the option from.</p></td>
4590 <td class="name"><code>option</code></td>
4596 <span class="param-type">string</span>
4604 <td class="description last">
4606 <p>The name of the option to remove.</p></td>
4615 <dl class="details">
4656 <div class="nameContainer">
4657 <h4 class="name" id="unset_first">
4659 unset_first<span class="signature">(config, <span class="optional">type</span>, option)</span>
4663 <div class="tag-source">
4664 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line684">line 684</a>
4674 <div class="description">
4675 <p>Removes the given option within the first found section of the given
4676 configuration matching the specified type or within the first section
4677 of the entire config when no type has is specified.</p>
4678 <p>This function is a convenience wrapper around
4679 <code>uci.set_first(config, type, option, null)</code>.</p>
4690 <table class="params">
4701 <th class="last">Description</th>
4710 <td class="name"><code>config</code></td>
4716 <span class="param-type">string</span>
4724 <td class="description last">
4731 <p>The name of the configuration to set the option value in.</p></td>
4738 <td class="name"><code>type</code></td>
4744 <span class="param-type">string</span>
4752 <td class="description last">
4755 <span class="optional">optional</span>
4761 <p>The type of the first section to find. If it is <code>null</code>, the first
4762 section of the entire config is written to, otherwise the first
4763 section matching the given type is used.</p></td>
4770 <td class="name"><code>option</code></td>
4776 <span class="param-type">string</span>
4784 <td class="description last">
4791 <p>The option name to set the value for.</p></td>
4800 <dl class="details">
4842 <h3 class="subsection-title">Type Definitions</h3>
4847 <div class="nameContainer">
4848 <h4 class="name" id=".ChangeRecord">LuCI.uci.ChangeRecord<span class="type-signature type array.<string>">Array.<string></span> </h4>
4855 <div class="description">
4856 <p>An UCI change record is a plain array containing the change operation
4857 name as first element, the affected section ID as second argument
4858 and an optional third and fourth argument whose meanings depend on
4864 <dl class="details">
4867 <h5 class="subsection-title">Properties:</h5>
4871 <table class="props">
4884 <th class="last">Description</th>
4893 <td class="name"><code>0</code></td>
4899 <span class="param-type">string</span>
4909 <td class="description last"><p>The operation name - may be one of <code>add</code>, <code>set</code>, <code>remove</code>, <code>order</code>,
4910 <code>list-add</code>, <code>list-del</code> or <code>rename</code>.</p></td>
4917 <td class="name"><code>1</code></td>
4923 <span class="param-type">string</span>
4933 <td class="description last"><p>The section ID targeted by the operation.</p></td>
4940 <td class="name"><code>2</code></td>
4946 <span class="param-type">string</span>
4956 <td class="description last"><p>The meaning of the third element depends on the operation.</p>
4958 <li>For <code>add</code> it is type of the section that has been added</li>
4959 <li>For <code>set</code> it either is the option name if a fourth element exists,
4960 or the type of a named section which has been added when the change
4961 entry only contains three elements.</li>
4962 <li>For <code>remove</code> it contains the name of the option that has been
4964 <li>For <code>order</code> it specifies the new sort index of the section.</li>
4965 <li>For <code>list-add</code> it contains the name of the list option a new value
4966 has been added to.</li>
4967 <li>For <code>list-del</code> it contains the name of the list option a value has
4968 been removed from.</li>
4969 <li>For <code>rename</code> it contains the name of the option that has been
4970 renamed if a fourth element exists, else it contains the new name
4971 a section has been renamed to if the change entry only contains
4972 three elements.</li>
4980 <td class="name"><code>4</code></td>
4986 <span class="param-type">string</span>
4996 <td class="description last"><p>The meaning of the fourth element depends on the operation.</p>
4998 <li>For <code>set</code> it is the value an option has been set to.</li>
4999 <li>For <code>list-add</code> it is the new value that has been added to a
5001 <li>For <code>rename</code> it is the new name of an option that has been
5040 <div class="nameContainer">
5041 <h4 class="name" id=".SectionObject">LuCI.uci.SectionObject<span class="type-signature type object.<string, (boolean|number|string|array.<string>)>">Object.<string, (boolean|number|string|Array.<string>)></span> </h4>
5048 <div class="description">
5049 <p>A section object represents the options and their corresponding values
5050 enclosed within a configuration section, as well as some additional
5051 meta data such as sort indexes and internal ID.</p>
5052 <p>Any internal metadata fields are prefixed with a dot which is isn't
5053 an allowed character for normal option names.</p>
5058 <dl class="details">
5061 <h5 class="subsection-title">Properties:</h5>
5065 <table class="props">
5078 <th class="last">Description</th>
5087 <td class="name"><code>.anonymous</code></td>
5093 <span class="param-type">boolean</span>
5103 <td class="description last"><p>The <code>.anonymous</code> property specifies whether the configuration is
5104 anonymous (<code>true</code>) or named (<code>false</code>).</p></td>
5111 <td class="name"><code>.index</code></td>
5117 <span class="param-type">number</span>
5127 <td class="description last"><p>The <code>.index</code> property specifes the sort order of the section.</p></td>
5134 <td class="name"><code>.name</code></td>
5140 <span class="param-type">string</span>
5150 <td class="description last"><p>The <code>.name</code> property holds the name of the section object. It may be
5151 either an anonymous ID in the form <code>cfgXXXXXX</code> or <code>newXXXXXX</code> with <code>X</code>
5152 being a hexadecimal digit or a string holding the name of the section.</p></td>
5159 <td class="name"><code>.type</code></td>
5165 <span class="param-type">string</span>
5175 <td class="description last"><p>The <code>.type</code> property contains the type of the corresponding uci
5183 <td class="name"><code>*</code></td>
5189 <span class="param-type">string</span>
5192 <span class="param-type">Array.<string></span>
5202 <td class="description last"><p>A section object may contain an arbitrary number of further properties
5203 representing the uci option enclosed in the section.</p>
5204 <p>All option property names will be in the form <code>[A-Za-z0-9_]+</code> and
5205 either contain a string value or an array of strings, in case the
5206 underlying option is an UCI list.</p></td>
5243 <div class="nameContainer">
5244 <h4 class="name" id="~sectionsFn">
5246 sectionsFn<span class="signature">(section, sid)</span>
5250 <div class="tag-source">
5251 <a href="uci.js.html">uci.js</a>, <a href="uci.js.html#line353">line 353</a>
5261 <div class="description">
5262 <p>The sections callback is invoked for each section found within
5263 the given configuration and receives the section object and its
5264 associated name as arguments.</p>
5275 <table class="params">
5286 <th class="last">Description</th>
5295 <td class="name"><code>section</code></td>
5301 <span class="param-type"><a href="LuCI.uci.html#.SectionObject">LuCI.uci.SectionObject</a></span>
5309 <td class="description last">
5311 <p>The section object.</p></td>
5318 <td class="name"><code>sid</code></td>
5324 <span class="param-type">string</span>
5332 <td class="description last">
5334 <p>The name or ID of the section.</p></td>
5343 <dl class="details">
5398 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
5402 <script>prettyPrint();</script>
5403 <script src="scripts/jaguar.js"></script>