Public Member Functions | |
__construct () | |
_beforeToHtml () |
Definition at line 34 of file Sales.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 Varien_Object.
Definition at line 36 of file Sales.php.
00037 { 00038 parent::__construct(); 00039 $this->setTemplate('sales/index.phtml'); 00040 }
_beforeToHtml | ( | ) |
Before rendering html, but after trying to load cache
Reimplemented from Mage_Core_Block_Abstract.
Definition at line 42 of file Sales.php.
00043 { 00044 $this->assign('createUrl', $this->getUrl('*/sales/new')); 00045 $this->setChild('grid', $this->getLayout()->createBlock('adminhtml/sales_grid', 'sales.grid')); 00046 return parent::_beforeToHtml(); 00047 }