class My_Module_Block_Adminhtml_Sales_Tabs extends Mage_Adminhtml_Block_Widget_Tabs { public function __construct() { parent::__construct(); $this->setId('sales_tabs'); $this->setDestElementId('edit_form'); $this->setTitle('Sales Reports'); } protected function _prepareLayout() { $this->addTab('report1', array( 'label' => 'Report 1', 'content' => $this->getLayout()->createBlock('my_module/adminhtml_sales_report1')->toHtml(), )); $this->addTab('report2', array( 'label' => 'Report 2', 'content' => $this->getLayout()->createBlock('my_module/adminhtml_sales_report2')->toHtml(), )); return parent::_prepareLayout(); } }This code creates a new block that extends the Mage_Adminhtml_Block_Widget_Tabs class. In the constructor, it sets the ID of the tab, the ID of the element that the tab's content should be loaded into, and the title of the tab. In the _prepareLayout() method, it adds two tabs, each with a label and a reference to a separate block that will generate the content for that tab. This example demonstrates how Mage_Adminhtml_Block_Widget_Tabs can be used to create a custom tabbed interface for the Magento admin dashboard. It is part of the Magento package library, which provides a wide range of classes, interfaces, and functions for developing web applications using PHP.