7 * @class Roo.doc.NavCategory
8 * @extends Roo.bootstrap.Component
9 * Navigation Category class
13 * Represent's an category on the left menu.
14 * - phpdoc @category elements map the pages to the categories
15 * this should be on the left side of the menu, when the
16 * contents are loaded, then it can expand this out, and add links
17 * for each of the methods.
22 * Create a new Navigation Category
23 * @param {Object} config The config object
26 Roo.doc.NavCategory = function(config){
27 Roo.doc.Para.superclass.constructor.call(this, config);
28 Roo.doc.NavCategory.registry[this.name] = this;
30 Roo.doc.NavCategory.registry = {};
31 Roo.extend(Roo.doc.NavCategory, Roo.bootstrap.Component, {
35 getAutoCreate : function(){
37 //?? this is the synopsis type....
39 // this is not very fancy...
47 cls: 'roo-nav-category',
48 href : '#' + this.name,
52 cls : 'container roo-child-ctr'
59 getChildContainer : function()
61 return this.el.select('.roo-child-ctr',true).first();