Protected Member Functions | |
_toHtml () |
Definition at line 35 of file Load.php.
_toHtml | ( | ) | [protected] |
Render block HTML
Reimplemented from Mage_Core_Block_Template.
Definition at line 37 of file Load.php.
00038 { 00039 $result = array(); 00040 foreach ($this->getSortedChildren() as $name) { 00041 if (!$block = $this->getChild($name)) { 00042 $result[$name] = Mage::helper('sales')->__('Invalid block: %s', $name); 00043 } else { 00044 $result[$name] = $block->toHtml(); 00045 } 00046 } 00047 return Zend_Json::encode($result); 00048 }