docs: add missing jsapi resources, update .gitignore
[project/luci.git] / docs / jsapi / LuCI.view.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Class: view</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":{}};
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#path"><a href="LuCI.html#path">path</a></li>
78
79 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
80
81 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
82
83 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
84
85 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
86
87 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
88
89 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
90
91 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
92
93 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
94
95 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
96
97 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
98
99 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
100
101 </ul>
102 <ul class="events itemMembers">
103
104 </ul>
105 </li>
106
107 <li class="item" data-name="LuCI.Class">
108 <span class="title">
109 <a href="LuCI.Class.html">LuCI.Class</a>
110
111 </span>
112 <ul class="members itemMembers">
113
114 </ul>
115 <ul class="typedefs itemMembers">
116
117 </ul>
118 <ul class="typedefs itemMembers">
119
120 </ul>
121 <ul class="methods itemMembers">
122
123 <span class="subtitle">Methods</span>
124
125 <li data-name="LuCI.Class.extend"><a href="LuCI.Class.html#.extend">extend</a></li>
126
127 <li data-name="LuCI.Class.instantiate"><a href="LuCI.Class.html#.instantiate">instantiate</a></li>
128
129 <li data-name="LuCI.Class.isSubclass"><a href="LuCI.Class.html#.isSubclass">isSubclass</a></li>
130
131 <li data-name="LuCI.Class.singleton"><a href="LuCI.Class.html#.singleton">singleton</a></li>
132
133 <li data-name="LuCI.Class#super"><a href="LuCI.Class.html#super">super</a></li>
134
135 <li data-name="LuCI.Class#varargs"><a href="LuCI.Class.html#varargs">varargs</a></li>
136
137 </ul>
138 <ul class="events itemMembers">
139
140 </ul>
141 </li>
142
143 <li class="item" data-name="LuCI.dom">
144 <span class="title">
145 <a href="LuCI.dom.html">LuCI.dom</a>
146
147 </span>
148 <ul class="members itemMembers">
149
150 </ul>
151 <ul class="typedefs itemMembers">
152
153 <span class="subtitle">Typedefs</span>
154
155 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
156
157 </ul>
158 <ul class="typedefs itemMembers">
159
160 </ul>
161 <ul class="methods itemMembers">
162
163 <span class="subtitle">Methods</span>
164
165 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
166
167 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
168
169 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
170
171 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
172
173 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
174
175 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
176
177 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
178
179 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
180
181 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
182
183 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
184
185 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
186
187 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
188
189 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
190
191 </ul>
192 <ul class="events itemMembers">
193
194 </ul>
195 </li>
196
197 <li class="item" data-name="LuCI.fs">
198 <span class="title">
199 <a href="LuCI.fs.html">LuCI.fs</a>
200
201 </span>
202 <ul class="members itemMembers">
203
204 </ul>
205 <ul class="typedefs itemMembers">
206
207 <span class="subtitle">Typedefs</span>
208
209 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
210
211 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
212
213 </ul>
214 <ul class="typedefs itemMembers">
215
216 </ul>
217 <ul class="methods itemMembers">
218
219 <span class="subtitle">Methods</span>
220
221 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
222
223 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
224
225 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
226
227 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
228
229 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
230
231 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
232
233 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
234
235 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
236
237 </ul>
238 <ul class="events itemMembers">
239
240 </ul>
241 </li>
242
243 <li class="item" data-name="LuCI.Headers">
244 <span class="title">
245 <a href="LuCI.Headers.html">LuCI.Headers</a>
246
247 </span>
248 <ul class="members itemMembers">
249
250 </ul>
251 <ul class="typedefs itemMembers">
252
253 </ul>
254 <ul class="typedefs itemMembers">
255
256 </ul>
257 <ul class="methods itemMembers">
258
259 <span class="subtitle">Methods</span>
260
261 <li data-name="LuCI.Headers#get"><a href="LuCI.Headers.html#get">get</a></li>
262
263 <li data-name="LuCI.Headers#has"><a href="LuCI.Headers.html#has">has</a></li>
264
265 </ul>
266 <ul class="events itemMembers">
267
268 </ul>
269 </li>
270
271 <li class="item" data-name="LuCI.Network">
272 <span class="title">
273 <a href="LuCI.Network.html">LuCI.Network</a>
274
275 </span>
276 <ul class="members itemMembers">
277
278 </ul>
279 <ul class="typedefs itemMembers">
280
281 <span class="subtitle">Typedefs</span>
282
283 <li data-name="LuCI.Network.SwitchTopology"><a href="LuCI.Network.html#.SwitchTopology">SwitchTopology</a></li>
284
285 <li data-name="LuCI.Network.WifiEncryption"><a href="LuCI.Network.html#.WifiEncryption">WifiEncryption</a></li>
286
287 <li data-name="LuCI.Network.WifiPeerEntry"><a href="LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
288
289 <li data-name="LuCI.Network.WifiRateEntry"><a href="LuCI.Network.html#.WifiRateEntry">WifiRateEntry</a></li>
290
291 <li data-name="LuCI.Network.WifiScanResult"><a href="LuCI.Network.html#.WifiScanResult">WifiScanResult</a></li>
292
293 </ul>
294 <ul class="typedefs itemMembers">
295
296 </ul>
297 <ul class="methods itemMembers">
298
299 <span class="subtitle">Methods</span>
300
301 <li data-name="LuCI.Network#addNetwork"><a href="LuCI.Network.html#addNetwork">addNetwork</a></li>
302
303 <li data-name="LuCI.Network#addWifiNetwork"><a href="LuCI.Network.html#addWifiNetwork">addWifiNetwork</a></li>
304
305 <li data-name="LuCI.Network#deleteNetwork"><a href="LuCI.Network.html#deleteNetwork">deleteNetwork</a></li>
306
307 <li data-name="LuCI.Network#deleteWifiNetwork"><a href="LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
308
309 <li data-name="LuCI.Network#flushCache"><a href="LuCI.Network.html#flushCache">flushCache</a></li>
310
311 <li data-name="LuCI.Network#formatWifiEncryption"><a href="LuCI.Network.html#formatWifiEncryption">formatWifiEncryption</a></li>
312
313 <li data-name="LuCI.Network#getDevice"><a href="LuCI.Network.html#getDevice">getDevice</a></li>
314
315 <li data-name="LuCI.Network#getDevices"><a href="LuCI.Network.html#getDevices">getDevices</a></li>
316
317 <li data-name="LuCI.Network#getDSLModemType"><a href="LuCI.Network.html#getDSLModemType">getDSLModemType</a></li>
318
319 <li data-name="LuCI.Network#getHostHints"><a href="LuCI.Network.html#getHostHints">getHostHints</a></li>
320
321 <li data-name="LuCI.Network#getIfnameOf"><a href="LuCI.Network.html#getIfnameOf">getIfnameOf</a></li>
322
323 <li data-name="LuCI.Network#getNetwork"><a href="LuCI.Network.html#getNetwork">getNetwork</a></li>
324
325 <li data-name="LuCI.Network#getNetworks"><a href="LuCI.Network.html#getNetworks">getNetworks</a></li>
326
327 <li data-name="LuCI.Network#getProtocol"><a href="LuCI.Network.html#getProtocol">getProtocol</a></li>
328
329 <li data-name="LuCI.Network#getProtocols"><a href="LuCI.Network.html#getProtocols">getProtocols</a></li>
330
331 <li data-name="LuCI.Network#getSwitchTopologies"><a href="LuCI.Network.html#getSwitchTopologies">getSwitchTopologies</a></li>
332
333 <li data-name="LuCI.Network#getWAN6Networks"><a href="LuCI.Network.html#getWAN6Networks">getWAN6Networks</a></li>
334
335 <li data-name="LuCI.Network#getWANNetworks"><a href="LuCI.Network.html#getWANNetworks">getWANNetworks</a></li>
336
337 <li data-name="LuCI.Network#getWifiDevice"><a href="LuCI.Network.html#getWifiDevice">getWifiDevice</a></li>
338
339 <li data-name="LuCI.Network#getWifiDevices"><a href="LuCI.Network.html#getWifiDevices">getWifiDevices</a></li>
340
341 <li data-name="LuCI.Network#getWifiNetwork"><a href="LuCI.Network.html#getWifiNetwork">getWifiNetwork</a></li>
342
343 <li data-name="LuCI.Network#isIgnoredDevice"><a href="LuCI.Network.html#isIgnoredDevice">isIgnoredDevice</a></li>
344
345 <li data-name="LuCI.Network#maskToPrefix"><a href="LuCI.Network.html#maskToPrefix">maskToPrefix</a></li>
346
347 <li data-name="LuCI.Network#prefixToMask"><a href="LuCI.Network.html#prefixToMask">prefixToMask</a></li>
348
349 <li data-name="LuCI.Network#registerErrorCode"><a href="LuCI.Network.html#registerErrorCode">registerErrorCode</a></li>
350
351 <li data-name="LuCI.Network#registerPatternVirtual"><a href="LuCI.Network.html#registerPatternVirtual">registerPatternVirtual</a></li>
352
353 <li data-name="LuCI.Network#registerProtocol"><a href="LuCI.Network.html#registerProtocol">registerProtocol</a></li>
354
355 <li data-name="LuCI.Network#renameNetwork"><a href="LuCI.Network.html#renameNetwork">renameNetwork</a></li>
356
357 </ul>
358 <ul class="events itemMembers">
359
360 </ul>
361 </li>
362
363 <li class="item" data-name="LuCI.Network.Device">
364 <span class="title">
365 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
366
367 </span>
368 <ul class="members itemMembers">
369
370 </ul>
371 <ul class="typedefs itemMembers">
372
373 </ul>
374 <ul class="typedefs itemMembers">
375
376 </ul>
377 <ul class="methods itemMembers">
378
379 <span class="subtitle">Methods</span>
380
381 <li data-name="LuCI.Network.Device#getBridgeID"><a href="LuCI.Network.Device.html#getBridgeID">getBridgeID</a></li>
382
383 <li data-name="LuCI.Network.Device#getBridgeSTP"><a href="LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
384
385 <li data-name="LuCI.Network.Device#getI18n"><a href="LuCI.Network.Device.html#getI18n">getI18n</a></li>
386
387 <li data-name="LuCI.Network.Device#getIP6Addrs"><a href="LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
388
389 <li data-name="LuCI.Network.Device#getIPAddrs"><a href="LuCI.Network.Device.html#getIPAddrs">getIPAddrs</a></li>
390
391 <li data-name="LuCI.Network.Device#getMAC"><a href="LuCI.Network.Device.html#getMAC">getMAC</a></li>
392
393 <li data-name="LuCI.Network.Device#getMTU"><a href="LuCI.Network.Device.html#getMTU">getMTU</a></li>
394
395 <li data-name="LuCI.Network.Device#getName"><a href="LuCI.Network.Device.html#getName">getName</a></li>
396
397 <li data-name="LuCI.Network.Device#getNetwork"><a href="LuCI.Network.Device.html#getNetwork">getNetwork</a></li>
398
399 <li data-name="LuCI.Network.Device#getNetworks"><a href="LuCI.Network.Device.html#getNetworks">getNetworks</a></li>
400
401 <li data-name="LuCI.Network.Device#getPorts"><a href="LuCI.Network.Device.html#getPorts">getPorts</a></li>
402
403 <li data-name="LuCI.Network.Device#getRXBytes"><a href="LuCI.Network.Device.html#getRXBytes">getRXBytes</a></li>
404
405 <li data-name="LuCI.Network.Device#getRXPackets"><a href="LuCI.Network.Device.html#getRXPackets">getRXPackets</a></li>
406
407 <li data-name="LuCI.Network.Device#getShortName"><a href="LuCI.Network.Device.html#getShortName">getShortName</a></li>
408
409 <li data-name="LuCI.Network.Device#getTXBytes"><a href="LuCI.Network.Device.html#getTXBytes">getTXBytes</a></li>
410
411 <li data-name="LuCI.Network.Device#getTXPackets"><a href="LuCI.Network.Device.html#getTXPackets">getTXPackets</a></li>
412
413 <li data-name="LuCI.Network.Device#getType"><a href="LuCI.Network.Device.html#getType">getType</a></li>
414
415 <li data-name="LuCI.Network.Device#getTypeI18n"><a href="LuCI.Network.Device.html#getTypeI18n">getTypeI18n</a></li>
416
417 <li data-name="LuCI.Network.Device#getWifiNetwork"><a href="LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
418
419 <li data-name="LuCI.Network.Device#isBridge"><a href="LuCI.Network.Device.html#isBridge">isBridge</a></li>
420
421 <li data-name="LuCI.Network.Device#isBridgePort"><a href="LuCI.Network.Device.html#isBridgePort">isBridgePort</a></li>
422
423 <li data-name="LuCI.Network.Device#isUp"><a href="LuCI.Network.Device.html#isUp">isUp</a></li>
424
425 </ul>
426 <ul class="events itemMembers">
427
428 </ul>
429 </li>
430
431 <li class="item" data-name="LuCI.Network.Hosts">
432 <span class="title">
433 <a href="LuCI.Network.Hosts.html">LuCI.Network.Hosts</a>
434
435 </span>
436 <ul class="members itemMembers">
437
438 </ul>
439 <ul class="typedefs itemMembers">
440
441 </ul>
442 <ul class="typedefs itemMembers">
443
444 </ul>
445 <ul class="methods itemMembers">
446
447 <span class="subtitle">Methods</span>
448
449 <li data-name="LuCI.Network.Hosts#getHostnameByIP6Addr"><a href="LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
450
451 <li data-name="LuCI.Network.Hosts#getHostnameByIPAddr"><a href="LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
452
453 <li data-name="LuCI.Network.Hosts#getHostnameByMACAddr"><a href="LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
454
455 <li data-name="LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
456
457 <li data-name="LuCI.Network.Hosts#getIPAddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
458
459 <li data-name="LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
460
461 <li data-name="LuCI.Network.Hosts#getMACAddrByIPAddr"><a href="LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
462
463 <li data-name="LuCI.Network.Hosts#getMACHints"><a href="LuCI.Network.Hosts.html#getMACHints">getMACHints</a></li>
464
465 </ul>
466 <ul class="events itemMembers">
467
468 </ul>
469 </li>
470
471 <li class="item" data-name="LuCI.Network.Protocol">
472 <span class="title">
473 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
474
475 </span>
476 <ul class="members itemMembers">
477
478 </ul>
479 <ul class="typedefs itemMembers">
480
481 </ul>
482 <ul class="typedefs itemMembers">
483
484 </ul>
485 <ul class="methods itemMembers">
486
487 <span class="subtitle">Methods</span>
488
489 <li data-name="LuCI.Network.Protocol#addDevice"><a href="LuCI.Network.Protocol.html#addDevice">addDevice</a></li>
490
491 <li data-name="LuCI.Network.Protocol#containsDevice"><a href="LuCI.Network.Protocol.html#containsDevice">containsDevice</a></li>
492
493 <li data-name="LuCI.Network.Protocol#deleteDevice"><a href="LuCI.Network.Protocol.html#deleteDevice">deleteDevice</a></li>
494
495 <li data-name="LuCI.Network.Protocol#get"><a href="LuCI.Network.Protocol.html#get">get</a></li>
496
497 <li data-name="LuCI.Network.Protocol#getDevice"><a href="LuCI.Network.Protocol.html#getDevice">getDevice</a></li>
498
499 <li data-name="LuCI.Network.Protocol#getDevices"><a href="LuCI.Network.Protocol.html#getDevices">getDevices</a></li>
500
501 <li data-name="LuCI.Network.Protocol#getDNS6Addrs"><a href="LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
502
503 <li data-name="LuCI.Network.Protocol#getDNSAddrs"><a href="LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
504
505 <li data-name="LuCI.Network.Protocol#getErrors"><a href="LuCI.Network.Protocol.html#getErrors">getErrors</a></li>
506
507 <li data-name="LuCI.Network.Protocol#getExpiry"><a href="LuCI.Network.Protocol.html#getExpiry">getExpiry</a></li>
508
509 <li data-name="LuCI.Network.Protocol#getGateway6Addr"><a href="LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
510
511 <li data-name="LuCI.Network.Protocol#getGatewayAddr"><a href="LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
512
513 <li data-name="LuCI.Network.Protocol#getI18n"><a href="LuCI.Network.Protocol.html#getI18n">getI18n</a></li>
514
515 <li data-name="LuCI.Network.Protocol#getIfname"><a href="LuCI.Network.Protocol.html#getIfname">getIfname</a></li>
516
517 <li data-name="LuCI.Network.Protocol#getIP6Addr"><a href="LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
518
519 <li data-name="LuCI.Network.Protocol#getIP6Addrs"><a href="LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
520
521 <li data-name="LuCI.Network.Protocol#getIP6Prefix"><a href="LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
522
523 <li data-name="LuCI.Network.Protocol#getIPAddr"><a href="LuCI.Network.Protocol.html#getIPAddr">getIPAddr</a></li>
524
525 <li data-name="LuCI.Network.Protocol#getIPAddrs"><a href="LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
526
527 <li data-name="LuCI.Network.Protocol#getL2Device"><a href="LuCI.Network.Protocol.html#getL2Device">getL2Device</a></li>
528
529 <li data-name="LuCI.Network.Protocol#getL3Device"><a href="LuCI.Network.Protocol.html#getL3Device">getL3Device</a></li>
530
531 <li data-name="LuCI.Network.Protocol#getMetric"><a href="LuCI.Network.Protocol.html#getMetric">getMetric</a></li>
532
533 <li data-name="LuCI.Network.Protocol#getName"><a href="LuCI.Network.Protocol.html#getName">getName</a></li>
534
535 <li data-name="LuCI.Network.Protocol#getNetmask"><a href="LuCI.Network.Protocol.html#getNetmask">getNetmask</a></li>
536
537 <li data-name="LuCI.Network.Protocol#getOpkgPackage"><a href="LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
538
539 <li data-name="LuCI.Network.Protocol#getProtocol"><a href="LuCI.Network.Protocol.html#getProtocol">getProtocol</a></li>
540
541 <li data-name="LuCI.Network.Protocol#getType"><a href="LuCI.Network.Protocol.html#getType">getType</a></li>
542
543 <li data-name="LuCI.Network.Protocol#getUptime"><a href="LuCI.Network.Protocol.html#getUptime">getUptime</a></li>
544
545 <li data-name="LuCI.Network.Protocol#getZoneName"><a href="LuCI.Network.Protocol.html#getZoneName">getZoneName</a></li>
546
547 <li data-name="LuCI.Network.Protocol#isAlias"><a href="LuCI.Network.Protocol.html#isAlias">isAlias</a></li>
548
549 <li data-name="LuCI.Network.Protocol#isBridge"><a href="LuCI.Network.Protocol.html#isBridge">isBridge</a></li>
550
551 <li data-name="LuCI.Network.Protocol#isDynamic"><a href="LuCI.Network.Protocol.html#isDynamic">isDynamic</a></li>
552
553 <li data-name="LuCI.Network.Protocol#isEmpty"><a href="LuCI.Network.Protocol.html#isEmpty">isEmpty</a></li>
554
555 <li data-name="LuCI.Network.Protocol#isFloating"><a href="LuCI.Network.Protocol.html#isFloating">isFloating</a></li>
556
557 <li data-name="LuCI.Network.Protocol#isInstalled"><a href="LuCI.Network.Protocol.html#isInstalled">isInstalled</a></li>
558
559 <li data-name="LuCI.Network.Protocol#isUp"><a href="LuCI.Network.Protocol.html#isUp">isUp</a></li>
560
561 <li data-name="LuCI.Network.Protocol#isVirtual"><a href="LuCI.Network.Protocol.html#isVirtual">isVirtual</a></li>
562
563 <li data-name="LuCI.Network.Protocol#set"><a href="LuCI.Network.Protocol.html#set">set</a></li>
564
565 </ul>
566 <ul class="events itemMembers">
567
568 </ul>
569 </li>
570
571 <li class="item" data-name="LuCI.Network.WifiDevice">
572 <span class="title">
573 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
574
575 </span>
576 <ul class="members itemMembers">
577
578 </ul>
579 <ul class="typedefs itemMembers">
580
581 </ul>
582 <ul class="typedefs itemMembers">
583
584 </ul>
585 <ul class="methods itemMembers">
586
587 <span class="subtitle">Methods</span>
588
589 <li data-name="LuCI.Network.WifiDevice#addWifiNetwork"><a href="LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
590
591 <li data-name="LuCI.Network.WifiDevice#deleteWifiNetwork"><a href="LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
592
593 <li data-name="LuCI.Network.WifiDevice#get"><a href="LuCI.Network.WifiDevice.html#get">get</a></li>
594
595 <li data-name="LuCI.Network.WifiDevice#getHTModes"><a href="LuCI.Network.WifiDevice.html#getHTModes">getHTModes</a></li>
596
597 <li data-name="LuCI.Network.WifiDevice#getHWModes"><a href="LuCI.Network.WifiDevice.html#getHWModes">getHWModes</a></li>
598
599 <li data-name="LuCI.Network.WifiDevice#getI18n"><a href="LuCI.Network.WifiDevice.html#getI18n">getI18n</a></li>
600
601 <li data-name="LuCI.Network.WifiDevice#getName"><a href="LuCI.Network.WifiDevice.html#getName">getName</a></li>
602
603 <li data-name="LuCI.Network.WifiDevice#getScanList"><a href="LuCI.Network.WifiDevice.html#getScanList">getScanList</a></li>
604
605 <li data-name="LuCI.Network.WifiDevice#getWifiNetwork"><a href="LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
606
607 <li data-name="LuCI.Network.WifiDevice#getWifiNetworks"><a href="LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
608
609 <li data-name="LuCI.Network.WifiDevice#isDisabled"><a href="LuCI.Network.WifiDevice.html#isDisabled">isDisabled</a></li>
610
611 <li data-name="LuCI.Network.WifiDevice#isUp"><a href="LuCI.Network.WifiDevice.html#isUp">isUp</a></li>
612
613 <li data-name="LuCI.Network.WifiDevice#set"><a href="LuCI.Network.WifiDevice.html#set">set</a></li>
614
615 </ul>
616 <ul class="events itemMembers">
617
618 </ul>
619 </li>
620
621 <li class="item" data-name="LuCI.Network.WifiNetwork">
622 <span class="title">
623 <a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>
624
625 </span>
626 <ul class="members itemMembers">
627
628 </ul>
629 <ul class="typedefs itemMembers">
630
631 </ul>
632 <ul class="typedefs itemMembers">
633
634 </ul>
635 <ul class="methods itemMembers">
636
637 <span class="subtitle">Methods</span>
638
639 <li data-name="LuCI.Network.WifiNetwork#get"><a href="LuCI.Network.WifiNetwork.html#get">get</a></li>
640
641 <li data-name="LuCI.Network.WifiNetwork#getActiveBSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
642
643 <li data-name="LuCI.Network.WifiNetwork#getActiveEncryption"><a href="LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
644
645 <li data-name="LuCI.Network.WifiNetwork#getActiveMode"><a href="LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
646
647 <li data-name="LuCI.Network.WifiNetwork#getActiveModeI18n"><a href="LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
648
649 <li data-name="LuCI.Network.WifiNetwork#getActiveSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
650
651 <li data-name="LuCI.Network.WifiNetwork#getAssocList"><a href="LuCI.Network.WifiNetwork.html#getAssocList">getAssocList</a></li>
652
653 <li data-name="LuCI.Network.WifiNetwork#getBitRate"><a href="LuCI.Network.WifiNetwork.html#getBitRate">getBitRate</a></li>
654
655 <li data-name="LuCI.Network.WifiNetwork#getBSSID"><a href="LuCI.Network.WifiNetwork.html#getBSSID">getBSSID</a></li>
656
657 <li data-name="LuCI.Network.WifiNetwork#getChannel"><a href="LuCI.Network.WifiNetwork.html#getChannel">getChannel</a></li>
658
659 <li data-name="LuCI.Network.WifiNetwork#getCountryCode"><a href="LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
660
661 <li data-name="LuCI.Network.WifiNetwork#getDevice"><a href="LuCI.Network.WifiNetwork.html#getDevice">getDevice</a></li>
662
663 <li data-name="LuCI.Network.WifiNetwork#getFrequency"><a href="LuCI.Network.WifiNetwork.html#getFrequency">getFrequency</a></li>
664
665 <li data-name="LuCI.Network.WifiNetwork#getI18n"><a href="LuCI.Network.WifiNetwork.html#getI18n">getI18n</a></li>
666
667 <li data-name="LuCI.Network.WifiNetwork#getID"><a href="LuCI.Network.WifiNetwork.html#getID">getID</a></li>
668
669 <li data-name="LuCI.Network.WifiNetwork#getIfname"><a href="LuCI.Network.WifiNetwork.html#getIfname">getIfname</a></li>
670
671 <li data-name="LuCI.Network.WifiNetwork#getMeshID"><a href="LuCI.Network.WifiNetwork.html#getMeshID">getMeshID</a></li>
672
673 <li data-name="LuCI.Network.WifiNetwork#getMode"><a href="LuCI.Network.WifiNetwork.html#getMode">getMode</a></li>
674
675 <li data-name="LuCI.Network.WifiNetwork#getName"><a href="LuCI.Network.WifiNetwork.html#getName">getName</a></li>
676
677 <li data-name="LuCI.Network.WifiNetwork#getNetwork"><a href="LuCI.Network.WifiNetwork.html#getNetwork">getNetwork</a></li>
678
679 <li data-name="LuCI.Network.WifiNetwork#getNetworkNames"><a href="LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
680
681 <li data-name="LuCI.Network.WifiNetwork#getNetworks"><a href="LuCI.Network.WifiNetwork.html#getNetworks">getNetworks</a></li>
682
683 <li data-name="LuCI.Network.WifiNetwork#getNoise"><a href="LuCI.Network.WifiNetwork.html#getNoise">getNoise</a></li>
684
685 <li data-name="LuCI.Network.WifiNetwork#getShortName"><a href="LuCI.Network.WifiNetwork.html#getShortName">getShortName</a></li>
686
687 <li data-name="LuCI.Network.WifiNetwork#getSignal"><a href="LuCI.Network.WifiNetwork.html#getSignal">getSignal</a></li>
688
689 <li data-name="LuCI.Network.WifiNetwork#getSignalLevel"><a href="LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
690
691 <li data-name="LuCI.Network.WifiNetwork#getSignalPercent"><a href="LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
692
693 <li data-name="LuCI.Network.WifiNetwork#getSSID"><a href="LuCI.Network.WifiNetwork.html#getSSID">getSSID</a></li>
694
695 <li data-name="LuCI.Network.WifiNetwork#getTXPower"><a href="LuCI.Network.WifiNetwork.html#getTXPower">getTXPower</a></li>
696
697 <li data-name="LuCI.Network.WifiNetwork#getTXPowerOffset"><a href="LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
698
699 <li data-name="LuCI.Network.WifiNetwork#getWifiDevice"><a href="LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
700
701 <li data-name="LuCI.Network.WifiNetwork#getWifiDeviceName"><a href="LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
702
703 <li data-name="LuCI.Network.WifiNetwork#isDisabled"><a href="LuCI.Network.WifiNetwork.html#isDisabled">isDisabled</a></li>
704
705 <li data-name="LuCI.Network.WifiNetwork#isUp"><a href="LuCI.Network.WifiNetwork.html#isUp">isUp</a></li>
706
707 <li data-name="LuCI.Network.WifiNetwork#set"><a href="LuCI.Network.WifiNetwork.html#set">set</a></li>
708
709 </ul>
710 <ul class="events itemMembers">
711
712 </ul>
713 </li>
714
715 <li class="item" data-name="LuCI.Poll">
716 <span class="title">
717 <a href="LuCI.Poll.html">LuCI.Poll</a>
718
719 </span>
720 <ul class="members itemMembers">
721
722 </ul>
723 <ul class="typedefs itemMembers">
724
725 </ul>
726 <ul class="typedefs itemMembers">
727
728 </ul>
729 <ul class="methods itemMembers">
730
731 <span class="subtitle">Methods</span>
732
733 <li data-name="LuCI.Poll#active"><a href="LuCI.Poll.html#active">active</a></li>
734
735 <li data-name="LuCI.Poll#add"><a href="LuCI.Poll.html#add">add</a></li>
736
737 <li data-name="LuCI.Poll#remove"><a href="LuCI.Poll.html#remove">remove</a></li>
738
739 <li data-name="LuCI.Poll#start"><a href="LuCI.Poll.html#start">start</a></li>
740
741 <li data-name="LuCI.Poll#stop"><a href="LuCI.Poll.html#stop">stop</a></li>
742
743 </ul>
744 <ul class="events itemMembers">
745
746 </ul>
747 </li>
748
749 <li class="item" data-name="LuCI.Request">
750 <span class="title">
751 <a href="LuCI.Request.html">LuCI.Request</a>
752
753 </span>
754 <ul class="members itemMembers">
755
756 </ul>
757 <ul class="typedefs itemMembers">
758
759 <span class="subtitle">Typedefs</span>
760
761 <li data-name="LuCI.Request.interceptorFn"><a href="LuCI.Request.html#.interceptorFn">interceptorFn</a></li>
762
763 <li data-name="LuCI.Request.RequestOptions"><a href="LuCI.Request.html#.RequestOptions">RequestOptions</a></li>
764
765 </ul>
766 <ul class="typedefs itemMembers">
767
768 </ul>
769 <ul class="methods itemMembers">
770
771 <span class="subtitle">Methods</span>
772
773 <li data-name="LuCI.Request#addInterceptor"><a href="LuCI.Request.html#addInterceptor">addInterceptor</a></li>
774
775 <li data-name="LuCI.Request#expandURL"><a href="LuCI.Request.html#expandURL">expandURL</a></li>
776
777 <li data-name="LuCI.Request#get"><a href="LuCI.Request.html#get">get</a></li>
778
779 <li data-name="LuCI.Request#post"><a href="LuCI.Request.html#post">post</a></li>
780
781 <li data-name="LuCI.Request#removeInterceptor"><a href="LuCI.Request.html#removeInterceptor">removeInterceptor</a></li>
782
783 <li data-name="LuCI.Request#request"><a href="LuCI.Request.html#request">request</a></li>
784
785 </ul>
786 <ul class="events itemMembers">
787
788 </ul>
789 </li>
790
791 <li class="item" data-name="LuCI.Request.poll">
792 <span class="title">
793 <a href="LuCI.Request.poll.html">LuCI.Request.poll</a>
794
795 </span>
796 <ul class="members itemMembers">
797
798 </ul>
799 <ul class="typedefs itemMembers">
800
801 <span class="subtitle">Typedefs</span>
802
803 <li data-name="LuCI.Request.poll~callbackFn"><a href="LuCI.Request.poll.html#~callbackFn">callbackFn</a></li>
804
805 </ul>
806 <ul class="typedefs itemMembers">
807
808 </ul>
809 <ul class="methods itemMembers">
810
811 <span class="subtitle">Methods</span>
812
813 <li data-name="LuCI.Request.poll#active"><a href="LuCI.Request.poll.html#active">active</a></li>
814
815 <li data-name="LuCI.Request.poll#add"><a href="LuCI.Request.poll.html#add">add</a></li>
816
817 <li data-name="LuCI.Request.poll#remove"><a href="LuCI.Request.poll.html#remove">remove</a></li>
818
819 <li data-name="LuCI.Request.poll#start"><a href="LuCI.Request.poll.html#start">start</a></li>
820
821 <li data-name="LuCI.Request.poll#stop"><a href="LuCI.Request.poll.html#stop">stop</a></li>
822
823 </ul>
824 <ul class="events itemMembers">
825
826 </ul>
827 </li>
828
829 <li class="item" data-name="LuCI.Response">
830 <span class="title">
831 <a href="LuCI.Response.html">LuCI.Response</a>
832
833 </span>
834 <ul class="members itemMembers">
835
836 <span class="subtitle">Members</span>
837
838 <li data-name="LuCI.Response#duration"><a href="LuCI.Response.html#duration">duration</a></li>
839
840 <li data-name="LuCI.Response#headers"><a href="LuCI.Response.html#headers">headers</a></li>
841
842 <li data-name="LuCI.Response#ok"><a href="LuCI.Response.html#ok">ok</a></li>
843
844 <li data-name="LuCI.Response#status"><a href="LuCI.Response.html#status">status</a></li>
845
846 <li data-name="LuCI.Response#statusText"><a href="LuCI.Response.html#statusText">statusText</a></li>
847
848 <li data-name="LuCI.Response#url"><a href="LuCI.Response.html#url">url</a></li>
849
850 </ul>
851 <ul class="typedefs itemMembers">
852
853 </ul>
854 <ul class="typedefs itemMembers">
855
856 </ul>
857 <ul class="methods itemMembers">
858
859 <span class="subtitle">Methods</span>
860
861 <li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
862
863 <li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
864
865 <li data-name="LuCI.Response#text"><a href="LuCI.Response.html#text">text</a></li>
866
867 </ul>
868 <ul class="events itemMembers">
869
870 </ul>
871 </li>
872
873 <li class="item" data-name="LuCI.rpc">
874 <span class="title">
875 <a href="LuCI.rpc.html">LuCI.rpc</a>
876
877 </span>
878 <ul class="members itemMembers">
879
880 </ul>
881 <ul class="typedefs itemMembers">
882
883 <span class="subtitle">Typedefs</span>
884
885 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
886
887 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
888
889 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
890
891 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
892
893 </ul>
894 <ul class="typedefs itemMembers">
895
896 </ul>
897 <ul class="methods itemMembers">
898
899 <span class="subtitle">Methods</span>
900
901 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
902
903 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
904
905 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
906
907 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
908
909 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
910
911 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
912
913 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
914
915 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
916
917 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
918
919 </ul>
920 <ul class="events itemMembers">
921
922 </ul>
923 </li>
924
925 <li class="item" data-name="LuCI.uci">
926 <span class="title">
927 <a href="LuCI.uci.html">LuCI.uci</a>
928
929 </span>
930 <ul class="members itemMembers">
931
932 </ul>
933 <ul class="typedefs itemMembers">
934
935 <span class="subtitle">Typedefs</span>
936
937 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
938
939 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
940
941 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
942
943 </ul>
944 <ul class="typedefs itemMembers">
945
946 </ul>
947 <ul class="methods itemMembers">
948
949 <span class="subtitle">Methods</span>
950
951 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
952
953 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
954
955 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
956
957 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
958
959 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
960
961 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
962
963 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
964
965 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
966
967 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
968
969 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
970
971 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
972
973 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
974
975 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
976
977 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
978
979 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
980
981 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
982
983 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
984
985 </ul>
986 <ul class="events itemMembers">
987
988 </ul>
989 </li>
990
991 <li class="item" data-name="LuCI.view">
992 <span class="title">
993 <a href="LuCI.view.html">LuCI.view</a>
994
995 </span>
996 <ul class="members itemMembers">
997
998 </ul>
999 <ul class="typedefs itemMembers">
1000
1001 </ul>
1002 <ul class="typedefs itemMembers">
1003
1004 </ul>
1005 <ul class="methods itemMembers">
1006
1007 <span class="subtitle">Methods</span>
1008
1009 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1010
1011 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1012
1013 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1014
1015 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1016
1017 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1018
1019 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1020
1021 </ul>
1022 <ul class="events itemMembers">
1023
1024 </ul>
1025 </li>
1026
1027 <li class="item" data-name="LuCI.XHR">
1028 <span class="title">
1029 <a href="LuCI.XHR.html">LuCI.XHR</a>
1030
1031 </span>
1032 <ul class="members itemMembers">
1033
1034 </ul>
1035 <ul class="typedefs itemMembers">
1036
1037 </ul>
1038 <ul class="typedefs itemMembers">
1039
1040 </ul>
1041 <ul class="methods itemMembers">
1042
1043 <span class="subtitle">Methods</span>
1044
1045 <li data-name="LuCI.XHR#abort"><a href="LuCI.XHR.html#abort">abort</a></li>
1046
1047 <li data-name="LuCI.XHR#busy"><a href="LuCI.XHR.html#busy">busy</a></li>
1048
1049 <li data-name="LuCI.XHR#cancel"><a href="LuCI.XHR.html#cancel">cancel</a></li>
1050
1051 <li data-name="LuCI.XHR#get"><a href="LuCI.XHR.html#get">get</a></li>
1052
1053 <li data-name="LuCI.XHR#post"><a href="LuCI.XHR.html#post">post</a></li>
1054
1055 <li data-name="LuCI.XHR#send_form"><a href="LuCI.XHR.html#send_form">send_form</a></li>
1056
1057 </ul>
1058 <ul class="events itemMembers">
1059
1060 </ul>
1061 </li>
1062
1063 </ul>
1064 </div>
1065 <div class="main">
1066 <h1 class="page-title" data-filename="LuCI.view.html">Class: view</h1>
1067
1068
1069
1070
1071 <section>
1072
1073 <header>
1074 <h2>
1075 <span class="ancestors"><a href="LuCI.html">LuCI</a>.</span>
1076
1077 view
1078 </h2>
1079
1080 <div class="class-description"><p>The <code>view</code> class forms the basis of views and provides a standard
1081 set of methods to inherit from.</p></div>
1082
1083 </header>
1084
1085 <article>
1086 <div class="container-overview">
1087
1088
1089
1090
1091 <dt>
1092 <div class="nameContainer">
1093 <h4 class="name" id="view">
1094
1095 new LuCI.view<span class="signature">()</span>
1096 </h4>
1097
1098
1099 <div class="tag-source">
1100 luci.js, line 2687
1101 </div>
1102
1103 </div>
1104
1105
1106 </dt>
1107 <dd>
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118 <dl class="details">
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140 </dl>
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154 </dd>
1155
1156
1157 </div>
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172 <h3 class="subsection-title">Methods</h3>
1173
1174 <dl>
1175
1176 <dt>
1177 <div class="nameContainer">
1178 <h4 class="name" id="addFooter">
1179
1180 addFooter<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{DocumentFragment}</span>
1181 </h4>
1182
1183
1184 <div class="tag-source">
1185 luci.js, line 2905
1186 </div>
1187
1188 </div>
1189
1190
1191 </dt>
1192 <dd>
1193
1194
1195 <div class="description">
1196 <p>Renders a standard page action footer if any of the
1197 <code>handleSave()</code>, <code>handleSaveApply()</code> or <code>handleReset()</code>
1198 functions are defined.</p>
1199 <p>The default implementation should be sufficient for most
1200 views - it will render a standard page footer with action
1201 buttons labeled <code>Save</code>, <code>Save &amp; Apply</code> and <code>Reset</code>
1202 triggering the <code>handleSave()</code>, <code>handleSaveApply()</code> and
1203 <code>handleReset()</code> functions respectively.</p>
1204 <p>When any of these <code>handle*()</code> functions is overwritten
1205 with <code>null</code> by a view extending this class, the
1206 corresponding button will not be rendered.</p>
1207 </div>
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217 <dl class="details">
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239 </dl>
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251 <h5>Returns:</h5>
1252
1253
1254
1255 <table class="params">
1256 <thead>
1257 <tr>
1258
1259 <th>Type</th>
1260 <th class="last">Description</th>
1261 </tr>
1262 </thead>
1263 <tbody>
1264
1265 <tr>
1266
1267 <td class="type">
1268
1269 DocumentFragment
1270
1271
1272 </td>
1273 <td class="description last">Returns a <code>DocumentFragment</code> containing the footer bar
1274 with buttons for each corresponding <code>handle*()</code> action
1275 or an empty <code>DocumentFragment</code> if all three <code>handle*()</code>
1276 methods are overwritten with <code>null</code>.</td>
1277 </tr>
1278
1279 </tbody>
1280 </table>
1281
1282
1283
1284
1285 </dd>
1286
1287
1288
1289 <dt>
1290 <div class="nameContainer">
1291 <h4 class="name" id="handleReset">
1292
1293 handleReset<span class="signature">(ev)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*|Promise.&lt;*>}</span>
1294 </h4>
1295
1296
1297 <div class="tag-source">
1298 luci.js, line 2871
1299 </div>
1300
1301 </div>
1302
1303
1304 </dt>
1305 <dd>
1306
1307
1308 <div class="description">
1309 <p>The handleReset function is invoked when the user clicks
1310 the <code>Reset</code> button in the page action footer.</p>
1311 <p>The default implementation should be sufficient for most
1312 views using <code>form.Map()</code> based forms - it
1313 will iterate all forms present in the view and invoke
1314 the <code>Map.reset()</code> method on each form.</p>
1315 <p>Views not using <code>Map</code> instances or requiring other special
1316 logic should overwrite <code>handleReset()</code> with a custom
1317 implementation.</p>
1318 <p>To disable the <code>Reset</code> page footer button, views extending
1319 this base class should overwrite the <code>handleReset</code> function
1320 with <code>null</code>.</p>
1321 <p>The invocation of this function is wrapped by
1322 <code>Promise.resolve()</code> so it may return Promises if needed.</p>
1323 </div>
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333 <table class="params">
1334 <thead>
1335 <tr>
1336
1337 <th>Name</th>
1338
1339
1340 <th>Type</th>
1341
1342
1343
1344 <th class="last">Description</th>
1345 </tr>
1346 </thead>
1347
1348 <tbody>
1349
1350
1351 <tr>
1352
1353 <td class="name"><code>ev</code></td>
1354
1355
1356 <td class="type">
1357
1358
1359 <span class="param-type">Event</span>
1360
1361
1362
1363 </td>
1364
1365
1366
1367 <td class="description last">
1368
1369 <p>The DOM event that triggered the function.</p></td>
1370 </tr>
1371
1372
1373 </tbody>
1374 </table>
1375
1376
1377
1378 <dl class="details">
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400 </dl>
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412 <h5>Returns:</h5>
1413
1414
1415
1416 <table class="params">
1417 <thead>
1418 <tr>
1419
1420 <th>Type</th>
1421 <th class="last">Description</th>
1422 </tr>
1423 </thead>
1424 <tbody>
1425
1426 <tr>
1427
1428 <td class="type">
1429
1430 *
1431 |
1432
1433 Promise.&lt;*>
1434
1435
1436 </td>
1437 <td class="description last">Any return values of this function are discarded, but
1438 passed through <code>Promise.resolve()</code> to ensure that any
1439 returned promise runs to completion before the button
1440 is reenabled.</td>
1441 </tr>
1442
1443 </tbody>
1444 </table>
1445
1446
1447
1448
1449 </dd>
1450
1451
1452
1453 <dt>
1454 <div class="nameContainer">
1455 <h4 class="name" id="handleSave">
1456
1457 handleSave<span class="signature">(ev)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*|Promise.&lt;*>}</span>
1458 </h4>
1459
1460
1461 <div class="tag-source">
1462 luci.js, line 2790
1463 </div>
1464
1465 </div>
1466
1467
1468 </dt>
1469 <dd>
1470
1471
1472 <div class="description">
1473 <p>The handleSave function is invoked when the user clicks
1474 the <code>Save</code> button in the page action footer.</p>
1475 <p>The default implementation should be sufficient for most
1476 views using <code>form.Map()</code> based forms - it
1477 will iterate all forms present in the view and invoke
1478 the <code>Map.save()</code> method on each form.</p>
1479 <p>Views not using <code>Map</code> instances or requiring other special
1480 logic should overwrite <code>handleSave()</code> with a custom
1481 implementation.</p>
1482 <p>To disable the <code>Save</code> page footer button, views extending
1483 this base class should overwrite the <code>handleSave</code> function
1484 with <code>null</code>.</p>
1485 <p>The invocation of this function is wrapped by
1486 <code>Promise.resolve()</code> so it may return Promises if needed.</p>
1487 </div>
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497 <table class="params">
1498 <thead>
1499 <tr>
1500
1501 <th>Name</th>
1502
1503
1504 <th>Type</th>
1505
1506
1507
1508 <th class="last">Description</th>
1509 </tr>
1510 </thead>
1511
1512 <tbody>
1513
1514
1515 <tr>
1516
1517 <td class="name"><code>ev</code></td>
1518
1519
1520 <td class="type">
1521
1522
1523 <span class="param-type">Event</span>
1524
1525
1526
1527 </td>
1528
1529
1530
1531 <td class="description last">
1532
1533 <p>The DOM event that triggered the function.</p></td>
1534 </tr>
1535
1536
1537 </tbody>
1538 </table>
1539
1540
1541
1542 <dl class="details">
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564 </dl>
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576 <h5>Returns:</h5>
1577
1578
1579
1580 <table class="params">
1581 <thead>
1582 <tr>
1583
1584 <th>Type</th>
1585 <th class="last">Description</th>
1586 </tr>
1587 </thead>
1588 <tbody>
1589
1590 <tr>
1591
1592 <td class="type">
1593
1594 *
1595 |
1596
1597 Promise.&lt;*>
1598
1599
1600 </td>
1601 <td class="description last">Any return values of this function are discarded, but
1602 passed through <code>Promise.resolve()</code> to ensure that any
1603 returned promise runs to completion before the button
1604 is reenabled.</td>
1605 </tr>
1606
1607 </tbody>
1608 </table>
1609
1610
1611
1612
1613 </dd>
1614
1615
1616
1617 <dt>
1618 <div class="nameContainer">
1619 <h4 class="name" id="handleSaveApply">
1620
1621 handleSaveApply<span class="signature">(ev)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*|Promise.&lt;*>}</span>
1622 </h4>
1623
1624
1625 <div class="tag-source">
1626 luci.js, line 2834
1627 </div>
1628
1629 </div>
1630
1631
1632 </dt>
1633 <dd>
1634
1635
1636 <div class="description">
1637 <p>The handleSaveApply function is invoked when the user clicks
1638 the <code>Save &amp; Apply</code> button in the page action footer.</p>
1639 <p>The default implementation should be sufficient for most
1640 views using <code>form.Map()</code> based forms - it
1641 will first invoke
1642 <code>view.handleSave()</code> and then
1643 call <code>ui.changes.apply()</code> to start the
1644 modal config apply and page reload flow.</p>
1645 <p>Views not using <code>Map</code> instances or requiring other special
1646 logic should overwrite <code>handleSaveApply()</code> with a custom
1647 implementation.</p>
1648 <p>To disable the <code>Save &amp; Apply</code> page footer button, views
1649 extending this base class should overwrite the
1650 <code>handleSaveApply</code> function with <code>null</code>.</p>
1651 <p>The invocation of this function is wrapped by
1652 <code>Promise.resolve()</code> so it may return Promises if needed.</p>
1653 </div>
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663 <table class="params">
1664 <thead>
1665 <tr>
1666
1667 <th>Name</th>
1668
1669
1670 <th>Type</th>
1671
1672
1673
1674 <th class="last">Description</th>
1675 </tr>
1676 </thead>
1677
1678 <tbody>
1679
1680
1681 <tr>
1682
1683 <td class="name"><code>ev</code></td>
1684
1685
1686 <td class="type">
1687
1688
1689 <span class="param-type">Event</span>
1690
1691
1692
1693 </td>
1694
1695
1696
1697 <td class="description last">
1698
1699 <p>The DOM event that triggered the function.</p></td>
1700 </tr>
1701
1702
1703 </tbody>
1704 </table>
1705
1706
1707
1708 <dl class="details">
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730 </dl>
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742 <h5>Returns:</h5>
1743
1744
1745
1746 <table class="params">
1747 <thead>
1748 <tr>
1749
1750 <th>Type</th>
1751 <th class="last">Description</th>
1752 </tr>
1753 </thead>
1754 <tbody>
1755
1756 <tr>
1757
1758 <td class="type">
1759
1760 *
1761 |
1762
1763 Promise.&lt;*>
1764
1765
1766 </td>
1767 <td class="description last">Any return values of this function are discarded, but
1768 passed through <code>Promise.resolve()</code> to ensure that any
1769 returned promise runs to completion before the button
1770 is reenabled.</td>
1771 </tr>
1772
1773 </tbody>
1774 </table>
1775
1776
1777
1778
1779 </dd>
1780
1781
1782
1783 <dt>
1784 <div class="nameContainer">
1785 <h4 class="name" id="load">
1786
1787 <span class="type-signature ">abstract</span>load<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{*|Promise.&lt;*>}</span>
1788 </h4>
1789
1790
1791 <div class="tag-source">
1792 luci.js, line 2725
1793 </div>
1794
1795 </div>
1796
1797
1798 </dt>
1799 <dd>
1800
1801
1802 <div class="description">
1803 <p>The load function is invoked before the view is rendered.</p>
1804 <p>The invocation of this function is wrapped by
1805 <code>Promise.resolve()</code> so it may return Promises if needed.</p>
1806 <p>The return value of the function (or the resolved values
1807 of the promise returned by it) will be passed as first
1808 argument to <code>render()</code>.</p>
1809 <p>This function is supposed to be overwritten by subclasses,
1810 the default implementation does nothing.</p>
1811 </div>
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821 <dl class="details">
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843 </dl>
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855 <h5>Returns:</h5>
1856
1857
1858
1859 <table class="params">
1860 <thead>
1861 <tr>
1862
1863 <th>Type</th>
1864 <th class="last">Description</th>
1865 </tr>
1866 </thead>
1867 <tbody>
1868
1869 <tr>
1870
1871 <td class="type">
1872
1873 *
1874 |
1875
1876 Promise.&lt;*>
1877
1878
1879 </td>
1880 <td class="description last">May return any value or a Promise resolving to any value.</td>
1881 </tr>
1882
1883 </tbody>
1884 </table>
1885
1886
1887
1888
1889 </dd>
1890
1891
1892
1893 <dt>
1894 <div class="nameContainer">
1895 <h4 class="name" id="render">
1896
1897 <span class="type-signature ">abstract</span>render<span class="signature">(load_results)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Node|Promise.&lt;Node>}</span>
1898 </h4>
1899
1900
1901 <div class="tag-source">
1902 luci.js, line 2757
1903 </div>
1904
1905 </div>
1906
1907
1908 </dt>
1909 <dd>
1910
1911
1912 <div class="description">
1913 <p>The render function is invoked after the
1914 <a href="LuCI.view.html#load"><code>load()</code></a> function and responsible
1915 for setting up the view contents. It must return a DOM
1916 <code>Node</code> or <code>DocumentFragment</code> holding the contents to
1917 insert into the view area.</p>
1918 <p>The invocation of this function is wrapped by
1919 <code>Promise.resolve()</code> so it may return Promises if needed.</p>
1920 <p>The return value of the function (or the resolved values
1921 of the promise returned by it) will be inserted into the
1922 main content area using
1923 <a href="LuCI.dom.html#append"><code>dom.append()</code></a>.</p>
1924 <p>This function is supposed to be overwritten by subclasses,
1925 the default implementation does nothing.</p>
1926 </div>
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936 <table class="params">
1937 <thead>
1938 <tr>
1939
1940 <th>Name</th>
1941
1942
1943 <th>Type</th>
1944
1945
1946
1947 <th class="last">Description</th>
1948 </tr>
1949 </thead>
1950
1951 <tbody>
1952
1953
1954 <tr>
1955
1956 <td class="name"><code>load_results</code></td>
1957
1958
1959 <td class="type">
1960
1961
1962 <span class="param-type">*</span>
1963 |
1964
1965 <span class="param-type">null</span>
1966
1967
1968
1969 </td>
1970
1971
1972
1973 <td class="description last">
1974
1975 <p>This function will receive the return value of the
1976 <a href="LuCI.view.html#load"><code>view.load()</code></a> function as first
1977 argument.</p></td>
1978 </tr>
1979
1980
1981 </tbody>
1982 </table>
1983
1984
1985
1986 <dl class="details">
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008 </dl>
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020 <h5>Returns:</h5>
2021
2022
2023
2024 <table class="params">
2025 <thead>
2026 <tr>
2027
2028 <th>Type</th>
2029 <th class="last">Description</th>
2030 </tr>
2031 </thead>
2032 <tbody>
2033
2034 <tr>
2035
2036 <td class="type">
2037
2038 Node
2039 |
2040
2041 Promise.&lt;Node>
2042
2043
2044 </td>
2045 <td class="description last">Should return a DOM <code>Node</code> value or a <code>Promise</code> resolving
2046 to a <code>Node</code> value.</td>
2047 </tr>
2048
2049 </tbody>
2050 </table>
2051
2052
2053
2054
2055 </dd>
2056
2057 </dl>
2058
2059
2060
2061
2062
2063
2064
2065 </article>
2066
2067 </section>
2068
2069
2070
2071
2072
2073
2074
2075 <footer>
2076 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Nov 05 2019 10:49:52 GMT+0100 (Central European Standard Time)
2077 </footer>
2078 </div>
2079 </div>
2080 <script>prettyPrint();</script>
2081 <script src="scripts/jaguar.js"></script>
2082 </body>
2083 </html>