Mage_Core_Block_Flush Class Reference

Inheritance diagram for Mage_Core_Block_Flush:

Mage_Core_Block_Abstract Varien_Object

List of all members.

Protected Member Functions

 _toHtml ()


Detailed Description

Immediate flush block. To be used only as root

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

Definition at line 33 of file Flush.php.


Member Function Documentation

_toHtml (  )  [protected]

Override this method in descendants to produce html

Returns:
string

Reimplemented from Mage_Core_Block_Abstract.

Definition at line 36 of file Flush.php.

00037     {
00038         if (!$this->_beforeToHtml()) {
00039             return '';
00040         }
00041 
00042         ob_implicit_flush();
00043 
00044         foreach ($this->getSortedChildren() as $name) {
00045             $block = $this->getLayout()->getBlock($name);
00046             if (!$block) {
00047                 Mage::exception(Mage::helper('core')->__('Invalid block: %s', $name));
00048             }
00049             echo $block->toHtml();
00050         }
00051     }


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

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