Public Member Functions | |
__construct () | |
Protected Member Functions | |
_prepareData () |
Definition at line 35 of file Orders.php.
__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 }
_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 }