4 * Documentation - designed to generate HTML+Docbook!?!
6 Roo.doc = Roo.doc || {};
10 * @extends Roo.bootstrap.Component
11 * Entry Element class - describes a method etc...
12 * @cfg name {String} name of method
13 * @cfg purpose {String} short description of method.
17 * @param {Object} config The config object
22 Roo.doc.Entry = function(config){
23 Roo.doc.Entry.superclass.constructor.call(this, config);
24 //this.el = Roo.get(document.body);
25 var body = Roo.get(document.body);
34 // call onRender once... and block next call...?
36 //this.onRender = function() { };
40 Roo.doc.Entry._calls = 0;
42 Roo.extend(Roo.doc.Entry, Roo.bootstrap.Component, {
48 getAutoCreate : function(){
71 addxtype : function (tree, cntr)
73 return this.addxtypeChild(tree,cntr);
77 onRender : function(ct, position)
80 Roo.doc.Entry._calls++;
81 if (Roo.doc.Entry._calls > 1) {
85 // call onRender once... and block next call...?
87 Roo.bootstrap.Component.prototype.onRender.call(this, ct, position);