code: function (p_sType, p_aArgs) {
  
      this.cfg.subscribeToConfigEvent(_VISIBLE, this._onVisibleChange);
  
      var bRootMenu = !this.parent,
          bLazyLoad = this.lazyLoad;
  
  
      /*
          Automatically initialize a menu's subtree if:
  
          1) This is the root menu and lazyload is off
          
          2) This is the root menu, lazyload is on, but the menu is 
             already visible
  
          3) This menu is a submenu and lazyload is off
      */
  
  
  
      if (((bRootMenu && !bLazyLoad) || 
          (bRootMenu && (this.cfg.getProperty(_VISIBLE) || 
          this.cfg.getProperty(_POSITION) == _STATIC)) || 
          (!bRootMenu && !bLazyLoad)) && this.getItemGroups().length === 0) {
  
          if (this.srcElement) {
  
              this._initSubTree();
          
          }
  
  
          if (this.itemData) {
  
              this.addItems(this.itemData);
  
          }
      
      }
      else if (bLazyLoad) {
  
          this.cfg.fireQueue();
      
      }
  
  }
docs: Private methods 
  @method _onInit
  @description "init" event handler for the menu.
  @private
  @param {String} p_sType String representing the name of the event that
  was fired.
  @param {Array} p_aArgs Array of arguments sent when the event was fired.