Mage_Adminhtml_Block_Sales Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 _beforeToHtml ()

Detailed Description

Definition at line 34 of file Sales.php.

Constructor & Destructor Documentation

__construct (  ) 


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     }

Member Function Documentation

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

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

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