Mage_Core_Block_Text_List Class Reference

Inheritance diagram for Mage_Core_Block_Text_List:

Mage_Core_Block_Text Mage_Core_Block_Abstract Varien_Object Mage_Adminhtml_Block_Text_List Mage_Adminhtml_Block_Poll_Edit_Tab_Answers Mage_Adminhtml_Block_Sales_Order_Creditmemo_View_Comments Mage_Adminhtml_Block_Sales_Order_Invoice_View_Comments Mage_Adminhtml_Block_Sales_Order_Shipment_View_Comments

List of all members.

Protected Member Functions

 _toHtml ()


Detailed Description

Base html block

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 33 of file List.php.


Member Function Documentation

_toHtml (  )  [protected]

Override this method in descendants to produce html

Returns:
string

Reimplemented from Mage_Core_Block_Text.

Definition at line 35 of file List.php.

00036     {
00037         $this->setText('');
00038         foreach ($this->getSortedChildren() as $name) {
00039             $block = $this->getLayout()->getBlock($name);
00040             if (!$block) {
00041                 Mage::throwException(Mage::helper('core')->__('Invalid block: %s', $name));
00042             }
00043             $this->addText($block->toHtml());
00044         }
00045         return parent::_toHtml();
00046     }


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

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