var cfg ={
tag: 'span',
cn : [
- is_optional ? '[' : '',
+ this.is_optional ? '[' : '',
this.type,
' ',
this.name,
getAutoCreate : function(){
+
+
+
var cfg ={
cls : 'refsection',
{
tag: 'h1',
cls : 'title',
- html : this.stype.charAt(0).toUpperCase() + this.stype.slice(1) //ucfirst
+ html : Roo.doc.Section.map[this.stype]
}
]
};
});
-
- /*
+Roo.doc.Section.map = {
+ 'desc' : 'Description',
+ 'parameter' : 'Parameters',
+ 'return' : 'Return Value',
+ 'note' : 'Notes',
+ 'example' : 'Examples'
+}
+/*
* - LGPL
*
*/