分类: 其他UNIX
2015-06-01 13:37:04
原文地址:Luci中cbi控件类型总结 作者:yuidui
名称 | 描述 | 继承自 | 模板 |
NamedSection | A fixed configuration section defined by its name | NamedSection = class(AbstractSection) | cbi/nsection |
TypedSection | A (set of) configuration section(s) defined by the type | TypedSection = class(AbstractSection) | cbi/tsection |
Node | Node pseudo abstract class | Node = class() | cbi/node |
Template | A simple template element | Template = class(Node) |
|
Map | A map describing a configuration file | Map = class(Node) | cbi/map |
Compound | Container | Compound = class(Node) | cbi/compound |
Delegator | Node controller | Delegator = class(Node) | cbi/delegator |
SimpleForm | A Simple non-UCI form | SimpleForm = class(Node) | cbi/simpleform |
Form |
|
Form = class(SimpleForm) |
|
AbstractSection |
|
AbstractSection = class(Node) |
|
SimpleSection |
|
SimpleSection = class(AbstractSection) | cbi/nullsection |
Table |
|
Table = class(AbstractSection) | cbi/tblsection |
AbstractValue | An abstract Value Type | AbstractValue = class(Node) |
|
Value | A one-line value | Value = class(AbstractValue) | cbi/value |
DummyValue | This does nothing except being there | DummyValue = class(AbstractValue) | cbi/dvalue |
Flag | A flag being enabled or disabled | Flag = class(AbstractValue) | cbi/fvalue |
ListValue | A one-line value predefined in a list | ListValue = class(AbstractValue) | cbi/lvalue |
MultiValue | Multiple delimited values | MultiValue = class(AbstractValue) | cbi/mvalue |
StaticList |
|
StaticList = class(MultiValue) |
|
DynamicList |
|
DynamicList = class(AbstractValue) | cbi/dynlist |
TextValue | A multi-line value | TextValue = class(AbstractValue) | cbi/tvalue |
Button |
|
Button = class(AbstractValue) | cbi/button |
FileUpload |
|
FileUpload = class(AbstractValue) | cbi/upload |
FileBrowser |
|
FileBrowser = class(AbstractValue) | cbi/browser |
Page | A simple node | Page = class(Node) |
|