//?? this is the synopsis type....
+ var desc = Roo.Markdown.toHtml(this.desc);
if (this.parent().stype == 'parameter') {
tag: 'code',
html : this.type + ' ' + this.name
},
- this.desc
+ desc
]
}
]
tag: 'code',
html : this.type
},
- this.desc
+ desc
]
};
this.is_optional ? '[' : '',
this.type,
' ',
- this.name,
+ {
+ tag : 'b',
+ html : this.name
+ },
this.defaultvalue == '' ? '' : ' = ',
this.defaultvalue,
+ this.is_optional ? ']' : '',
',' // not really.. but let's do it anyway...
]
};
return cfg;
+ },
+ getAutoCreateParamSection : function()
+ {
+ var desc = Roo.Markdown.toHtml(this.desc);
+
+
+ return {
+ tag : 'li',
+ cn : [
+ {
+ tag : 'p',
+ cls: 'para',
+ cn : [
+ {
+ tag: 'code',
+ html : this.type + ' ' + this.name
+ },
+ desc
+ ]
+ }
+ ]
+ };
+
+
}
+