* register a Masonry Brick
* @param {Roo.bootstrap.MasonryBrick} the masonry brick to add
*/
+
register : function(brick)
{
this.bricks.push(brick);
}
});
+Roo.apply(Roo.bootstrap.LayoutMasonry, {
+
+ groups: {},
+ /**
+ * register a Layout of Masonry
+ * @param {Roo.bootstrap.LayoutMasonry} the layout to add
+ */
+
+ register : function(layout)
+ {
+ this.groups[layout.id] = layout;
+ },
+ /**
+ * fetch a Navigation Group based on the navigation ID
+ * @param {string} the navgroup to add
+ * @returns {Roo.bootstrap.NavGroup} the navgroup
+ */
+
+ get: function(layout_id) {
+ if (typeof(this.groups[layout_id]) == 'undefined') {
+ return false;
+ //this.register(new Roo.bootstrap.NavGroup({ navId : navId }));
+ }
+ return this.groups[layout_id] ;
+ }
+
+
+
+});
+
\ No newline at end of file