function initMenu($icon, $pluginId = null)
	{
		$id = explode('\\', $pluginId);
		
		$this->menu[$pluginId] = array('name' => end($id), 'icon' => $icon, 'buttons' => array());
		
		if($this->loaded)
			$this->refreshMenubar();
	}
function initMenu($icon, $pluginId = null)
	{
		$id = explode('\\', $pluginId);
		
		$this->menu[$pluginId] = array('name' => end($id), 'icon' => $icon, 'buttons' => array());
		
		if($this->loaded)
			$this->refreshMenubar();
	}
function initMenu ( $ icon , $ pluginId = null ) { $ id = explode ( '\\' , $ pluginId ) ; $ this -> menu [ $ pluginId ] = array ( 'name' => end ( $ id ) , 'icon' => $ icon , 'buttons' => array ( ) ) ; if ( $ this -> loaded ) $ this -> refreshMenubar ( ) ; }
initializes the menu for a specific plugin
initializes the menu for a specific plugin