Mage_Adminhtml_Block_Dashboard_Diagrams Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Dashboard_Diagrams:

Mage_Adminhtml_Block_Widget_Tabs Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()

Protected Member Functions

 _prepareLayout ()


Detailed Description

Definition at line 35 of file Diagrams.php.


Constructor & Destructor Documentation

__construct (  ) 

Constructor

By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes

Reimplemented from Varien_Object.

Definition at line 37 of file Diagrams.php.

00038     {
00039         parent::__construct();
00040         $this->setId('diagram_tab');
00041         $this->setDestElementId('diagram_tab_content');
00042         $this->setTemplate('widget/tabshoriz.phtml');
00043     }


Member Function Documentation

_prepareLayout (  )  [protected]

Preparing global layout

You can redefine this method in child classes for changin layout

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 45 of file Diagrams.php.

00046     {
00047         $this->addTab('orders', array(
00048             'label'     => $this->__('Orders'),
00049             'content'   => $this->getLayout()->createBlock('adminhtml/dashboard_tab_orders')->toHtml(),
00050             'active'    => true
00051         ));
00052 
00053         $this->addTab('amounts', array(
00054             'label'     => $this->__('Amounts'),
00055             'content'   => $this->getLayout()->createBlock('adminhtml/dashboard_tab_amounts')->toHtml(),
00056         ));
00057         return parent::_prepareLayout();
00058     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:22:49 2009 for Magento by  doxygen 1.5.8