Mage_Sales_Block_Order_Item_Renderer_Grouped Class Reference

Inheritance diagram for Mage_Sales_Block_Order_Item_Renderer_Grouped:

Mage_Sales_Block_Order_Item_Renderer_Default Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _toHtml ()


Detailed Description

Definition at line 34 of file Grouped.php.


Member Function Documentation

_toHtml (  )  [protected]

Prepare item html

This method uses renderer for real product type

Returns:
string

Reimplemented from Mage_Core_Block_Template.

Definition at line 43 of file Grouped.php.

00044     {
00045         if ($this->getItem()->getOrderItem()) {
00046             $item = $this->getItem()->getOrderItem();
00047         } else {
00048             $item = $this->getItem();
00049         }
00050         if ($productType = $item->getRealProductType()) {
00051             $renderer = $this->getRenderedBlock()->getItemRenderer($productType);
00052             $renderer->setItem($this->getItem());
00053             return $renderer->toHtml();
00054         }
00055         return parent::_toHtml();
00056     }


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

Generated on Sat Jul 4 17:24:40 2009 for Magento by  doxygen 1.5.8