Mage_Adminhtml_Block_Dashboard_Abstract Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Dashboard_Abstract:

Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object Mage_Adminhtml_Block_Dashboard_Bar Mage_Adminhtml_Block_Dashboard_Graph Mage_Adminhtml_Block_Dashboard_Sales Mage_Adminhtml_Block_Dashboard_Totals Mage_Adminhtml_Block_Dashboard_Tab_Amounts Mage_Adminhtml_Block_Dashboard_Tab_Orders

List of all members.

Public Member Functions

 __construct ($attributes=array())
 getCollection ()
 getCount ()
 getDataHelper ()
 getDataHelperName ()
 setDataHelperName ($dataHelperName)

Protected Member Functions

 _prepareData ()
 _prepareLayout ()

Protected Attributes

 $_dataHelperName = null


Detailed Description

Definition at line 35 of file Abstract.php.


Constructor & Destructor Documentation

__construct ( attributes = array()  ) 

Definition at line 39 of file Abstract.php.

00040     {
00041         parent::__construct($attributes);
00042     }


Member Function Documentation

_prepareData (  )  [protected]

Reimplemented in Mage_Adminhtml_Block_Dashboard_Tab_Amounts, and Mage_Adminhtml_Block_Dashboard_Tab_Orders.

Definition at line 70 of file Abstract.php.

00071     {
00072         return $this;
00073     }

_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.

Reimplemented in Mage_Adminhtml_Block_Dashboard_Sales, and Mage_Adminhtml_Block_Dashboard_Totals.

Definition at line 75 of file Abstract.php.

00076     {
00077         $this->_prepareData();
00078         return parent::_prepareLayout();
00079     }

getCollection (  ) 

Definition at line 44 of file Abstract.php.

00045     {
00046            return $this->getDataHelper()->getCollection();
00047     }

getCount (  ) 

Definition at line 49 of file Abstract.php.

00050     {
00051            return $this->getDataHelper()->getCount();
00052     }

getDataHelper (  ) 

Definition at line 54 of file Abstract.php.

00055     {
00056            return $this->helper($this->getDataHelperName());
00057     }

getDataHelperName (  ) 

Definition at line 59 of file Abstract.php.

00060     {
00061            return $this->_dataHelperName;
00062     }

setDataHelperName ( dataHelperName  ) 

Definition at line 64 of file Abstract.php.

00065     {
00066            $this->_dataHelperName = $dataHelperName;
00067            return $this;
00068     }


Member Data Documentation

$_dataHelperName = null [protected]

Definition at line 37 of file Abstract.php.


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

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