Projecte

General

Perfil

Lua model » Historial » Versió 2

Pau Escrich, 29-05-2012 13:15

1 1 Pau Escrich
h1. Lua model
2
3
h2. model
4 2 Pau Escrich
5 1 Pau Escrich
- get(section,option)
6
- add(section,option,value=nil)
7
- del(section,option)
8
- set(section,option,value)
9
10
- get_type(type,index=nil,option=nil)
11
  -> table[1..n][1..z]
12
  -> table[1..n]
13
  -> value
14
15
- get_indexes(type)
16
  -> table[1..n]
17
18
- set_type(type,index=nil,option=nil,value)
19
20
- raw() -> ucicursor
21
22
23
h2. network
24
25
26
h2. wifi
27
28
29
h2. util
30
31
32
h2. Links
33
34
http://wiki.openwrt.org/doc/techref/uci
35
http://luci.subsignal.org/api/luci
36
37
h2. debug