Mage_Adminhtml_Block_Dashboard_Tab_Orders Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Dashboard_Tab_Orders:

Mage_Adminhtml_Block_Dashboard_Graph Mage_Adminhtml_Block_Dashboard_Abstract 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

 _prepareData ()


Detailed Description

Definition at line 35 of file Orders.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 Mage_Adminhtml_Block_Dashboard_Graph.

Definition at line 37 of file Orders.php.

00038     {
00039         $this->setHtmlId('orders');
00040         parent::__construct();
00041     }


Member Function Documentation

_prepareData (  )  [protected]

Reimplemented from Mage_Adminhtml_Block_Dashboard_Abstract.

Definition at line 43 of file Orders.php.

00044     {
00045         $this->setDataHelperName('adminhtml/dashboard_order');
00046         $this->getDataHelper()->setParam('store', $this->getRequest()->getParam('store'));
00047         $this->getDataHelper()->setParam('website', $this->getRequest()->getParam('website'));
00048         $this->getDataHelper()->setParam('group', $this->getRequest()->getParam('group'));
00049         $this->getDataHelper()->setParam(
00050             'period',
00051             $this->getRequest()->getParam('period')?$this->getRequest()->getParam('period'):'24h'
00052             );
00053 
00054         $this->setDataRows('quantity');
00055         $this->_axisMaps = array(
00056             'x' => 'range',
00057             'y' => 'quantity');
00058 
00059         parent::_prepareData();
00060     }


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