Mage_Adminhtml_Block_Sales_Order_View_Items Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Sales_Order_View_Items:

Mage_Adminhtml_Block_Sales_Items_Abstract Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 getItemsCollection ()

Protected Member Functions

 _beforeToHtml ()


Detailed Description

Definition at line 34 of file Items.php.


Member Function Documentation

_beforeToHtml (  )  [protected]

Retrieve required options from parent

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 39 of file Items.php.

00040     {
00041         if (!$this->getParentBlock()) {
00042             Mage::throwException(Mage::helper('adminhtml')->__('Invalid parrent block for this block'));
00043         }
00044         $this->setOrder($this->getParentBlock()->getOrder());
00045         parent::_beforeToHtml();
00046     }

getItemsCollection (  ) 

Retrieve order items collection

Returns:
unknown

Definition at line 53 of file Items.php.

00054     {
00055         return $this->getOrder()->getItemsCollection();
00056     }


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

Generated on Sat Jul 4 17:23:01 2009 for Magento by  doxygen 1.5.8