Mage_Catalog_Block_Product_View_Tabs Class Reference

Inheritance diagram for Mage_Catalog_Block_Product_View_Tabs:

Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 addTab ($alias, $title, $block, $template)
 getTabs ()

Protected Attributes

 $_tabs = array()


Detailed Description

Definition at line 35 of file Tabs.php.


Member Function Documentation

addTab ( alias,
title,
block,
template 
)

Add tab to the container

Parameters:
string $title
string $block
string $template

Definition at line 46 of file Tabs.php.

00047     {
00048 
00049         if (!$title || !$block || !$template) {
00050             return false;
00051         }
00052 
00053         $this->_tabs[] = array(
00054             'alias' => $alias,
00055             'title' => $title
00056         );
00057 
00058         $this->setChild($alias,
00059             $this->getLayout()->createBlock($block, $alias)
00060                 ->setTemplate($template)
00061             );
00062     }

getTabs (  ) 

Definition at line 64 of file Tabs.php.

00065     {
00066         return $this->_tabs;
00067     }


Member Data Documentation

$_tabs = array() [protected]

Definition at line 37 of file Tabs.php.


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

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