Public Member Functions | |
__construct () | |
getChildHtmlList () | |
Protected Attributes | |
$_list |
Definition at line 35 of file Additional.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 40 of file Additional.php.
00041 { 00042 parent::__construct(); 00043 $this->setTemplate('catalog/product/view/additional.phtml'); 00044 }
getChildHtmlList | ( | ) |
Definition at line 46 of file Additional.php.
00047 { 00048 if (is_null($this->_list)) { 00049 $this->_list = array(); 00050 foreach ($this->getSortedChildren() as $name) { 00051 $block = $this->getLayout()->getBlock($name); 00052 if (!$block) { 00053 Mage::exception(Mage::helper('catalog')->__('Invalid block: %s', $name)); 00054 } 00055 $this->_list[] = $block->toHtml(); 00056 } 00057 } 00058 return $this->_list; 00059 }
$_list [protected] |
Definition at line 38 of file Additional.php.