7 * @class Roo.doc.Synopsis
8 * @extends Roo.bootstrap.Component
9 * Synopsis Element class
10 * @cfg {String} returntype return value
11 * @cfg {String} returndesc description of return value. (used in the return section if set..)
12 * @cfg {String} name title really..
13 * @cfg {String} stype (function|constant)
14 * @cfg {String} memberof class name
15 * @cfg {bool} is_static is a static member
18 * Create a new Synopsis
19 * @param {Object} config The config object
22 Roo.doc.Synopsis = function(config){
23 Roo.doc.Synopsis.superclass.constructor.call(this, config);
26 Roo.extend(Roo.doc.Synopsis, Roo.bootstrap.Component, {
34 is_constructor : false,
36 getAutoCreate : function(){
38 var syn = this.items[0]; // hopefully...
42 var nmp = (this.is_static ? '' : '$') +
44 (this.is_static ? '::' : '->');
47 // this should probably do the params....?? then we need to disable the rendering..
55 cls : 'refsynopsisdiv',
64 cls : 'funcprototype',
66 this.returntype + ' ' + nmp,
92 getChildContainer : function(build_call)
96 return this.el.select('.roo-params',true).first();