Mage_Catalog_Block_Product_View_Additional Class Reference

Inheritance diagram for Mage_Catalog_Block_Product_View_Additional:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getChildHtmlList ()

Protected Attributes

 $_list


Detailed Description

Definition at line 35 of file Additional.php.


Constructor & Destructor Documentation

__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     }


Member Function Documentation

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     }


Member Data Documentation

$_list [protected]

Definition at line 38 of file Additional.php.


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

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