码迷,mamicode.com
首页 > 其他好文 > 详细

Luci中cbi控件类型总结

时间:2015-06-03 17:22:10      阅读:346      评论:0      收藏:0      [点我收藏+]

标签:

转自:http://blog.chinaunix.net/uid-28413840-id-4654479.

名称 描述 继承自 模板
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)  

Luci中cbi控件类型总结

标签:

原文地址:http://www.cnblogs.com/x_wukong/p/4549441.html

(1)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!